// // GJChallengeItem::incrementCount from 0x1003d1f24 to 0x1003d1f94 (112 bytes) // // 1 xrefs: // > GameStatsManager::incrementChallenge @ 0x1003cd90c // // 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:04:11 +0000 // float __fastcall GJChallengeItem::incrementCount(__int64 a1, int a2) { int v3; // w20 int v4; // w8 float result; // s0 if ( (*(_BYTE *)(a1 + 100) & 1) == 0 ) { v3 = *(_DWORD *)(a1 + 60) - *(_DWORD *)(a1 + 64) + a2; v4 = *(_DWORD *)(a1 + 84) - *(_DWORD *)(a1 + 88); if ( v3 >= v4 ) { *(_BYTE *)(a1 + 100) = 1; v3 = v4; } *(_DWORD *)(a1 + 68) = v3; result = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 60) = v3 + (int)result; *(_DWORD *)(a1 + 64) = (int)result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source