// // CurrencySprite::spriteTypeToStat from 0x90deb4 to 0x90e0b8 (516 bytes) // // 3 xrefs: // > CurrencyRewardLayer::init @ 0x9108ec // > CurrencyRewardLayer::init @ 0x910908 // > @ 0x2d048 // // 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 // __int64 __usercall CurrencySprite::spriteTypeToStat@(int a1@, __int64 a2@) { __int64 v2; // x8 switch ( a1 ) { case 4: sub_D153B8(a2, "18"); v2 = a2; break; case 5: sub_D153B8(a2, "19"); v2 = a2; break; case 6: sub_D153B8(a2, "17"); v2 = a2; break; case 7: sub_D153B8(a2, "16"); v2 = a2; break; case 8: sub_D153B8(a2, "20"); v2 = a2; break; case 9: sub_D153B8(a2, "21"); v2 = a2; break; case 10: sub_D153B8(a2, "23"); v2 = a2; break; case 11: sub_D153B8(a2, "24"); v2 = a2; break; case 12: sub_D153B8(a2, "25"); v2 = a2; break; case 13: sub_D153B8(a2, "26"); v2 = a2; break; case 14: sub_D153B8(a2, "27"); v2 = a2; break; case 16: sub_D153B8(a2, "43"); v2 = a2; break; default: sub_D153B8(a2, &byte_F288A0); v2 = a2; break; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source