// // GJChallengeItem::incrementCount from 0x1000391a0 to 0x1000391f7 (87 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:19:33 +0000 // void __fastcall GJChallengeItem::incrementCount(__int64 a1, int a2) { int v2; // ebx int v3; // eax int v4; // eax if ( !*(_BYTE *)(a1 + 100) ) { v2 = a2 + *(_DWORD *)(a1 + 60) - *(_DWORD *)(a1 + 64); v3 = *(_DWORD *)(a1 + 84) - *(_DWORD *)(a1 + 88); if ( v2 >= v3 ) { *(_BYTE *)(a1 + 100) = 1; v2 = v3; } *(_DWORD *)(a1 + 68) = v2; v4 = (int)(float)((float)((float)rand() * 4.6566129e-10) * 1000.0); *(_DWORD *)(a1 + 64) = v4; *(_DWORD *)(a1 + 60) = v4 + v2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source