//
// cocos2d::CCTMXLayer::removeChild from 0x10025b740 to 0x10025b7a7 (103 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008eaae8
//
// 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 __fastcall cocos2d::CCTMXLayer::removeChild(cocos2d::CCTMXLayer *a1, cocos2d::CCNode *a2, bool a3)
{
__int64 m_unknown2; // rsi
__int64 v7; // rdi
if ( a2 )
{
sub_100720160(a1->m_pChildren, a2);
m_unknown2 = (unsigned int)a2[1].m_unknown2;
v7 = *(_QWORD *)&a1[1].m_obAnchorPoint.y;
*(_DWORD *)(*(_QWORD *)&a1[1].m_nTag + 4LL * *(unsigned int *)(*(_QWORD *)(v7 + 16) + 8 * m_unknown2)) = 0;
sub_100668620(v7, m_unknown2);
cocos2d::CCSpriteBatchNode::removeChild(a1, a2, a3);
}
}