//
// cocos2d::CCTMXLayer::removeChild from 0x804ab4 to 0x804af6 (66 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:01:23 +0000
//
cocos2d::CCArray **__fastcall cocos2d::CCTMXLayer::removeChild(cocos2d::CCArray **this, cocos2d::CCNode *a2, int a3)
{
cocos2d::CCArray **v3; // r4
unsigned int v6; // r1
v3 = this;
if ( a2 )
{
cocos2d::CCArray::containsObject(*(this + 48), a2);
v6 = *((_DWORD *)a2 + 72);
*((_DWORD *)v3[76] + *(_DWORD *)(*((_DWORD *)v3[89] + 3) + 4 * v6)) = 0;
cocos2d::ccCArrayRemoveValueAtIndex((unsigned int *)v3[89], v6);
return cocos2d::CCSpriteBatchNode::removeChild(v3, a2, a3);
}
return this;
}