; ; cocos2d::CCLayer::registerScriptTouchHandler from 0x1800508a0 to 0x180050902 (98 bytes) ; ; 8 xrefs: ; > @ 0x1800ed260 ; > @ 0x1800ed720 ; > @ 0x1800edc58 ; > @ 0x1800ee1c0 ; > @ 0x1800ee798 ; > @ 0x1800f7068 ; > @ 0x1801438a8 ; > @ 0x1801b2028 ; ; 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, 0x1800508a0 mov [rsp+arg_8], rsi ; +0x5, 0x1800508a5 mov [rsp+arg_10], rdi ; +0xa, 0x1800508aa push r14 ; +0xf, 0x1800508af sub rsp, 20h ; +0x11, 0x1800508b1 mov rax, [rcx] ; +0x15, 0x1800508b5 mov ebx, r9d ; +0x18, 0x1800508b8 movzx edi, r8b ; +0x1b, 0x1800508bb mov esi, edx ; +0x1f, 0x1800508bf mov r14, rcx ; +0x21, 0x1800508c1 call qword ptr [rax+378h] ; +0x24, 0x1800508c4 movzx r9d, [rsp+28h+arg_20] ; +0x2a, 0x1800508ca mov r8d, ebx ; +0x30, 0x1800508d0 movzx edx, dil ; +0x33, 0x1800508d3 mov ecx, esi ; +0x37, 0x1800508d7 call sub_1800B6880 ; +0x39, 0x1800508d9 mov rcx, rax; this ; +0x3e, 0x1800508de mov [r14+170h], rax ; +0x41, 0x1800508e1 mov rbx, [rsp+28h+arg_0] ; +0x48, 0x1800508e8 mov rsi, [rsp+28h+arg_8] ; +0x4d, 0x1800508ed mov rdi, [rsp+28h+arg_10] ; +0x52, 0x1800508f2 add rsp, 20h ; +0x57, 0x1800508f7 pop r14 ; +0x5b, 0x1800508fb jmp ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x5d, 0x1800508fd