// // LocalLevelManager::getLevelsInNameGroups from 0x1001c8910 to 0x1001c8a38 (296 bytes) // // 1 xrefs: // > LocalLevelManager::dataLoaded @ 0x1001c9364 // // 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 // cocos2d::CCDictionary *__fastcall LocalLevelManager::getLevelsInNameGroups(LocalLevelManager *a1) { cocos2d::CCDictionary *v2; // x20 __int64 v3; // x21 __int64 v4; // x0 __int64 v5; // x22 __int64 v6; // x24 __int64 v7; // x0 __int64 v8; // x23 void *__p[2]; // [xsp+0h] [xbp-50h] BYREF __int64 v11; // [xsp+10h] [xbp-40h] v2 = cocos2d::CCDictionary::create(); if ( (unsigned int)sub_10024A36C(a1->m_localLevels) ) { v3 = 0; do { v4 = sub_10024A388(a1->m_localLevels, v3); v5 = v4; v6 = v4 + 344; if ( *(char *)(v4 + 367) < 0 ) { sub_1000097D0(__p, *(void **)(v4 + 344), *(_QWORD *)(v4 + 352)); } else { *(_OWORD *)__p = *(_OWORD *)v6; v11 = *(_QWORD *)(v4 + 360); } v7 = cocos2d::CCDictionary::objectForKey_1(v2, __p); v8 = v7; if ( SHIBYTE(v11) < 0 ) { operator delete(__p[0]); if ( !v8 ) { LABEL_10: v8 = sub_10024A15C(v7); if ( *(char *)(v5 + 367) < 0 ) { sub_1000097D0(__p, *(void **)(v5 + 344), *(_QWORD *)(v5 + 352)); } else { *(_OWORD *)__p = *(_OWORD *)v6; v11 = *(_QWORD *)(v6 + 16); } cocos2d::CCDictionary::setObject_1(v2, v8, __p); if ( SHIBYTE(v11) < 0 ) operator delete(__p[0]); } } else if ( !v7 ) { goto LABEL_10; } sub_10024A2D0(v8, v5); v3 = (unsigned int)(v3 + 1); } while ( (unsigned int)v3 < (unsigned int)sub_10024A36C(a1->m_localLevels) ); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source