//
// CurrencySprite::spriteTypeToStat from 0x4d0614 to 0x4d06a0 (140 bytes)
//
// 2 xrefs:
// > CurrencyRewardLayer::init @ 0x4d2354
// > CurrencyRewardLayer::init @ 0x4d237a
//
// 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
//
int __fastcall CurrencySprite::spriteTypeToStat(int a1, int a2)
{
char *v3; // r1
switch ( a2 )
{
case 4:
v3 = "18";
break;
case 5:
v3 = "19";
break;
case 6:
v3 = "17";
break;
case 7:
v3 = "16";
break;
case 8:
v3 = "20";
break;
case 9:
v3 = "21";
break;
case 10:
v3 = "23";
break;
case 11:
v3 = "24";
break;
case 12:
v3 = "25";
break;
case 13:
v3 = "26";
break;
case 14:
v3 = "27";
break;
case 16:
v3 = "43";
break;
default:
v3 = (char *)&unk_939830;
break;
}
sub_776584(a1, v3);
return a1;
}