//
// CurrencySprite::rewardToSpriteType from 0x1007aa850 to 0x1007aa86b (27 bytes)
//
// 2 xrefs:
// > RewardUnlockLayer::playRewardEffect @ 0x10021d205
// > RewardUnlockLayer::playRewardEffect @ 0x10021d213
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
CurrencySpriteType __fastcall CurrencySprite::rewardToSpriteType(int a1)
{
unsigned int v1; // edi
CurrencySpriteType result; // eax
v1 = a1 - 1;
result = Icon;
if ( v1 <= 0xE )
return dword_100823778[v1];
return result;
}