//
// cocos2d::CCTMXLayer::removeChild from 0x1800b0360 to 0x1800b03d9 (121 bytes)
//
// 3 xrefs:
// > ??> @ 0x18010c2f0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2448
//
// 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:22:19 +0000
//
void __fastcall cocos2d::CCTMXLayer::removeChild(cocos2d::CCTMXLayer *this, struct cocos2d::CCNode *a2, char a3)
{
__int64 v6; // rdx
if ( a2 )
{
cocos2d::CCArray::containsObject(*((cocos2d::CCArray **)this + 26), a2);
v6 = *((unsigned int *)a2 + 90);
*(_DWORD *)(*((_QWORD *)this + 47) + 4LL * *(unsigned int *)(*(_QWORD *)(*((_QWORD *)this + 59) + 16LL) + 8 * v6)) = 0;
sub_1800A2010(*((_QWORD *)this + 59), v6);
cocos2d::CCSpriteBatchNode::removeChild(this, a2, a3);
}
}