// // CurrencySprite::spriteTypeToStat from 0x6038bc to 0x603980 (196 bytes) // // 2 xrefs: // > CurrencyRewardLayer::init @ 0x605650 // > CurrencyRewardLayer::init @ 0x605688 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:54:42 +0000 // int *__fastcall CurrencySprite::spriteTypeToStat(int *a1, int a2) { const char *v3; // r1 size_t v4; // r2 switch ( a2 ) { case 4: *a1 = 0; a1[1] = 0; v3 = "18"; a1[2] = 0; goto LABEL_14; case 5: *a1 = 0; a1[1] = 0; v3 = "19"; a1[2] = 0; goto LABEL_14; case 6: *a1 = 0; a1[1] = 0; v3 = "17"; a1[2] = 0; goto LABEL_14; case 7: *a1 = 0; a1[1] = 0; v3 = "16"; a1[2] = 0; goto LABEL_14; case 8: *a1 = 0; a1[1] = 0; v3 = "20"; a1[2] = 0; goto LABEL_14; case 9: *a1 = 0; a1[1] = 0; v3 = "21"; a1[2] = 0; goto LABEL_14; case 10: *a1 = 0; a1[1] = 0; v3 = "23"; a1[2] = 0; goto LABEL_14; case 11: *a1 = 0; a1[1] = 0; v3 = "24"; a1[2] = 0; goto LABEL_14; case 12: *a1 = 0; a1[1] = 0; v3 = "25"; a1[2] = 0; goto LABEL_14; case 13: *a1 = 0; a1[1] = 0; v3 = "26"; a1[2] = 0; goto LABEL_14; case 14: *a1 = 0; a1[1] = 0; v3 = "27"; a1[2] = 0; goto LABEL_14; case 16: *a1 = 0; v3 = "43"; a1[1] = 0; a1[2] = 0; LABEL_14: v4 = 2; break; default: v4 = 0; *a1 = 0; v3 = (const char *)&unk_B6B226; a1[1] = 0; a1[2] = 0; break; } std::string::__init(a1, v3, v4); return a1; }