//
// cocos2d::CCTMXLayer::removeChild from 0x5f7f10 to 0x5f7f4e (62 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::CCTMXLayer::removeChild(cocos2d::CCTMXLayer *a1, cocos2d::CCNode *a2, bool a3)
{
float m_fScaleX; // r0
cocos2d::CCObjectType m_eObjType; // r1
if ( a2 )
{
cocos2d::CCArray::containsObject(a1->m_pChildren, (cocos2d::_ccArray *)a2, (cocos2d::CCObject *)a3);
m_fScaleX = a1[1].m_fScaleX;
m_eObjType = a2[1].m_eObjType;
*(_DWORD *)(a1[1].m_uReference + 4 * *(_DWORD *)(*(_DWORD *)(LODWORD(m_fScaleX) + 12) + 4 * m_eObjType)) = 0;
cocos2d::ccCArrayRemoveValueAtIndex((unsigned int *)LODWORD(m_fScaleX), m_eObjType);
cocos2d::CCSpriteBatchNode::removeChild(a1, a2, a3);
}
}