// // GJMapPack::completedMaps from 0x14026bed0 to 0x14026bff5 (293 bytes) // // 8 xrefs: // > MapPackCell::loadFromMapPack @ 0x14014db05 // > MapPackCell::loadFromMapPack @ 0x14014dd8c // > MapPackCell::loadFromMapPack @ 0x14014de0a // > GauntletSelectLayer::onPlay @ 0x1402ffbd3 // > GauntletNode::generateNode @ 0x1403022b9 // > GauntletNode::generateNode @ 0x14030248d // > GJAccountManager::onSyncAccountCompleted @ 0x140309147 // > @ 0x14091ca48 // // 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 11:28:52 +0000 // // Hidden C++ exception states: #wind=2 __int64 __fastcall GJMapPack::completedMaps(__int64 a1) { cocos2d::CCArray *v2; // rcx unsigned int v4; // ebx unsigned int v5; // edi unsigned int v6; // r14d cocos2d::CCString *v7; // rax unsigned int v8; // ebp __int64 v9; // rcx void *v10; // [rsp+40h] [rbp+8h] void *v11; // [rsp+48h] [rbp+10h] v2 = *(cocos2d::CCArray **)(a1 + 320); if ( !v2 ) return 0; v4 = 0; v5 = 0; if ( cocos2d::CCArray::count(v2) ) { do { v6 = v4; v7 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 320), v5); v8 = cocos2d::CCString::intValue(v7); v9 = qword_14090BFE0; if ( *(_BYTE *)(a1 + 420) ) { if ( !qword_14090BFE0 ) { v10 = operator new(0x3E8u); qword_14090BFE0 = sub_1402D6480(v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0); v9 = qword_14090BFE0; } ++v4; if ( !(unsigned __int8)GameStatsManager::hasCompletedGauntletLevel(v9, v8) ) v4 = v6; } else { if ( !qword_14090BFE0 ) { v11 = operator new(0x3E8u); qword_14090BFE0 = sub_1402D6480(v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0); v9 = qword_14090BFE0; } if ( (unsigned __int8)GameStatsManager::hasCompletedOnlineLevel(v9, v8) ) ++v4; } ++v5; } while ( v5 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 320)) ); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source