// // cocos2d::CCMenu::removeChild from 0x1001d8214 to 0x1001d8284 (112 bytes) // // 2 xrefs: // > @ 0x1007bfa68 // > @ 0x1007e6d00 // // 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 *a1, cocos2d::CCNode *a2, bool a3) { char v3; // w20 cocos2d::CCMenuItem *v5; // x0 v3 = (char)a2; if ( a2 ) v5 = (cocos2d::CCMenuItem *)__dynamic_cast( a2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCMenuItem, 0); else v5 = nullptr; if ( a1->m_pSelectedItem == v5 ) a1->m_pSelectedItem = nullptr; cocos2d::CCNode::removeChild(a1, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source