//
// cocos2d::CCSpriteBatchNode::reorderChild from 0x100155ee0 to 0x100155f39 (89 bytes)
//
// 4 xrefs:
// > ??> @ 0x100ac6700
// > ??> @ 0x100af0520
// > ??> @ 0x100b6a930
// > ??> @ 0x100b86e90
//
// This function is hookable on this platform (idp: pc, 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 12:25:04 +0000
//
__int64 __fastcall cocos2d::CCSpriteBatchNode::reorderChild(__int64 a1, __int64 a2, unsigned int a3)
{
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 312) )
sub_1007FF080(*(_QWORD *)(a1 + 208), a2);
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 104LL))(a2);
if ( (_DWORD)result != a3 )
return cocos2d::CCNode::reorderChild(a1, a2, a3);
return result;
}