This is the reason that you didn't buy a $20 XBox game, you brought a game with 1,700 Microsoft points.
You don't buy this skin for a game for $14, that's way too expensive! Who would pay that! However when it's on sale for 3,200 Riot points? That's a great deal!
If you wanted to strike a death blow to the micropayments industry you'd just need to force them to put the actual monetary price against each loot box/gem bundle/whatever rather than obscuring it with a made up currency that nobody can evaluate cost against.
With cash I check my wallet, and think “that’s $50, I have $300, and need to go shopping and get gas later”.
Just the act of reconciling what I have on hand defers many purchases. And deferrals stop many from happening!
That said, I’m not a caveman and have a credit card. I just don’t use it without planning or having an emergency/unplanned event.
Before I only had smaller amounts on my debit card, so if I wanted to buy stuff online I had to first move money from another account. This extra step made me more conscious of my spending and I would imagine starting to use cash would have a similar effect.
I’d love to see a well done research paper to get a sense of the expected value of cash vs credit.