//
// cocos2d::CCSpriteBatchNode::addChild from 0x100155c80 to 0x100155ce6 (102 bytes)
//
// 3 xrefs:
// > ??> @ 0x100ac6688
// > ??> @ 0x100b6a8b8
// > ??> @ 0x100b86e18
//
// 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::addChild(__int64 a1, __int64 a2, unsigned int a3, unsigned int a4)
{
__int64 v6; // rax
__int64 v7; // rax
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1072LL))(a2);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 104LL))(v6);
v7 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 96LL))(*(_QWORD *)(a1 + 328));
(*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 104LL))(v7);
cocos2d::CCNode::addChild(a1, a2, a3, a4);
return cocos2d::CCSpriteBatchNode::appendChild(a1, a2);
}