//
// cocos2d::CCParticleBatchNode::removeChild from 0x180063dd0 to 0x180063ebb (235 bytes)
//
// 5 xrefs:
// > ??> @ 0x1801007c0
// > ??> @ 0x180142cdc
// > ??> @ 0x180142cec
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd9fc
//
// 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 11:21:52 +0000
//
void __fastcall cocos2d::CCParticleBatchNode::removeChild(cocos2d::CCArray **this, struct cocos2d::CCNode *a2, char a3)
{
unsigned int v6; // ebx
unsigned int v7; // eax
cocos2d::CCTextureAtlas *v8; // r14
__int64 (__fastcall *v9)(cocos2d::CCTextureAtlas *); // rdi
unsigned int v10; // ebx
unsigned int v11; // eax
if ( a2 )
{
_RTDynamicCast(a2, 0, &cocos2d::CCNode `RTTI Type Descriptor', &cocos2d::CCParticleSystem `RTTI Type Descriptor', 0);
cocos2d::CCArray::containsObject(*(this + 26), a2);
cocos2d::CCNode::removeChild((cocos2d::CCNode *)this, a2, a3);
v6 = *((_DWORD *)a2 + 112);
v7 = (*(__int64 (__fastcall **)(struct cocos2d::CCNode *))(*(_QWORD *)a2 + 1488LL))(a2);
cocos2d::CCTextureAtlas::removeQuadsAtIndex(*(this + 41), v6, v7);
v8 = *(this + 41);
v9 = *(__int64 (__fastcall **)(cocos2d::CCTextureAtlas *))(*(_QWORD *)v8 + 72LL);
v10 = (*(__int64 (__fastcall **)(struct cocos2d::CCNode *))(*(_QWORD *)a2 + 1488LL))(a2);
v11 = v9(v8);
cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex(v8, v11, v10);
(*(void (__fastcall **)(struct cocos2d::CCNode *, _QWORD))(*(_QWORD *)a2 + 896LL))(a2, 0);
cocos2d::CCParticleBatchNode::updateAllAtlasIndexes((cocos2d::CCParticleBatchNode *)this);
}
}