//
// cocos2d::CCSpriteBatchNode::reorderChild from 0x100176b30 to 0x100176b89 (89 bytes)
//
// 4 xrefs:
// > ??> @ 0x1008c2e60
// > ??> @ 0x1008eab10
// > ??> @ 0x10095de18
// > ??> @ 0x100974300
//
// 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_100720160(a1->m_pChildren, a2);
if ( ((unsigned int (__fastcall *)(cocos2d::CCNode *))a2->getZOrder)(a2) != a3 )
cocos2d::CCNode::reorderChild(a1, (int)a2);
}