//
// cocos2d::CCMenu::removeChild from 0x18005b940 to 0x18005b9ab (107 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800fd348
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bce20
//
// 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:21:49 +0000
//
void __fastcall cocos2d::CCMenu::removeChild(cocos2d::CCMenu *this, struct cocos2d::CCNode *a2, char a3)
{
if ( *((_QWORD *)this + 55) == _RTDynamicCast(
a2,
0,
&cocos2d::CCNode `RTTI Type Descriptor',
&cocos2d::CCMenuItem `RTTI Type Descriptor',
0) )
*((_QWORD *)this + 55) = 0;
cocos2d::CCNode::removeChild(this, a2, a3);
}