//
// SliderTouchLogic::registerWithTouchDispatcher from 0x140071700 to 0x140071750 (80 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405370b8
// > ??> @ 0x1406c627c
//
// 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
//
void SliderTouchLogic::registerWithTouchDispatcher(SliderTouchLogic *a1)
{
__int64 v2; // rax
struct cocos2d::CCTouchDelegate *v3; // rdi
cocos2d::CCTouchDispatcher *v4; // rax
v2 = cocos2d::CCDirector::sharedDirector(a1);
v3 = &a1->cocos2d::CCTouchDelegate;
if ( !a1 )
v3 = nullptr;
v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCTouchDispatcher::addPrioTargetedDelegate(v4, v3, -500, 1);
}