//
// cocos2d::CCNode::sortAllChildren from 0x7c56d8 to 0x7c56fa (34 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:24 +0000
//
int __fastcall cocos2d::CCNode::sortAllChildren(int this, int (__fastcall *a2)(_DWORD), int (__fastcall *a3)(_DWORD))
{
int v3; // r4
v3 = this;
if ( *(_BYTE *)(this + 240) )
{
if ( *(_BYTE *)(this + 260) )
this = cocos2d::CCNode::sortAllChildrenWithIndex(this, a2, a3);
else
this = cocos2d::CCNode::sortAllChildrenNoIndex(this);
*(_BYTE *)(v3 + 240) = 0;
}
return this;
}