//
// sub_18009DCF0 from 0x18009dcf0 to 0x18009dd18 (40 bytes)
//
// 1 xrefs:
// > cocos2d::CCNode::qsortAllChildrenWithIndex @ 0x18000457c
//
// 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
//
void __fastcall sub_18009DCF0(int *a1)
{
__int64 v1; // r10
int v2; // r9d
__int64 i; // rax
__int64 v4; // r8
v1 = *a1;
v2 = 0;
if ( v1 > 0 )
{
for ( i = 0; i < v1; ++i )
{
v4 = *(_QWORD *)(*((_QWORD *)a1 + 2) + 8 * i);
*(_DWORD *)(v4 + 36) = v2++;
}
}
}