//
// LocalLevelManager::getCreatedLists from 0x5427e8 to 0x542832 (74 bytes)
//
// 1 xrefs:
// > LevelBrowserLayer::loadPage @ 0x4a6568
//
// 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
//
cocos2d::CCArray *__fastcall LocalLevelManager::getCreatedLists(LocalLevelManager *this, int a2)
{
cocos2d::CCArray *v5; // r0
int v6; // r3
cocos2d::CCArray *v7; // r4
_DWORD *v8; // r2
cocos2d::CCObject **v9; // r6
cocos2d::CCObject **v10; // r5
cocos2d::CCObject *v11; // r1
cocos2d::CCObject *v12; // t1
if ( a2 <= 0 )
return *((cocos2d::CCArray **)this + 72);
v5 = (cocos2d::CCArray *)cocos2d::CCArray::create(this);
v6 = *((_DWORD *)this + 72);
v7 = v5;
if ( v6 )
{
v8 = *(_DWORD **)(v6 + 52);
if ( *v8 )
{
v9 = (cocos2d::CCObject **)v8[3];
v10 = &v9[*v8] + 0x3FFFFFFF;
while ( v9 <= v10 )
{
v12 = *v9++;
v11 = v12;
if ( !v12 )
break;
if ( *((_DWORD *)v11 + 75) == a2 )
cocos2d::CCArray::addObject(v7, v11);
}
}
}
return v7;
}