//
// LocalLevelManager::updateLevelOrder from 0x91089c to 0x910900 (100 bytes)
//
// 6 xrefs:
// > LocalLevelManager::moveLevelToTop @ 0x910970
// > LocalLevelManager::moveLevelToBottom @ 0x9109e0
// > LocalLevelManager::importLevelsFromPaths @ 0x9117b4
// > LocalLevelManager::dataLoaded @ 0x9148e0
// > GJAccountManager::backupAccount @ 0x98ad38
// > ??> @ 0x5b5e8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:57:16 +0000
//
__int64 __fastcall LocalLevelManager::updateLevelOrder(LocalLevelManager *this)
{
unsigned int i; // w19
cocos2d::CCArray *v3; // x20
int v4; // w0
for ( i = 0; i < (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 45)); ++i )
{
v3 = *((cocos2d::CCArray **)this + 45);
v4 = cocos2d::CCArray::count(v3);
*(_DWORD *)(cocos2d::CCArray::objectAtIndex(v3, v4 + ~i) + 632) = i;
}
return i;
}