//
// LocalLevelManager::updateListOrder from 0x1001c9114 to 0x1001c9190 (124 bytes)
//
// 1 xrefs:
// > LocalLevelManager::dataLoaded @ 0x1001c968c
//
// 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
//
int __fastcall LocalLevelManager::updateListOrder(LocalLevelManager *a1)
{
unsigned int v2; // w22
int v3; // w21
cocos2d::CCArray *m_localLists; // x20
int v5; // w0
int v6; // w20
if ( !(unsigned int)sub_10024A36C(a1->m_localLists) )
return 0;
v2 = 0;
v3 = -1;
do
{
m_localLists = a1->m_localLists;
v5 = sub_10024A36C(m_localLists);
*(_DWORD *)(sub_10024A388(m_localLists, (unsigned int)(v5 + v3--)) + 376) = v2;
v6 = ++v2;
}
while ( v2 < (unsigned int)sub_10024A36C(a1->m_localLists) );
return v6;
}