// // sub_10056A8F0 from 0x10056a8f0 to 0x10056a97f (143 bytes) // // 0 xrefs: // // 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_10056A8F0(cocos2d::CCLayer *a1) { cocos2d::CCDirector *v1; // rax cocos2d::CCTouchDispatcher *v2; // rax a1->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLayer_vtbl *)off_100963B18; a1->cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100963F98; a1->cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100964008; a1->cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100964020; a1->cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_100964040; a1->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, &a1->cocos2d::CCTouchDelegate); cocos2d::CCLayer::onExit(a1); return cocos2d::CCLayer::dCCLayer(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source