//
// cocos2d::CCNode::sortAllChildren from 0x180005150 to 0x18000518f (63 bytes)
//
// 79 xrefs:
// > ??> @ 0x1800e5620
// > ??> @ 0x1800e5c80
// > ??> @ 0x1800e5ff0
// > ??> @ 0x1800e6950
// > ??> @ 0x1800e6e58
// > ??> @ 0x1800eb620
// > ??> @ 0x1800ed130
// > ??> @ 0x1800ed5f0
// > ??> @ 0x1800edb28
// > ??> @ 0x1800ee090
// > ??> @ 0x1800ee668
// > ??> @ 0x1800eeb28
// > ??> @ 0x1800eeeb0
// > ??> @ 0x1800ef230
// > ??> @ 0x1800ef5b8
// > ??> @ 0x1800ef938
// > ??> @ 0x1800efcb8
// > ??> @ 0x1800f0058
// > ??> @ 0x1800f03f8
// > ??> @ 0x1800f0798
// > ??> @ 0x1800f0b38
// > ??> @ 0x1800f0ed8
// > ??> @ 0x1800f1278
// > ??> @ 0x1800f1618
// > ??> @ 0x1800f19b8
// > ??> @ 0x1800f1d48
// > ??> @ 0x1800f20d0
// > ??> @ 0x1800f2458
// > ??> @ 0x1800f27e0
// > ??> @ 0x1800f2b68
// > ??> @ 0x1800f2ef0
// > ??> @ 0x1800f3278
// > ??> @ 0x1800f3600
// > ??> @ 0x1800f3980
// > ??> @ 0x1800f3d10
// > ??> @ 0x1800f40a8
// > ??> @ 0x1800f4440
// > ??> @ 0x1800f47d8
// > ??> @ 0x1800f4b70
// > ??> @ 0x1800f4f08
// > ??> @ 0x1800f52b8
// > ??> @ 0x1800f5640
// > ??> @ 0x1800f59d0
// > ??> @ 0x1800f5d60
// > ??> @ 0x1800f60f0
// > ??> @ 0x1800f6480
// > ??> @ 0x1800f6810
// > ??> @ 0x1800f6ba0
// > ??> @ 0x1800f6f38
// > ??> @ 0x1800f74a0
// > ??> @ 0x1800f78c8
// > ??> @ 0x1800f7d10
// > ??> @ 0x1800f8158
// > ??> @ 0x1800f85a0
// > ??> @ 0x1800f8a00
// > ??> @ 0x1800f8e60
// > ??> @ 0x1800f92b0
// > ??> @ 0x1800f9678
// > ??> @ 0x1800f9a90
// > ??> @ 0x1800f9ea0
// > ??> @ 0x1800fa2d0
// > ??> @ 0x1800fa940
// > ??> @ 0x1800fafb0
// > ??> @ 0x1800fb620
// > ??> @ 0x1800fbc90
// > ??> @ 0x1800fc300
// > ??> @ 0x1800fc970
// > ??> @ 0x1800fcfe0
// > ??> @ 0x1800fd650
// > ??> @ 0x1800fdcc0
// > ??> @ 0x1800fe330
// > ??> @ 0x1800fe9a0
// > ??> @ 0x1800ff1e8
// > ??> @ 0x1800ffc88
// > ??> @ 0x1801053f8
// > ??> @ 0x1801057d0
// > ??> @ 0x180106090
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ad654
//
// 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 cocos2d::CCNode::sortAllChildren(cocos2d::CCNode *this)
{
if ( this->m_bReorderChildDirty )
{
if ( this->m_bUseChildIndex )
cocos2d::CCNode::qsortAllChildrenWithIndex(this);
else
cocos2d::CCNode::sortAllChildrenNoIndex(this);
this->m_bReorderChildDirty = 0;
}
}