//
// GameLevelManager::getLocalLevelList from 0x10052d230 to 0x10052d294 (100 bytes)
//
// 0 xrefs:
//
// 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
//
GJLevelList *__fastcall GameLevelManager::getLocalLevelList(GameLevelManager *a1, int a2)
{
cocos2d::CCArray *m_localLists; // r15
GJLevelList *v3; // r14
unsigned int v4; // r12d
GJLevelList *v5; // rax
m_localLists = LocalLevelManager::sharedState()->m_localLists;
v3 = nullptr;
if ( (unsigned int)sub_100720070(m_localLists) )
{
v4 = 0;
while ( 1 )
{
v5 = (GJLevelList *)sub_1007200C0(m_localLists, v4);
if ( v5->m_M_ID == a2 )
break;
if ( ++v4 >= (unsigned int)sub_100720070(m_localLists) )
return v3;
}
return v5;
}
return v3;
}