//
// cocos2d::extension::CCScrollView::registerWithTouchDispatcher from 0x7adc2a to 0x7adc52 (40 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:04 +0000
//
int __fastcall cocos2d::extension::CCScrollView::registerWithTouchDispatcher(cocos2d::extension::CCScrollView *this)
{
int v2; // r0
cocos2d::CCTouchDispatcher *v3; // r5
int TouchPriority; // r0
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 80))(v2);
TouchPriority = cocos2d::CCLayer::getTouchPriority(this);
return cocos2d::CCTouchDispatcher::addTargetedDelegate(
v3,
(cocos2d::extension::CCScrollView *)((char *)this + 264),
TouchPriority,
0);
}