// // GJMapPack::completedMaps from 0x10055fd70 to 0x10055fe1b (171 bytes) // // 5 xrefs: // > MapPackCell::loadFromMapPack @ 0x100244cf5 // > MapPackCell::loadFromMapPack @ 0x100244f77 // > MapPackCell::loadFromMapPack @ 0x100244fe5 // > GJMapPack::hasCompletedMapPack @ 0x10055fe47 // > GauntletNode::generateNode @ 0x100574f76 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall GJMapPack::completedMaps(GJMapPack *a1) { cocos2d::CCArray *m_levels; // rdi int v3; // r14d unsigned int v4; // r15d bool hasCompletedGauntletLevel; // al cocos2d::CCString *v6; // rax int v7; // r12d bool m_isGauntlet; // r13 GameStatsManager *v9; // rdi m_levels = a1->m_levels; v3 = 0; if ( m_levels && (unsigned int)sub_100720070(m_levels) ) { v4 = 0; v3 = 0; do { v6 = (cocos2d::CCString *)sub_1007200C0(a1->m_levels, v4); v7 = cocos2d::CCString::intValue(v6); m_isGauntlet = a1->m_isGauntlet; v9 = GameStatsManager::sharedState(); if ( m_isGauntlet ) hasCompletedGauntletLevel = GameStatsManager::hasCompletedGauntletLevel(v9, v7); else hasCompletedGauntletLevel = GameStatsManager::hasCompletedOnlineLevel(v9, v7); v3 += hasCompletedGauntletLevel; ++v4; } while ( v4 < (unsigned int)sub_100720070(a1->m_levels) ); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source