// // cocos2d::extension::CCControl::registerWithTouchDispatcher from 0x180003d40 to 0x180003dc4 (132 bytes) // // 10 xrefs: // > @ 0x180025f80 // > @ 0x1800265a0 // > @ 0x180026b20 // > @ 0x180027828 // > @ 0x180028400 // > @ 0x1800289f0 // > @ 0x180029038 // > @ 0x18002a518 // > @ 0x180032408 // > @ 0x18004b330 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:15:35 +0000 // void __fastcall cocos2d::extension::CCControl::registerWithTouchDispatcher( cocos2d::extension::CCControl *this, __int64 a2) { __int64 v3; // r14 __int64 (__fastcall *v4)(__int64); // rdi int v5; // esi struct cocos2d::CCTouchDelegate *v6; // rbx cocos2d::CCTouchDispatcher *v7; // rax v3 = cocos2d::CCDirector::sharedDirector(this, a2); v4 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL); v5 = (*(__int64 (__fastcall **)(cocos2d::extension::CCControl *))(*(_QWORD *)this + 952LL))(this); v6 = (cocos2d::extension::CCControl *)((char *)this + 320); if ( !this ) v6 = nullptr; v7 = (cocos2d::CCTouchDispatcher *)v4(v3); cocos2d::CCTouchDispatcher::addTargetedDelegate(v7, v6, v5, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source