//
// BoomScrollLayer::registerWithTouchDispatcher from 0x140041f30 to 0x140041f83 (83 bytes)
//
// 3 xrefs:
// > ??> @ 0x1407065a8
// > ??> @ 0x140714a10
// > ??> @ 0x14090f584
//
// This function is hookable on this platform (idp: pc, 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:25:29 +0000
//
// Merged with: BoomScrollLayer::registerWithTouchDispatcher, TableView::registerWithTouchDispatcher
void __fastcall BoomScrollLayer::registerWithTouchDispatcher(__int64 a1)
{
__int64 v2; // rax
struct cocos2d::CCTouchDelegate *v3; // rdi
cocos2d::CCTouchDispatcher *v4; // rax
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (struct cocos2d::CCTouchDelegate *)(a1 + 320);
if ( !a1 )
v3 = nullptr;
v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCTouchDispatcher::addPrioTargetedDelegate(v4, v3, -138, 0);
}