//
// cocos2d::extension::CCControl::registerWithTouchDispatcher from 0xd0b2d8 to 0xd0b328 (80 bytes)
//
// 9 xrefs:
// > ??> @ 0x814d8
// > ??> @ 0x150a0b8
// > ??> @ 0x150a838
// > ??> @ 0x150b008
// > ??> @ 0x150c558
// > ??> @ 0x150d2b8
// > ??> @ 0x150df98
// > ??> @ 0x150e698
// > ??> @ 0x150ffb8
//
// This function is hookable on this platform (idp: arm, 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 13:06:59 +0000
//
__int64 __fastcall cocos2d::extension::CCControl::registerWithTouchDispatcher(cocos2d::extension::CCControl *this)
{
__int64 v2; // x0
cocos2d::CCTouchDispatcher *v3; // x20
int v4; // w0
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);
v4 = (*(__int64 (__fastcall **)(cocos2d::extension::CCControl *))(*(_QWORD *)this + 1032LL))(this);
return cocos2d::CCTouchDispatcher::addTargetedDelegate(
v3,
(cocos2d::extension::CCControl *)((char *)this + 320),
v4,
1);
}