// // LocalLevelManager::getAllLevelsWithName from 0x911470 to 0x911594 (292 bytes) // // 2 xrefs: // > EditLevelLayer::verifyLevelName @ 0x7eebc8 // > @ 0xd4740 // // This function is hookable on this platform (idp: arm, 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 12:57:16 +0000 // cocos2d::CCArray *__fastcall LocalLevelManager::getAllLevelsWithName(__int64 a1, __int64 a2) { unsigned int v4; // w20 cocos2d::CCArray *v5; // x26 __int64 v6; // x21 char v7; // w0 __int64 v8; // x0 __int64 v9; // x1 _BOOL4 v10; // w23 __int64 v12; // [xsp+50h] [xbp+50h] BYREF __int64 v13; // [xsp+58h] [xbp+58h] void *v14; // [xsp+60h] [xbp+60h] v4 = 0; v5 = (cocos2d::CCArray *)cocos2d::CCArray::create(_stack_chk_guard); while ( v4 < (unsigned int)cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 360)) ) { v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 360), v4); v7 = *(_BYTE *)(v6 + 344); v12 = 0; v13 = 0; v14 = nullptr; if ( (v7 & 1) != 0 ) { std::string::__init(&v12, *(void **)(v6 + 360), *(_QWORD *)(v6 + 352)); } else { v8 = *(_QWORD *)(v6 + 344); v9 = *(_QWORD *)(v6 + 352); v14 = *(void **)(v6 + 360); v12 = v8; v13 = v9; } v10 = sub_91069C((__int64)&v12, a2); if ( (v12 & 1) != 0 ) { operator delete(v14); if ( v10 ) { LABEL_9: ++v4; cocos2d::CCArray::addObject(v5, (cocos2d::CCObject *)v6); continue; } } else if ( v10 ) { goto LABEL_9; } ++v4; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source