; ; cocos2d::extension::CCControlButton::ccTouchBegan from 0x180006df0 to 0x180006f01 (273 bytes) ; ; 4 xrefs: ; > @ 0x1800261d0 ; > @ 0x18002a148 ; > @ 0x180032408 ; > @ 0x18004b66c ; ; 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:36 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180006df0 mov [rsp+arg_8], rsi ; +0x5, 0x180006df5 push rdi ; +0xa, 0x180006dfa sub rsp, 20h ; +0xb, 0x180006dfb lea rdi, [rcx-140h] ; +0xf, 0x180006dff mov rsi, rcx ; +0x16, 0x180006e06 mov rax, [rdi] ; +0x19, 0x180006e09 mov rcx, rdi ; +0x1c, 0x180006e0c call qword ptr [rax+460h] ; +0x1f, 0x180006e0f test al, al ; +0x25, 0x180006e15 jz loc_180006EEF ; +0x27, 0x180006e17 mov rax, [rdi] ; +0x2d, 0x180006e1d mov rcx, rdi ; +0x30, 0x180006e20 call qword ptr [rax+410h] ; +0x33, 0x180006e23 test al, al ; +0x39, 0x180006e29 jz loc_180006EEF ; +0x3b, 0x180006e2b mov rax, [rdi] ; +0x41, 0x180006e31 mov rcx, rdi ; +0x44, 0x180006e34 call qword ptr [rax+158h] ; +0x47, 0x180006e37 test al, al ; +0x4d, 0x180006e3d jz loc_180006EEF ; +0x4f, 0x180006e3f mov rax, [rdi] ; +0x55, 0x180006e45 mov rcx, rdi ; +0x58, 0x180006e48 call qword ptr [rax+1F8h] ; +0x5b, 0x180006e4b mov rbx, rax ; +0x61, 0x180006e51 test rax, rax ; +0x64, 0x180006e54 jz short loc_180006E8A ; +0x67, 0x180006e57 nop dword ptr [rax+00000000h] ; +0x69, 0x180006e59 mov rcx, [rbx] ; +0x70, 0x180006e60 mov rdx, [rcx+158h] ; +0x73, 0x180006e63 mov rcx, rbx ; +0x7a, 0x180006e6a call rdx ; +0x7d, 0x180006e6d test al, al ; +0x7f, 0x180006e6f jz short loc_180006EEF ; +0x81, 0x180006e71 mov rcx, [rbx] ; +0x83, 0x180006e73 mov rax, [rcx+1F8h] ; +0x86, 0x180006e76 mov rcx, rbx ; +0x8d, 0x180006e7d call rax ; +0x90, 0x180006e80 mov rbx, rax ; +0x92, 0x180006e82 test rax, rax ; +0x95, 0x180006e85 jnz short loc_180006E60 ; +0x98, 0x180006e88 mov rbx, [rsi-68h] ; +0x9a, 0x180006e8a test rbx, rbx ; +0x9e, 0x180006e8e jz short loc_180006EB7 ; +0xa1, 0x180006e91 mov rax, [rbx] ; +0xa3, 0x180006e93 mov rcx, rbx ; +0xa6, 0x180006e96 call qword ptr [rax+158h] ; +0xa9, 0x180006e99 test al, al ; +0xaf, 0x180006e9f jz short loc_180006EEF ; +0xb1, 0x180006ea1 mov rax, [rbx] ; +0xb3, 0x180006ea3 mov rcx, rbx ; +0xb6, 0x180006ea6 call qword ptr [rax+1F8h] ; +0xb9, 0x180006ea9 mov rbx, rax ; +0xbf, 0x180006eaf test rax, rax ; +0xc2, 0x180006eb2 jnz short loc_180006E93 ; +0xc5, 0x180006eb5 mov rax, [rdi] ; +0xc7, 0x180006eb7 mov dl, 1 ; +0xca, 0x180006eba mov rcx, rdi ; +0xcc, 0x180006ebc mov byte ptr [rsi+0CCh], 1 ; +0xcf, 0x180006ebf call qword ptr [rax+428h] ; +0xd6, 0x180006ec6 mov rax, [rdi] ; +0xdc, 0x180006ecc mov edx, 1 ; +0xdf, 0x180006ecf mov rcx, rdi ; +0xe4, 0x180006ed4 call qword ptr [rax+440h] ; +0xe7, 0x180006ed7 mov al, 1 ; +0xed, 0x180006edd mov rbx, [rsp+28h+arg_0] ; +0xef, 0x180006edf mov rsi, [rsp+28h+arg_8] ; +0xf4, 0x180006ee4 add rsp, 20h ; +0xf9, 0x180006ee9 pop rdi ; +0xfd, 0x180006eed retn ; +0xfe, 0x180006eee mov rbx, [rsp+28h+arg_0] ; +0xff, 0x180006eef xor al, al ; +0x104, 0x180006ef4 mov rsi, [rsp+28h+arg_8] ; +0x106, 0x180006ef6 add rsp, 20h ; +0x10b, 0x180006efb pop rdi ; +0x10f, 0x180006eff retn ; +0x110, 0x180006f00