//
// cocos2d::extension::CCControl::registerWithTouchDispatcher from 0x100351910 to 0x100351960 (80 bytes)
//
// 8 xrefs:
// > ??> @ 0x1009158f8
// > ??> @ 0x100915fd0
// > ??> @ 0x1009167f8
// > ??> @ 0x100917e38
// > ??> @ 0x1009249f8
// > ??> @ 0x100926e60
// > ??> @ 0x100928640
// > ??> @ 0x100947718
//
// 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 *v1; // rax
cocos2d::CCTouchDispatcher *v2; // r14
int v3; // eax
v1 = cocos2d::CCDirector::sharedDirector();
v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);
v3 = ((__int64 (__fastcall *)(cocos2d::extension::CCControl *))a1->getTouchPriority)(a1);
cocos2d::CCTouchDispatcher::addTargetedDelegate(v2, &a1->cocos2d::CCTouchDelegate, v3, 1);
}