//
// cocos2d::CCSpriteBatchNode::removeChild from 0x100155f40 to 0x100155f75 (53 bytes)
//
// 5 xrefs:
// > cocos2d::CCTMXLayer::removeTileAt @ 0x100245629
// > cocos2d::CCTMXLayer::removeChild @ 0x100245731
// > ??> @ 0x100ac66d8
// > ??> @ 0x100b6a908
// > ??> @ 0x100b86e68
//
// 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::removeChild(__int64 a1, __int64 a2, unsigned __int8 a3)
{
__int64 result; // rax
if ( a2 )
{
cocos2d::CCSpriteBatchNode::removeSpriteFromAtlas(a1);
return cocos2d::CCNode::removeChild(a1, a2, a3);
}
return result;
}