; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800125f0 mov [rsp+arg_8], rbp ; +0x5, 0x1800125f5 mov [rsp+arg_10], rsi ; +0xa, 0x1800125fa push rdi ; +0xf, 0x1800125ff sub rsp, 20h ; +0x10, 0x180012600 mov rbx, rcx ; +0x14, 0x180012604 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x17, 0x180012607 mov rcx, rbx ; +0x1d, 0x18001260d mov rdi, rax ; +0x20, 0x180012610 call cs:__imp_?getTouchPriority@CCLayer@cocos2d@@UEAAHXZ; cocos2d::CCLayer::getTouchPriority(void) ; +0x23, 0x180012613 mov r8, [rdi] ; +0x29, 0x180012619 lea rsi, [rbx+140h] ; +0x2c, 0x18001261c mov ebp, eax ; +0x33, 0x180012623 mov rcx, rdi ; +0x35, 0x180012625 xor eax, eax ; +0x38, 0x180012628 test rbx, rbx ; +0x3a, 0x18001262a cmovz rsi, rax ; +0x3d, 0x18001262d call qword ptr [r8+90h] ; +0x41, 0x180012631 xor r9d, r9d ; +0x48, 0x180012638 mov r8d, ebp ; +0x4b, 0x18001263b mov rcx, rax ; +0x4e, 0x18001263e mov rdx, rsi ; +0x51, 0x180012641 mov rbx, [rsp+28h+arg_0] ; +0x54, 0x180012644 mov rbp, [rsp+28h+arg_8] ; +0x59, 0x180012649 mov rsi, [rsp+28h+arg_10] ; +0x5e, 0x18001264e add rsp, 20h ; +0x63, 0x180012653 pop rdi ; +0x67, 0x180012657 jmp cs:?addTargetedDelegate@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCTouchDelegate@2@H_N@Z; cocos2d::CCTouchDispatcher::addTargetedDelegate(cocos2d::CCTouchDelegate *,int,bool) ; +0x68, 0x180012658