//
// cocos2d::CCSprite::reorderChild from 0x100289a30 to 0x100289aae (126 bytes)
//
// 78 xrefs:
// > ??> @ 0x1008b4000
// > ??> @ 0x1008b7fe8
// > ??> @ 0x1008c42a8
// > ??> @ 0x1008c4ae0
// > ??> @ 0x1008c52d8
// > ??> @ 0x1008c5ad0
// > ??> @ 0x1008c62c8
// > ??> @ 0x1008c6ac0
// > ??> @ 0x1008c72b8
// > ??> @ 0x1008c7ab0
// > ??> @ 0x1008c8298
// > ??> @ 0x1008c8aa8
// > ??> @ 0x1008c9320
// > ??> @ 0x1008c9b30
// > ??> @ 0x1008ca340
// > ??> @ 0x1008cab50
// > ??> @ 0x1008cb360
// > ??> @ 0x1008cbb70
// > ??> @ 0x1008cc380
// > ??> @ 0x1008ccb90
// > ??> @ 0x1008cd3a0
// > ??> @ 0x1008cdbb0
// > ??> @ 0x1008ce3d8
// > ??> @ 0x1008cec30
// > ??> @ 0x1008cf458
// > ??> @ 0x1008cfc80
// > ??> @ 0x1008d04a8
// > ??> @ 0x1008d0cd0
// > ??> @ 0x1008d14e0
// > ??> @ 0x1008d1cf0
// > ??> @ 0x1008d2500
// > ??> @ 0x1008d2d10
// > ??> @ 0x1008d3520
// > ??> @ 0x1008d3d30
// > ??> @ 0x1008d4540
// > ??> @ 0x1008d4d50
// > ??> @ 0x1008d5560
// > ??> @ 0x1008d5d70
// > ??> @ 0x1008d6580
// > ??> @ 0x1008d6d90
// > ??> @ 0x1008d75a0
// > ??> @ 0x1008d7db0
// > ??> @ 0x1008d85c0
// > ??> @ 0x1008d8dd0
// > ??> @ 0x1008dd3b0
// > ??> @ 0x1008e08e0
// > ??> @ 0x1008f0558
// > ??> @ 0x1008f38e8
// > ??> @ 0x100904ce0
// > ??> @ 0x1009098b8
// > ??> @ 0x10090b8f0
// > ??> @ 0x100913398
// > ??> @ 0x100914640
// > ??> @ 0x1009151d0
// > ??> @ 0x10091bf60
// > ??> @ 0x10091c4e8
// > ??> @ 0x10091d940
// > ??> @ 0x10091dee0
// > ??> @ 0x100923578
// > ??> @ 0x100927f10
// > ??> @ 0x10092ac68
// > ??> @ 0x100933940
// > ??> @ 0x100934168
// > ??> @ 0x10093c808
// > ??> @ 0x10093cdb8
// > ??> @ 0x100942048
// > ??> @ 0x10094e760
// > ??> @ 0x100971628
// > ??> @ 0x100971e10
// > ??> @ 0x100972620
// > ??> @ 0x100974888
// > ??> @ 0x100974e40
// > ??> @ 0x1009753f8
// > ??> @ 0x10097a3e8
// > ??> @ 0x10097a9a0
// > ??> @ 0x100985470
// > ??> @ 0x100991858
// > ??> @ 0x100996080
//
// 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::CCSprite::reorderChild(cocos2d::CCSprite *a1, cocos2d::CCNode *a2, int a3)
{
sub_100720160(a1->m_pChildren, a2);
if ( ((unsigned int (__fastcall *)(cocos2d::CCNode *))a2->getZOrder)(a2) != a3 )
{
if ( a1->m_pobBatchNode )
{
if ( !a1->m_bReorderChildDirty )
{
((void (__fastcall *)(cocos2d::CCSprite *))a1->setReorderChildDirtyRecursively)(a1);
cocos2d::CCSpriteBatchNode::reorderBatch(a1->m_pobBatchNode, 1);
}
}
cocos2d::CCNode::reorderChild(a1, (int)a2);
}
}