// // sub_1003CE798 from 0x1003ce798 to 0x1003ce7dc (68 bytes) // // 4 xrefs: // > GameStatsManager::hasCompletedLevel @ 0x1003ceaa0 // > GameStatsManager::completedLevel @ 0x1003ced04 // > sub_1003CEFD0 @ 0x1003ceff0 // > sub_1003CF0E8 @ 0x1003cf108 // // 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:10 +0000 // __int64 __fastcall sub_1003CE798(__int64 a1, __int64 a2) { int v2; // w9 int v3; // w10 bool v4; // vf int v5; // w9 __int64 v6; // x3 _BOOL8 v8; // x2 v2 = *(_DWORD *)(a2 + 920); v3 = *(_DWORD *)(a2 + 924); v4 = __OFSUB__(v2, v3); v5 = v2 - v3; if ( (v5 < 0) ^ v4 | (v5 == 0) ) v6 = 0; else v6 = 1; v8 = *(_DWORD *)(a2 + 1140) != 1 && v5 < 1; return GameStatsManager::getLevelKey( a1, (unsigned int)(*(_DWORD *)(a2 + 328) - *(_DWORD *)(a2 + 332)), v8, v6, *(unsigned __int8 *)(a2 + 649), v5 > 200000); }
GD Web Decomp Icon

GD Web Decomp

Raw Source