//
// cocos2d::CCMenu::removeChild from 0x180059900 to 0x18005996b (107 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f6f00
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2b80
//
// 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::CCMenu::removeChild(cocos2d::CCMenu *this, struct cocos2d::CCNode *a2, char a3)
{
if ( this->m_pSelectedItem == (cocos2d::CCMenuItem *)_RTDynamicCast(
a2,
0,
&cocos2d::CCNode `RTTI Type Descriptor',
&cocos2d::CCMenuItem `RTTI Type Descriptor',
0) )
this->m_pSelectedItem = nullptr;
cocos2d::CCNode::removeChild(this, a2, a3);
}