//
// cocos2d::CCNode::sortAllChildren from 0x180005240 to 0x18000527f (63 bytes)
//
// 79 xrefs:
// > ??> @ 0x1800eb660
// > ??> @ 0x1800ebcd0
// > ??> @ 0x1800ec050
// > ??> @ 0x1800ec9a8
// > ??> @ 0x1800eceb8
// > ??> @ 0x1800f16d0
// > ??> @ 0x1800f3290
// > ??> @ 0x1800f3770
// > ??> @ 0x1800f3cc8
// > ??> @ 0x1800f4250
// > ??> @ 0x1800f4848
// > ??> @ 0x1800f4d28
// > ??> @ 0x1800f50c0
// > ??> @ 0x1800f5450
// > ??> @ 0x1800f57e8
// > ??> @ 0x1800f5b78
// > ??> @ 0x1800f5f08
// > ??> @ 0x1800f62b8
// > ??> @ 0x1800f6668
// > ??> @ 0x1800f6a18
// > ??> @ 0x1800f6dc8
// > ??> @ 0x1800f7178
// > ??> @ 0x1800f7528
// > ??> @ 0x1800f78d8
// > ??> @ 0x1800f7c88
// > ??> @ 0x1800f8028
// > ??> @ 0x1800f83c0
// > ??> @ 0x1800f8758
// > ??> @ 0x1800f8af0
// > ??> @ 0x1800f8e88
// > ??> @ 0x1800f9220
// > ??> @ 0x1800f95b8
// > ??> @ 0x1800f9950
// > ??> @ 0x1800f9ce0
// > ??> @ 0x1800fa080
// > ??> @ 0x1800fa428
// > ??> @ 0x1800fa7d0
// > ??> @ 0x1800fab78
// > ??> @ 0x1800faf20
// > ??> @ 0x1800fb2c8
// > ??> @ 0x1800fb688
// > ??> @ 0x1800fba20
// > ??> @ 0x1800fbdc0
// > ??> @ 0x1800fc160
// > ??> @ 0x1800fc500
// > ??> @ 0x1800fc8a0
// > ??> @ 0x1800fcc40
// > ??> @ 0x1800fcfe0
// > ??> @ 0x1800fd380
// > ??> @ 0x1800fd918
// > ??> @ 0x1800fdd50
// > ??> @ 0x1800fe1a8
// > ??> @ 0x1800fe600
// > ??> @ 0x1800fea58
// > ??> @ 0x1800feec8
// > ??> @ 0x1800ff338
// > ??> @ 0x1800ff798
// > ??> @ 0x1800ffb68
// > ??> @ 0x1800fff98
// > ??> @ 0x1801003b8
// > ??> @ 0x1801007f8
// > ??> @ 0x180100e80
// > ??> @ 0x180101500
// > ??> @ 0x180101b80
// > ??> @ 0x180102200
// > ??> @ 0x180102880
// > ??> @ 0x180102f00
// > ??> @ 0x180103580
// > ??> @ 0x180103c00
// > ??> @ 0x180104280
// > ??> @ 0x180104900
// > ??> @ 0x180104f80
// > ??> @ 0x180105650
// > ??> @ 0x1801062d8
// > ??> @ 0x18010bae0
// > ??> @ 0x18010bec0
// > ??> @ 0x18010c788
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b7678
//
// This function is hookable on this platform (idp: pc, 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:21:18 +0000
//
void __fastcall cocos2d::CCNode::sortAllChildren(cocos2d::CCNode *this)
{
if ( *((_BYTE *)this + 288) )
{
if ( *((_BYTE *)this + 312) )
cocos2d::CCNode::qsortAllChildrenWithIndex(this);
else
cocos2d::CCNode::sortAllChildrenNoIndex(this);
*((_BYTE *)this + 288) = 0;
}
}