//
// LevelSettingsLayer::registerWithTouchDispatcher from 0x10026ecc0 to 0x10026ed0f (79 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008ec7f8
//
// 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 *v1; // rax
cocos2d::CCTouchDispatcher *v2; // r14
cocos2d::CCDirector *v3; // rax
__int64 v4; // rax
v1 = cocos2d::CCDirector::sharedDirector();
v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);
v3 = cocos2d::CCDirector::sharedDirector();
v4 = ((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3);
cocos2d::CCTouchDispatcher::addTargetedDelegate(v2, &a1->cocos2d::CCTouchDelegate, *(_DWORD *)(v4 + 124) - 1, 1);
}