// // cocos2d::extension::CCControl::registerWithTouchDispatcher from 0x1001a59e4 to 0x1001a5a34 (80 bytes) // // 2 xrefs: // > @ 0x1007ae170 // > @ 0x1007af478 // // 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::extension::CCControl::registerWithTouchDispatcher(cocos2d::extension::CCControl *a1) { cocos2d::CCDirector *v2; // x0 cocos2d::CCTouchDispatcher *v3; // x20 int v4; // w2 v2 = cocos2d::CCDirector::sharedDirector(); v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getTouchDispatcher)(v2); v4 = ((__int64 (__fastcall *)(cocos2d::extension::CCControl *))a1->getTouchPriority)(a1); cocos2d::CCTouchDispatcher::addTargetedDelegate(v3, &a1->cocos2d::CCTouchDelegate, v4, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source