//
// LevelSettingsLayer::registerWithTouchDispatcher from 0x10020d4b0 to 0x10020d504 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008f6398
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:01:01 +0000
//
void __fastcall LevelSettingsLayer::registerWithTouchDispatcher(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x20
__int64 v4; // x0
__int64 v5; // x2
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);
v4 = cocos2d::CCDirector::sharedDirector();
v5 = (unsigned int)(*(_DWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4) + 128) - 1);
cocos2d::CCTouchDispatcher::addTargetedDelegate(v3, (void *)(a1 + 320), v5, 1);
}