//
// cocos2d::CCMenu::registerWithTouchDispatcher from 0x100793280 to 0x1007932d0 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x10098c3f8
//
// 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::CCMenu::registerWithTouchDispatcher(cocos2d::CCMenu *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::CCMenu *))a1->getTouchPriority)(a1);
cocos2d::CCTouchDispatcher::addTargetedDelegate(v2, &a1->cocos2d::CCTouchDelegate, v3, 1);
}