//
// cocos2d::CCSpriteBatchNode::reorderChild from 0x10026faf0 to 0x10026fb64 (116 bytes)
//
// 3 xrefs:
// > ??> @ 0x1008b8f98
// > ??> @ 0x100917538
// > ??> @ 0x100941e40
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 11:01:46 +0000
//
__int64 __fastcall cocos2d::CCSpriteBatchNode::reorderChild(__int64 a1, __int64 a2, __int64 a3)
{
__int64 result; // x0
if ( (*(_BYTE *)(a1 + 312) & 1) == 0 )
sub_1002E7638(*(_QWORD *)(a1 + 208));
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 104LL))(a2);
if ( (_DWORD)result != (_DWORD)a3 )
return cocos2d::CCNode::reorderChild(a1, a2, a3);
return result;
}