//
// GameLevelManager::getLocalLevelList from 0x6f0ea0 to 0x6f0f04 (100 bytes)
//
// 3 xrefs:
// > GameLevelManager::onUploadLevelListCompleted @ 0x731a50
// > GameLevelManager::onUploadLevelListCompleted @ 0x731aa0
// > ??> @ 0x3a6c8
//
// 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 *GameLevelManager::getLocalLevelList(GameLevelManager *a1, int a2)
{
unsigned int v2; // w19
cocos2d::CCArray *m_localLists; // x20
GJLevelList *result; // x0
bool v6; // cf
unsigned int v7; // w1
v2 = 0;
m_localLists = LocalLevelManager::sharedState()->m_localLists;
while ( 1 )
{
v6 = v2 >= (unsigned int)cocos2d::CCArray::count(m_localLists);
v7 = v2++;
if ( v6 )
break;
result = (GJLevelList *)cocos2d::CCArray::objectAtIndex(m_localLists, v7);
if ( result->m_M_ID == a2 )
return result;
}
return nullptr;
}