// // sub_1008CD2E0 from 0x1008cd2e0 to 0x1008cd341 (97 bytes) // // 1 xrefs: // > DeathTrackerPopup::init @ 0x1008cafed // // 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:37:35 +0000 // __int64 __fastcall sub_1008CD2E0(__int64 a1) { __int64 v1; // rcx __int64 v2; // rax int v4; // eax if ( *(_BYTE *)(a1 + 732) == 1 ) { v1 = *(_QWORD *)(a1 + 752); v2 = *(_QWORD *)(a1 + 760); if ( v1 != v2 ) { *(_BYTE *)(a1 + 732) = 0; *(_DWORD *)(a1 + 736) = ((unsigned __int64)(v2 - v1) >> 6) - 1; return sub_1008CDF10(a1); } } else { v4 = *(_DWORD *)(a1 + 736); if ( v4 > 0 ) { *(_DWORD *)(a1 + 736) = v4 - 1; return sub_1008CDF10(a1); } *(_BYTE *)(a1 + 732) = 1; } return sub_1008CDF10(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source