//
// LocalLevelManager::getCreatedLists from 0x910b9c to 0x910c50 (180 bytes)
//
// 2 xrefs:
// > LevelBrowserLayer::loadPage @ 0x7f8e80
// > ??> @ 0xfba70
//
// 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::getCreatedLists(LocalLevelManager *this, int a2)
{
cocos2d::CCArray *v4; // x22
__int64 v5; // x0
unsigned int *v6; // x2
cocos2d::CCArray *result; // x0
cocos2d::CCObject **v8; // x19
cocos2d::CCObject **v9; // x21
cocos2d::CCObject *v10; // x1
if ( a2 <= 0 )
return *((cocos2d::CCArray **)this + 46);
v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(this);
v5 = *((_QWORD *)this + 46);
if ( !v5 )
return v4;
v6 = *(unsigned int **)(v5 + 56);
result = v4;
if ( *v6 )
{
v8 = *((cocos2d::CCObject ***)v6 + 2);
v9 = &v8[*v6 - 1];
if ( v8 <= v9 )
{
v10 = *v8;
if ( *v8 )
{
do
{
if ( a2 == *((_DWORD *)v10 + 92) )
cocos2d::CCArray::addObject(v4, v10);
if ( v9 < ++v8 )
break;
v10 = *v8;
}
while ( *v8 );
return v4;
}
}
}
return result;
}