//
// cocos2d::CCSprite::reorderChild from 0x7f1d1c to 0x7f1d68 (76 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:01:05 +0000
//
int __fastcall cocos2d::CCSprite::reorderChild(cocos2d::CCArray **this, cocos2d::CCNode *a2, int a3)
{
int result; // r0
cocos2d::CCArray::containsObject(*(this + 48), a2);
result = (*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)a2 + 52))(a2);
if ( a3 != result )
{
if ( *(this + 73) )
{
if ( !*((_BYTE *)this + 240) )
{
(*((void (__fastcall **)(cocos2d::CCArray **))*this + 153))(this);
cocos2d::CCSpriteBatchNode::reorderBatch(*(this + 73), 1);
}
}
return cocos2d::CCNode::reorderChild((cocos2d::CCNode *)this, a2, a3);
}
return result;
}