// // LocalLevelManager::getAllLevelsInDict from 0x14046b180 to 0x14046b2ec (364 bytes) // // 3 xrefs: // > GameLevelManager::createNewLevel @ 0x14021c15b // > GameLevelManager::getNextLevelName @ 0x14021c3ab // > @ 0x140928070 // // 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:32:36 +0000 // // Hidden C++ exception states: #wind=3 __int64 __fastcall LocalLevelManager::getAllLevelsInDict(__int64 a1) { __int64 v2; // rbp unsigned int i; // ebx struct cocos2d::CCObject *v4; // rdi _QWORD *v5; // rdx size_t v6; // r8 void *v7; // rcx __int128 v9; // [rsp+38h] [rbp-50h] BYREF __int128 v10; // [rsp+48h] [rbp-40h] _QWORD v11[4]; // [rsp+58h] [rbp-30h] BYREF v2 = cocos2d::CCDictionary::create(a1); for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 368)); ++i ) { v4 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 368), i); sub_14003F4F0((__int64)v11, (__int64)v4 + 344); v5 = v11; if ( v11[3] > 0xFu ) v5 = (_QWORD *)v11[0]; v9 = 0; v10 = 0; v6 = -1; do ++v6; while ( *((_BYTE *)v5 + v6) ); sub_14003D230(&v9, v5, v6); sub_14003D310((__int64)v11); if ( (_QWORD)v10 ) cocos2d::CCDictionary::setObject(v2, v4, &v9); if ( *((_QWORD *)&v10 + 1) > 0xFu ) { v7 = (void *)v9; if ( (unsigned __int64)(*((_QWORD *)&v10 + 1) + 1LL) >= 0x1000 ) { v7 = *(void **)(v9 - 8); if ( (unsigned __int64)(v9 - (_QWORD)v7 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v7); } } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source