// // sub_100153CFC from 0x100153cfc to 0x100153d58 (92 bytes) // // 1 xrefs: // > CharacterColorPage::onPlayerColor @ 0x100153b34 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 10:59:40 +0000 // __int64 __fastcall sub_100153CFC(__int64 a1, int a2) { __int64 v2; // x0 int v3; // w8 int v4; // w9 __int64 v5; // x0 __int64 v6; // x0 switch ( a2 ) { case 2: v6 = GameManager::sharedState(a1); v3 = *(_DWORD *)(v6 + 836); v4 = *(_DWORD *)(v6 + 840); return (unsigned int)(v3 - v4); case 1: v5 = GameManager::sharedState(a1); v3 = *(_DWORD *)(v5 + 824); v4 = *(_DWORD *)(v5 + 828); return (unsigned int)(v3 - v4); case 0: v2 = GameManager::sharedState(a1); v3 = *(_DWORD *)(v2 + 812); v4 = *(_DWORD *)(v2 + 816); return (unsigned int)(v3 - v4); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source