//
// LevelBrowserLayer::registerWithTouchDispatcher from 0x7fd0b4 to 0x7fd100 (76 bytes)
//
// 3 xrefs:
// > ??> @ 0x868d8
// > ??> @ 0x143e758
// > ??> @ 0x14dbd48
//
// 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 12:54:42 +0000
//
__int64 __fastcall LevelBrowserLayer::registerWithTouchDispatcher(LevelBrowserLayer *this)
{
__int64 v3; // x0
cocos2d::CCTouchDispatcher *v4; // x0
if ( !*((_BYTE *)this + 748) )
return cocos2d::CCLayer::registerWithTouchDispatcher(this);
v3 = cocos2d::CCDirector::sharedDirector(this);
v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3);
return cocos2d::CCTouchDispatcher::addTargetedDelegate(v4, (LevelBrowserLayer *)((char *)this + 320), -500, 1);
}