//
// sub_1003F32F4 from 0x1003f32f4 to 0x1003f3320 (44 bytes)
//
// 1 xrefs:
// > cocos2d::CCNode::qsortAllChildrenWithIndex @ 0x1002d8e7c
//
// 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 11:04:31 +0000
//
unsigned int *__fastcall sub_1003F32F4(unsigned int *result)
{
__int64 v1; // x8
__int64 v2; // x9
__int64 v3; // x10
v1 = *result;
if ( (int)v1 >= 1 )
{
v2 = 0;
v3 = *((_QWORD *)result + 2);
do
{
*(_DWORD *)(*(_QWORD *)(v3 + 8 * v2) + 36LL) = v2;
++v2;
}
while ( v1 != v2 );
}
return result;
}