//
// sub_10056AB60 from 0x10056ab60 to 0x10056abee (142 bytes)
//
// 1 xrefs:
// > ??> @ 0x100963fa0
//
// 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_10056AB60(cocos2d::CCTouchDelegate *a1)
{
cocos2d::CCDirector *v1; // rax
cocos2d::CCTouchDispatcher *v2; // rax
a1[-40].__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100963B18;
a1->__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100963F98;
a1[1].__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_100964008;
a1[2].__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100964020;
a1[3].__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100964040;
a1[4].__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100964060;
v1 = cocos2d::CCDirector::sharedDirector();
v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);
cocos2d::CCTouchDispatcher::removeDelegate(v2, a1);
cocos2d::CCLayer::onExit((cocos2d::CCLayer *)&a1[-40]);
cocos2d::CCLayer::dCCLayer(&a1[-40].__vftable);
operator delete(&a1[-40]);
}