//
// cocos2d::CCNode::sortAllChildren from 0x5bea60 to 0x5bea82 (34 bytes)
//
// 0 xrefs:
//
// 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 cocos2d::CCNode::sortAllChildren(cocos2d::CCNode *a1)
{
if ( a1->m_bReorderChildDirty )
{
if ( a1->m_bUseChildIndex )
cocos2d::CCNode::sortAllChildrenWithIndex(a1);
else
cocos2d::CCNode::sortAllChildrenNoIndex(a1);
a1->m_bReorderChildDirty = 0;
}
}