// // GameLevelManager::getCompletedGauntletDemons from 0x1000accac to 0x1000acd64 (184 bytes) // // 1 xrefs: // > GameLevelManager::updateUserScore @ 0x1000bc494 // // 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 10:58:37 +0000 // __int64 __fastcall GameLevelManager::getCompletedGauntletDemons(__int64 a1) { __int64 v1; // x8 __int64 v2; // x23 __int64 v3; // x19 const void *v4; // x0 _DWORD *v5; // x0 _DWORD *v6; // x22 __int64 v7; // x0 v1 = *(_QWORD *)(a1 + 936); if ( !v1 ) return 0; v2 = *(_QWORD *)(v1 + 56); if ( !v2 ) return 0; v3 = 0; do { v4 = *(const void **)(v2 + 264); v2 = *(_QWORD *)(v2 + 288); if ( v4 ) { v5 = __dynamic_cast( v4, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'GJGameLevel, 0); if ( v5 ) { v6 = v5; if ( v5[237] - v5[238] == 10 && v5[215] - v5[214] == 100 ) { v7 = GameStatsManager::sharedState(v5); v3 = (unsigned int)v3 + (unsigned int)GameStatsManager::hasCompletedLevel(v7, v6); } } } } while ( v2 ); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source