// // GJChallengeItem::incrementCount from 0x8cd4e4 to 0x8cd568 (132 bytes) // // 2 xrefs: // > GameStatsManager::incrementChallenge @ 0x8d8628 // > @ 0x9a3a8 // // 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 12:56:37 +0000 // __int64 __fastcall GJChallengeItem::incrementCount(__int64 this, int a2) { int v2; // w20 __int64 v3; // x19 if ( !*(_BYTE *)(this + 100) ) { v2 = a2 + *(_DWORD *)(this + 60) - *(_DWORD *)(this + 64); if ( v2 >= *(_DWORD *)(this + 84) - *(_DWORD *)(this + 88) ) { v2 = *(_DWORD *)(this + 84) - *(_DWORD *)(this + 88); *(_BYTE *)(this + 100) = 1; } *(_DWORD *)(this + 68) = v2; v3 = this; this = (unsigned int)(int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *(_DWORD *)(v3 + 64) = this; *(_DWORD *)(v3 + 60) = v2 + this; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source