; ; cocos2d::CCLayer::registerScriptTouchHandler from 0x1800526c0 to 0x180052722 (98 bytes) ; ; 8 xrefs: ; > @ 0x1800f33c0 ; > @ 0x1800f38a0 ; > @ 0x1800f3df8 ; > @ 0x1800f4380 ; > @ 0x1800f4978 ; > @ 0x1800fd4b0 ; > @ 0x18014cf68 ; > @ 0x1801bc2bc ; ; 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 11:21:45 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800526c0 mov [rsp+arg_8], rsi ; +0x5, 0x1800526c5 mov [rsp+arg_10], rdi ; +0xa, 0x1800526ca push r14 ; +0xf, 0x1800526cf sub rsp, 20h ; +0x11, 0x1800526d1 mov rax, [rcx] ; +0x15, 0x1800526d5 mov ebx, r9d ; +0x18, 0x1800526d8 movzx edi, r8b ; +0x1b, 0x1800526db mov esi, edx ; +0x1f, 0x1800526df mov r14, rcx ; +0x21, 0x1800526e1 call qword ptr [rax+388h] ; +0x24, 0x1800526e4 movzx r9d, [rsp+28h+arg_20] ; +0x2a, 0x1800526ea mov r8d, ebx ; +0x30, 0x1800526f0 movzx edx, dil ; +0x33, 0x1800526f3 mov ecx, esi ; +0x37, 0x1800526f7 call cocos2d__CCTouchScriptHandlerEntry__create ; +0x39, 0x1800526f9 mov rcx, rax; this ; +0x3e, 0x1800526fe mov [r14+170h], rax ; +0x41, 0x180052701 mov rbx, [rsp+28h+arg_0] ; +0x48, 0x180052708 mov rsi, [rsp+28h+arg_8] ; +0x4d, 0x18005270d mov rdi, [rsp+28h+arg_10] ; +0x52, 0x180052712 add rsp, 20h ; +0x57, 0x180052717 pop r14 ; +0x5b, 0x18005271b jmp ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x5d, 0x18005271d