//
// LocalLevelManager::updateListOrder from 0x7e9634 to 0x7e9698 (100 bytes)
//
// 2 xrefs:
// > LocalLevelManager::dataLoaded @ 0x7e9c64
// > ??> @ 0x51c30
//
// 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 LocalLevelManager::updateListOrder(LocalLevelManager *a1)
{
unsigned int i; // w19
cocos2d::CCArray *m_localLists; // x20
int v4; // w0
for ( i = 0; i < (unsigned int)cocos2d::CCArray::count(a1->m_localLists); ++i )
{
m_localLists = a1->m_localLists;
v4 = cocos2d::CCArray::count(m_localLists);
*(_DWORD *)(cocos2d::CCArray::objectAtIndex(m_localLists, v4 + ~i) + 376) = i;
}
return i;
}