; ; cocos2d::extension::CCScrollView::registerWithTouchDispatcher from 0x180012040 to 0x1800120bd (125 bytes) ; ; 4 xrefs: ; > @ 0x18002ad30 ; > @ 0x18002b2c8 ; > @ 0x180032408 ; > @ 0x18004c23c ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; 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:15:40 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180012040 mov [rsp+arg_8], rbp ; +0x5, 0x180012045 mov [rsp+arg_10], rsi ; +0xa, 0x18001204a mov [rsp+arg_18], rdi ; +0xf, 0x18001204f push r14 ; +0x14, 0x180012054 sub rsp, 20h ; +0x16, 0x180012056 mov rbp, rcx ; +0x1a, 0x18001205a call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1d, 0x18001205d mov rcx, rbp ; +0x23, 0x180012063 mov r14, rax ; +0x26, 0x180012066 mov rdx, [rax] ; +0x29, 0x180012069 mov rdi, [rdx+90h] ; +0x2c, 0x18001206c call cs:__imp_?getTouchPriority@CCLayer@cocos2d@@UEAAHXZ; cocos2d::CCLayer::getTouchPriority(void) ; +0x33, 0x180012073 lea rbx, [rbp+140h] ; +0x39, 0x180012079 mov rcx, r14 ; +0x40, 0x180012080 mov esi, eax ; +0x43, 0x180012083 xor eax, eax ; +0x45, 0x180012085 test rbp, rbp ; +0x47, 0x180012087 cmovz rbx, rax ; +0x4a, 0x18001208a call rdi ; +0x4e, 0x18001208e mov rcx, rax ; +0x50, 0x180012090 xor r9d, r9d ; +0x53, 0x180012093 mov r8d, esi ; +0x56, 0x180012096 mov rdx, rbx ; +0x59, 0x180012099 mov rbx, [rsp+28h+arg_0] ; +0x5c, 0x18001209c mov rbp, [rsp+28h+arg_8] ; +0x61, 0x1800120a1 mov rsi, [rsp+28h+arg_10] ; +0x66, 0x1800120a6 mov rdi, [rsp+28h+arg_18] ; +0x6b, 0x1800120ab add rsp, 20h ; +0x70, 0x1800120b0 pop r14 ; +0x74, 0x1800120b4 jmp cs:?addTargetedDelegate@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCTouchDelegate@2@H_N@Z; cocos2d::CCTouchDispatcher::addTargetedDelegate(cocos2d::CCTouchDelegate *,int,bool) ; +0x76, 0x1800120b6