// // sub_10024CB7C from 0x10024cb7c to 0x10024cbd4 (88 bytes) // // 2 xrefs: // > sub_10024BE00 @ 0x10024bf4c // > sub_10024CA00 @ 0x10024cb44 // // 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 11:01:29 +0000 // void __fastcall sub_10024CB7C(__int64 a1, int a2) { __int64 v3; // x20 __int64 v4; // x0 __int64 v5; // x0 int v6; // w8 bool v7; // vf int v8; // w8 if ( a2 >= 1 ) { v3 = GameLevelManager::sharedState(); v4 = GJAccountManager::sharedState(v3); v5 = GameLevelManager::userInfoForAccountID(v3, *(_DWORD *)(v4 + 352) - *(_DWORD *)(v4 + 356)); if ( v5 ) { v6 = *(_DWORD *)(v5 + 696); v7 = __OFSUB__(v6, a2); v8 = v6 - a2; if ( (v8 < 0) ^ v7 | (v8 == 0) ) v8 = 0; *(_DWORD *)(v5 + 696) = v8; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source