//
// cocos2d::CCSpriteBatchNode::reorderChild from 0x1001d758c to 0x1001d7600 (116 bytes)
//
// 3 xrefs:
// > ??> @ 0x10076cc70
// > ??> @ 0x1007bf688
// > ??> @ 0x1007e9d28
//
// 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::CCSpriteBatchNode::reorderChild(cocos2d::CCSpriteBatchNode *a1, cocos2d::CCNode *a2, int a3)
{
if ( !a1->m_bUseChildIndex )
sub_10024A420(a1->m_pChildren);
if ( ((unsigned int (__fastcall *)(cocos2d::CCNode *))a2->getZOrder)(a2) != a3 )
cocos2d::CCNode::reorderChild(a1, (int)a2);
}