// // LocalLevelManager::getLevelsInNameGroups from 0x5429a0 to 0x542a3c (156 bytes) // // 1 xrefs: // > LocalLevelManager::dataLoaded @ 0x5447aa // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:20 +0000 // int __fastcall LocalLevelManager::getLevelsInNameGroups(cocos2d::CCArray **this) { unsigned int v2; // r7 int v3; // r8 cocos2d::CCObject *v4; // r0 int v5; // r11 cocos2d::CCObject *v6; // r10 cocos2d::CCObject *v7; // r5 cocos2d::CCArray *v8; // r0 int v10[3]; // [sp+0h] [bp-14h] BYREF v2 = 0; v3 = cocos2d::CCDictionary::create((cocos2d::CCDictionary *)this); while ( v2 < cocos2d::CCArray::count(*(this + 71)) ) { v4 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(*(this + 71), v2); v5 = (int)v4 + 280; v6 = v4; std::string::basic_string(v10, (int)v4 + 280); v7 = (cocos2d::CCObject *)cocos2d::CCDictionary::objectForKey(v3, v10); v8 = (cocos2d::CCArray *)std::string::~string((int)v10); if ( !v7 ) { v7 = (cocos2d::CCObject *)cocos2d::CCArray::create(v8); std::string::basic_string(v10, v5); cocos2d::CCDictionary::setObject(v3, v7); std::string::~string((int)v10); } cocos2d::CCArray::addObject(v7, v6); ++v2; } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source