//
// LocalLevelManager::updateListOrder from 0x542786 to 0x5427b8 (50 bytes)
//
// 1 xrefs:
// > LocalLevelManager::dataLoaded @ 0x544ba4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:52:20 +0000
//
unsigned int __fastcall LocalLevelManager::updateListOrder(LocalLevelManager *this)
{
unsigned int i; // r4
cocos2d::CCArray *v3; // r6
int v4; // r0
for ( i = 0; i < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 72)); ++i )
{
v3 = *((cocos2d::CCArray **)this + 72);
v4 = cocos2d::CCArray::count(v3);
*(_DWORD *)(cocos2d::CCArray::objectAtIndex(v3, ~i + v4) + 308) = i;
}
return i;
}