; ; CCScrollLayerExt::registerWithTouchDispatcher from 0x1400475a0 to 0x1400475ee (78 bytes) ; ; 2 xrefs: ; > @ 0x1405303b8 ; > @ 0x1406c48d8 ; ; 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, 0x1400475a0 push rdi ; +0x5, 0x1400475a5 sub rsp, 20h ; +0x6, 0x1400475a6 mov rbx, rcx ; +0xa, 0x1400475aa call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x1400475ad xor ecx, ecx ; +0x13, 0x1400475b3 lea rdi, [rbx+140h] ; +0x15, 0x1400475b5 test rbx, rbx ; +0x1c, 0x1400475bc mov r8, [rax] ; +0x1f, 0x1400475bf cmovz rdi, rcx ; +0x22, 0x1400475c2 mov rcx, rax ; +0x26, 0x1400475c6 call qword ptr [r8+90h] ; +0x29, 0x1400475c9 xor r9d, r9d ; +0x30, 0x1400475d0 mov rdx, rdi ; +0x33, 0x1400475d3 mov rcx, rax ; +0x36, 0x1400475d6 lea r8d, [r9-80h] ; +0x39, 0x1400475d9 mov rbx, [rsp+28h+arg_0] ; +0x3d, 0x1400475dd add rsp, 20h ; +0x42, 0x1400475e2 pop rdi ; +0x46, 0x1400475e6 jmp cs:?addTargetedDelegate@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCTouchDelegate@2@H_N@Z; cocos2d::CCTouchDispatcher::addTargetedDelegate(cocos2d::CCTouchDelegate *,int,bool) ; +0x47, 0x1400475e7