//
// cocos2d::CCParticleBatchNode::removeChild from 0x7e5eee to 0x7e5f60 (114 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:53 +0000
//
int __fastcall cocos2d::CCParticleBatchNode::removeChild(int this, cocos2d::CCNode *a2, int a3)
{
cocos2d::CCNode *v3; // r5
cocos2d::CCTextureAtlas *v6; // r7
unsigned int v7; // r6
unsigned int v8; // r0
cocos2d::CCTextureAtlas *v9; // r6
unsigned int v10; // r7
unsigned int v11; // r0
v3 = (cocos2d::CCNode *)this;
if ( a2 )
{
cocos2d::CCArray::containsObject(*(cocos2d::CCArray **)(this + 192), a2);
cocos2d::CCNode::removeChild(v3, a2, a3);
v6 = *((cocos2d::CCTextureAtlas **)v3 + 67);
v7 = *((_DWORD *)a2 + 90);
v8 = (*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)a2 + 748))(a2);
cocos2d::CCTextureAtlas::removeQuadsAtIndex(v6, v7, v8);
v9 = *((cocos2d::CCTextureAtlas **)v3 + 67);
v10 = (*(int (__fastcall **)(cocos2d::CCTextureAtlas *))(*(_DWORD *)v9 + 40))(v9);
v11 = (*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)a2 + 748))(a2);
cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex(v9, v10, v11);
(*(void (__fastcall **)(cocos2d::CCNode *, _DWORD))(*(_DWORD *)a2 + 452))(a2, 0);
return cocos2d::CCParticleBatchNode::updateAllAtlasIndexes((int)v3);
}
return this;
}