//
// cocos2d::CCNode::reorderChild from 0x5bcb98 to 0x5bcbc6 (46 bytes)
//
// 2 xrefs:
// > cocos2d::CCSprite::reorderChild @ 0x5e74c2
// > cocos2d::CCSpriteBatchNode::reorderChild @ 0x5e86c8
//
// 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::reorderChild(cocos2d::CCNode *a1, int a2)
{
int v2; // r2
int v3; // r5
void (__fastcall *v5)(int); // r2
a1->m_bReorderChildDirty = 1;
v3 = v2;
v5 = *(void (__fastcall **)(int))(*(_DWORD *)a2 + 196);
++dword_ABAC1C;
v5(a2);
(*(void (__fastcall **)(int, int))(*(_DWORD *)a2 + 48))(a2, v3);
}