//
// sub_1002662C0 from 0x1002662c0 to 0x100266328 (104 bytes)
//
// 4 xrefs:
// > sub_10026636C @ 0x10026636c
// > sub_100266370 @ 0x100266374
// > sub_100266378 @ 0x100266380
// > sub_10026638C @ 0x100266398
//
// 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
//
__int64 __fastcall sub_1002662C0(MenuLayer *a1)
{
a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (MenuLayer_vtbl *)off_1007D18D8;
a1->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1007D1D68;
a1->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1007D1DD8;
a1->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007D1DF0;
a1->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1007D1E10;
a1->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007D1E30;
a1->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_1007D1E58;
a1->GooglePlayDelegate::__vftable = (GooglePlayDelegate_vtbl *)&off_1007D1E70;
GameManager::sharedState()->m_menuLayer = nullptr;
MenuLayer::willClose(a1);
return cocos2d::CCLayer::dCCLayer(a1);
}