//
// LocalLevelManager::getCreatedLists from 0x1005f7cd0 to 0x1005f7d57 (135 bytes)
//
// 1 xrefs:
// > LevelBrowserLayer::loadPage @ 0x10048e72a
//
// 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
//
// local variable allocation has failed, the output may be wrong!
cocos2d::CCArray *__fastcall LocalLevelManager::getCreatedLists(LocalLevelManager *a1, int a2)
{
cocos2d::CCArray *v3; // rbx
cocos2d::CCArray *m_localLists; // rax
cocos2d::ccArray *data; // rax
cocos2d::CCObject **arr; // r15
unsigned __int64 v7; // r12
cocos2d::CCObject *v8; // rsi
if ( a2 <= 0 )
return a1->m_localLists;
v3 = (cocos2d::CCArray *)sub_10071F9E0(a1, *(_QWORD *)&a2);
m_localLists = a1->m_localLists;
if ( m_localLists )
{
data = m_localLists->data;
if ( data->num )
{
arr = data->arr;
v7 = (unsigned __int64)&arr[data->num - 1];
do
{
v8 = *arr;
if ( !*arr )
break;
if ( v8[6].m_uIndexInArray == a2 )
sub_10071FCD0(v3, v8);
++arr;
}
while ( (unsigned __int64)arr <= v7 );
}
}
return v3;
}