//
// OptionsScrollLayer::registerWithTouchDispatcher from 0xb8388c to 0xb838c4 (56 bytes)
//
// 2 xrefs:
// > ??> @ 0x42550
// > ??> @ 0x14d5288
//
// 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 13:02:29 +0000
//
__int64 __fastcall OptionsScrollLayer::registerWithTouchDispatcher(OptionsScrollLayer *this)
{
__int64 v2; // x0
cocos2d::CCTouchDispatcher *v3; // x0
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);
return cocos2d::CCTouchDispatcher::addTargetedDelegate(v3, (OptionsScrollLayer *)((char *)this + 320), -500, 1);
}