//
// cocos2d::CCSpriteBatchNode::addChild from 0x1001768d0 to 0x100176936 (102 bytes)
//
// 3 xrefs:
// > ??> @ 0x1008c2de8
// > ??> @ 0x10095dda0
// > ??> @ 0x100974288
//
// 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 __fastcall cocos2d::CCSpriteBatchNode::addChild(
cocos2d::CCSpriteBatchNode *a1,
cocos2d::CCNode *a2,
int a3,
int a4)
{
__int64 v5; // rax
__int64 v6; // rax
v5 = ((__int64 (__fastcall *)(cocos2d::CCNode *))a2->__vftable[1].setScale_0)(a2);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 104LL))(v5);
v6 = ((__int64 (__fastcall *)(cocos2d::CCTextureAtlas *))a1->m_pobTextureAtlas->getTexture)(a1->m_pobTextureAtlas);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 104LL))(v6);
cocos2d::CCNode::addChild(a1, (int)a2, a3);
cocos2d::CCSpriteBatchNode::appendChild(a1, (cocos2d::CCSprite *)a2);
}