//
// cocos2d::CCParticleBatchNode::removeChild from 0x5dd72e to 0x5dd7a0 (114 bytes)
//
// 0 xrefs:
//
// 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 cocos2d::CCParticleBatchNode::removeChild(cocos2d::CCParticleBatchNode *a1, cocos2d::CCNode *a2, bool a3)
{
cocos2d::CCTextureAtlas *m_pTextureAtlas; // r7
float x; // r6
unsigned int v7; // r0
cocos2d::CCTextureAtlas *v8; // r6
unsigned int v9; // r7
unsigned int v10; // r0
if ( a2 )
{
cocos2d::CCArray::containsObject(a1->m_pChildren, (cocos2d::_ccArray *)a2, (cocos2d::CCObject *)a3);
cocos2d::CCNode::removeChild(a1);
m_pTextureAtlas = a1->m_pTextureAtlas;
x = a2[1].m_obAnchorPointInPoints.x;
v7 = ((int (__fastcall *)(cocos2d::CCNode *))a2->__vftable[1].setGrid)(a2);
cocos2d::CCTextureAtlas::removeQuadsAtIndex(m_pTextureAtlas, LODWORD(x), v7);
v8 = a1->m_pTextureAtlas;
v9 = v8->getTotalQuads(v8);
v10 = ((int (__fastcall *)(cocos2d::CCNode *))a2->__vftable[1].setGrid)(a2);
cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex(v8, v9, v10);
((void (__fastcall *)(cocos2d::CCNode *, _DWORD))a2->__vftable[1].~CCNode)(a2, 0);
cocos2d::CCParticleBatchNode::updateAllAtlasIndexes(a1);
}
}