//
// sub_10056AAC0 from 0x10056aac0 to 0x10056ab57 (151 bytes)
//
// 1 xrefs:
// > ??> @ 0x100963b28
//
// 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 sub_10056AAC0(cocos2d::CCLayer *__p)
{
cocos2d::CCDirector *v1; // rax
cocos2d::CCTouchDispatcher *v2; // rax
__p->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLayer_vtbl *)off_100963B18;
__p->cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100963F98;
__p->cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100964008;
__p->cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100964020;
__p->cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_100964040;
__p->cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_100964060;
v1 = cocos2d::CCDirector::sharedDirector();
v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);
cocos2d::CCTouchDispatcher::removeDelegate(v2, &__p->cocos2d::CCTouchDelegate);
cocos2d::CCLayer::onExit(__p);
cocos2d::CCLayer::dCCLayer(__p);
operator delete(__p);
}