//
// LocalLevelManager::updateLevelOrder from 0x1005f7a50 to 0x1005f7ac5 (117 bytes)
//
// 1 xrefs:
// > GJAccountManager::backupAccount @ 0x1000d2e07
//
// 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::updateLevelOrder(LocalLevelManager *a1)
{
unsigned int v1; // r14d
int v2; // r12d
cocos2d::CCArray *m_localLevels; // r15
int v4; // eax
v1 = 0;
if ( (unsigned int)sub_100720070(a1->m_localLevels) )
{
v2 = -1;
do
{
m_localLevels = a1->m_localLevels;
v4 = sub_100720070(m_localLevels);
*(_DWORD *)(sub_1007200C0(m_localLevels, (unsigned int)(v4 + v2--)) + 624) = v1++;
}
while ( v1 < (unsigned int)sub_100720070(a1->m_localLevels) );
}
return v1;
}