//
// cocos2d::qChildSort from 0x7c467c to 0x7c46b6 (58 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:23 +0000
//
int __fastcall cocos2d::qChildSort(cocos2d *this, int *a2, const void *a3)
{
int v3; // r7
int v4; // r6
int v5; // r5
int v6; // r4
v3 = *(_DWORD *)this;
v4 = *a2;
v5 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)this + 52))(*(_DWORD *)this);
v6 = (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 52))(v4);
if ( v5 == v6 )
{
v5 += (*(int (__fastcall **)(int))(*(_DWORD *)v3 + 208))(v3);
v6 += (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 208))(v4);
}
return v5 - v6;
}