//
// BoomScrollLayer::registerWithTouchDispatcher from 0x14003e5f0 to 0x14003e640 (80 bytes)
//
// 3 xrefs:
// > ??> @ 0x14052ba70
// > ??> @ 0x140537a90
// > ??> @ 0x1406c408c
//
// 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
//
// Merged with: BoomScrollLayer::registerWithTouchDispatcher, TableView::registerWithTouchDispatcher
void __fastcall BoomScrollLayer::registerWithTouchDispatcher(struct cocos2d::CCTouchDelegate *a1)
{
__int64 v2; // rax
struct cocos2d::CCTouchDelegate *v3; // rdi
cocos2d::CCTouchDispatcher *v4; // rax
v2 = cocos2d::CCDirector::sharedDirector();
v3 = a1 + 40;
if ( !a1 )
v3 = nullptr;
v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCTouchDispatcher::addPrioTargetedDelegate(v4, v3, -138, 0);
}