// // sub_100871730 from 0x100871730 to 0x10087177b (75 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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 12:36:51 +0000 // void __fastcall sub_100871730(__int64 a1, __int64 a2) { __int64 v2; // r14 __int64 v3; // rax __int64 v4; // rax int v5; // ecx bool v6; // cc int v7; // ecx if ( (int)a2 > 0 ) { v2 = GameLevelManager::sharedState(); v3 = GJAccountManager::sharedState(a1, a2); v4 = GameLevelManager::userInfoForAccountID(v2, *(_DWORD *)(v3 + 352) - *(_DWORD *)(v3 + 356)); if ( v4 ) { v5 = *(_DWORD *)(v4 + 696); v6 = v5 <= (int)a2; v7 = v5 - a2; if ( v6 ) v7 = 0; *(_DWORD *)(v4 + 696) = v7; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source