//
// cocos2d::extension::CCControl::registerWithTouchDispatcher from 0x5a0906 to 0x5a0932 (44 bytes)
//
// 0 xrefs:
//
// 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; // r0
cocos2d::CCTouchDispatcher *v3; // r5
int v4; // r0
v2 = cocos2d::CCDirector::sharedDirector();
v3 = v2->getTouchDispatcher(v2);
v4 = a1->getTouchPriority(a1);
cocos2d::CCTouchDispatcher::addTargetedDelegate(v3, &a1->cocos2d::CCTouchDelegate, v4, 1);
}