// // cocos2d::extension::CCControl::registerWithTouchDispatcher from 0x180004340 to 0x1800043b2 (114 bytes) // // 10 xrefs: // > @ 0x180023a58 // > @ 0x180024058 // > @ 0x1800245c8 // > @ 0x180025280 // > @ 0x180025e18 // > @ 0x1800263e8 // > @ 0x180026a10 // > @ 0x180027ea0 // > @ 0x18002fdf8 // > @ 0x1800493e4 // // 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 *this, __int64 a2) { __int64 v3; // rsi struct cocos2d::CCTouchDelegate *v4; // rbx int v5; // ebp cocos2d::CCTouchDispatcher *v6; // rax v3 = cocos2d::CCDirector::sharedDirector(this, a2); v4 = (cocos2d::extension::CCControl *)((char *)this + 320); v5 = (*(__int64 (__fastcall **)(cocos2d::extension::CCControl *))(*(_QWORD *)this + 936LL))(this); if ( !this ) v4 = nullptr; v6 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3); cocos2d::CCTouchDispatcher::addTargetedDelegate(v6, v4, v5, 1); }