//
// cocos2d::extension::CCControl::registerWithTouchDispatcher from 0xa995b0 to 0xa99600 (80 bytes)
//
// 9 xrefs:
// > ??> @ 0x5e968
// > ??> @ 0x11f4928
// > ??> @ 0x11f5088
// > ??> @ 0x11f5838
// > ??> @ 0x11f6d28
// > ??> @ 0x11f7a58
// > ??> @ 0x11f8708
// > ??> @ 0x11f8de8
// > ??> @ 0x11fa698
//
// 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 cocos2d::extension::CCControl::registerWithTouchDispatcher(cocos2d::extension::CCControl *a1)
{
cocos2d::CCDirector *v2; // x0
cocos2d::CCTouchDispatcher *v3; // x20
int v4; // w0
v2 = cocos2d::CCDirector::sharedDirector();
v3 = v2->getTouchDispatcher(v2);
v4 = a1->getTouchPriority(a1);
cocos2d::CCTouchDispatcher::addTargetedDelegate(v3, &a1->cocos2d::CCTouchDelegate, v4, 1);
}