//
// cocos2d::CCSprite::reorderChild from 0x5e747c to 0x5e74c8 (76 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::CCSprite::reorderChild(cocos2d::CCSprite *a1, cocos2d::CCNode *a2, int a3)
{
cocos2d::CCArray::containsObject(a1->m_pChildren, (cocos2d::_ccArray *)a2, (cocos2d::CCObject *)a3);
if ( a3 != a2->getZOrder(a2) )
{
if ( a1->m_pobBatchNode )
{
if ( !a1->m_bReorderChildDirty )
{
a1->setReorderChildDirtyRecursively(a1);
cocos2d::CCSpriteBatchNode::reorderBatch(a1->m_pobBatchNode, 1);
}
}
cocos2d::CCNode::reorderChild(a1, (int)a2);
}
}