// // cocos2d::extension::CCScrollView::registerWithTouchDispatcher from 0x1800125f0 to 0x18001265f (111 bytes) // // 4 xrefs: // > @ 0x180028698 // > @ 0x180028c10 // > @ 0x18002fdf8 // > @ 0x18004a35c // // 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 __fastcall cocos2d::extension::CCScrollView::registerWithTouchDispatcher( cocos2d::extension::CCScrollView *this, __int64 a2) { __int64 v3; // rdi struct cocos2d::CCTouchDelegate *v4; // rsi int TouchPriority; // ebp cocos2d::CCTouchDispatcher *v6; // rax v3 = cocos2d::CCDirector::sharedDirector(this, a2); v4 = (cocos2d::extension::CCScrollView *)((char *)this + 320); TouchPriority = cocos2d::CCLayer::getTouchPriority(this); if ( !this ) v4 = nullptr; v6 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3); cocos2d::CCTouchDispatcher::addTargetedDelegate(v6, v4, TouchPriority, 0); }