//
// LevelSettingsLayer::registerWithTouchDispatcher from 0x10017bde0 to 0x10017be34 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007a0838
//
// 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 LevelSettingsLayer::registerWithTouchDispatcher(LevelSettingsLayer *a1)
{
cocos2d::CCDirector *v2; // x0
cocos2d::CCTouchDispatcher *v3; // x20
cocos2d::CCDirector *v4; // x0
int v5; // w2
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getTouchDispatcher)(v2);
v4 = cocos2d::CCDirector::sharedDirector();
v5 = *(_DWORD *)(((__int64 (__fastcall *)(cocos2d::CCDirector *))v4->getTouchDispatcher)(v4) + 124) - 1;
cocos2d::CCTouchDispatcher::addTargetedDelegate(v3, &a1->cocos2d::CCTouchDelegate, v5, 1);
}