//
// cocos2d::ccArrayRecreateChildIndexes from 0x5ec82a to 0x5ec840 (22 bytes)
//
// 1 xrefs:
// > cocos2d::CCNode::qsortAllChildrenWithIndex @ 0x5bea4c
//
// 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 cocos2d::ccArrayRecreateChildIndexes(int *result)
{
int v1; // r2
int i; // r3
v1 = *result;
for ( i = 0; i < v1; ++i )
*(_DWORD *)(*(_DWORD *)(result[3] + 4 * i) + 32) = i;
return result;
}