//
// LocalLevelManager::updateListOrder from 0x1005f7c00 to 0x1005f7c75 (117 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
//
int __fastcall LocalLevelManager::updateListOrder(LocalLevelManager *a1)
{
unsigned int v1; // r14d
int v2; // r12d
cocos2d::CCArray *m_localLists; // r15
int v4; // eax
v1 = 0;
if ( (unsigned int)sub_100720070(a1->m_localLists) )
{
v2 = -1;
do
{
m_localLists = a1->m_localLists;
v4 = sub_100720070(m_localLists);
*(_DWORD *)(sub_1007200C0(m_localLists, (unsigned int)(v4 + v2--)) + 376) = v1++;
}
while ( v1 < (unsigned int)sub_100720070(a1->m_localLists) );
}
return v1;
}