//
// cocos2d::CCSpriteBatchNode::addChild from 0x1001d737c to 0x1001d7400 (132 bytes)
//
// 3 xrefs:
// > ??> @ 0x10076cbf8
// > ??> @ 0x1007bf610
// > ??> @ 0x1007e9cb0
//
// 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 v7; // x0
__int64 v8; // x0
v7 = ((__int64 (__fastcall *)(cocos2d::CCNode *))a2->__vftable[1].setScale_0)(a2);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 104LL))(v7);
v8 = ((__int64 (__fastcall *)(cocos2d::CCTextureAtlas *))a1->m_pobTextureAtlas->getTexture)(a1->m_pobTextureAtlas);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 104LL))(v8);
cocos2d::CCNode::addChild(a1, (int)a2, a3);
cocos2d::CCSpriteBatchNode::appendChild(a1, (cocos2d::CCSprite *)a2);
}