; ; cocos2d::CCIMEDispatcher::attachDelegateWithIME from 0x1800b48e0 to 0x1800b49aa (202 bytes) ; ; 5 xrefs: ; > cocos2d::CCIMEDelegate::attachWithIME @ 0x1800b49c9 ; > @ 0x180141260 ; > @ 0x180141270 ; > @ 0x1801438a8 ; > @ 0x1801b8928 ; ; 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_8], rsi ; +0x0, 0x1800b48e0 mov [rsp+arg_10], rdi ; +0x5, 0x1800b48e5 push r14 ; +0xa, 0x1800b48ea sub rsp, 20h ; +0xc, 0x1800b48ec mov r14, rcx ; +0x10, 0x1800b48f0 xor sil, sil ; +0x13, 0x1800b48f3 mov rcx, [rcx] ; +0x16, 0x1800b48f6 mov rdi, rdx ; +0x19, 0x1800b48f9 test rcx, rcx ; +0x1c, 0x1800b48fc jz loc_1800B4995 ; +0x1f, 0x1800b48ff test rdx, rdx ; +0x25, 0x1800b4905 jz loc_1800B4995 ; +0x28, 0x1800b4908 mov rax, [rcx] ; +0x2e, 0x1800b490e mov [rsp+28h+arg_0], rbx ; +0x31, 0x1800b4911 mov rbx, [rax] ; +0x36, 0x1800b4916 cmp rbx, rax ; +0x39, 0x1800b4919 jz short loc_1800B4990 ; +0x3c, 0x1800b491c xchg ax, ax ; +0x3e, 0x1800b491e cmp rdi, [rbx+10h] ; +0x40, 0x1800b4920 jz short loc_1800B4930 ; +0x44, 0x1800b4924 mov rbx, [rbx] ; +0x46, 0x1800b4926 cmp rbx, rax ; +0x49, 0x1800b4929 jnz short loc_1800B4920 ; +0x4c, 0x1800b492c jmp short loc_1800B4990 ; +0x4e, 0x1800b492e cmp rax, rbx ; +0x50, 0x1800b4930 jz short loc_1800B4990 ; +0x53, 0x1800b4933 mov rcx, [rcx+10h] ; +0x55, 0x1800b4935 test rcx, rcx ; +0x59, 0x1800b4939 jz short loc_1800B496C ; +0x5c, 0x1800b493c mov rax, [rcx] ; +0x5e, 0x1800b493e call qword ptr [rax+28h] ; +0x61, 0x1800b4941 test al, al ; +0x64, 0x1800b4944 jz short loc_1800B4990 ; +0x66, 0x1800b4946 mov rax, [rdi] ; +0x68, 0x1800b4948 mov rcx, rdi ; +0x6b, 0x1800b494b call qword ptr [rax+18h] ; +0x6e, 0x1800b494e test al, al ; +0x71, 0x1800b4951 jz short loc_1800B4990 ; +0x73, 0x1800b4953 mov rax, [r14] ; +0x75, 0x1800b4955 mov rcx, [rax+10h] ; +0x78, 0x1800b4958 mov qword ptr [rax+10h], 0 ; +0x7c, 0x1800b495c mov rax, [rcx] ; +0x84, 0x1800b4964 call qword ptr [rax+30h] ; +0x87, 0x1800b4967 jmp short loc_1800B4979 ; +0x8a, 0x1800b496a mov rax, [rdx] ; +0x8c, 0x1800b496c mov rcx, rdi ; +0x8f, 0x1800b496f call qword ptr [rax+18h] ; +0x92, 0x1800b4972 test al, al ; +0x95, 0x1800b4975 jz short loc_1800B4990 ; +0x97, 0x1800b4977 mov rcx, [r14] ; +0x99, 0x1800b4979 mov rax, [rbx+10h] ; +0x9c, 0x1800b497c mov [rcx+10h], rax ; +0xa0, 0x1800b4980 mov rcx, rdi ; +0xa4, 0x1800b4984 mov rax, [rdi] ; +0xa7, 0x1800b4987 call qword ptr [rax+20h] ; +0xaa, 0x1800b498a mov sil, 1 ; +0xad, 0x1800b498d mov rbx, [rsp+28h+arg_0] ; +0xb0, 0x1800b4990 mov rdi, [rsp+28h+arg_10] ; +0xb5, 0x1800b4995 movzx eax, sil ; +0xba, 0x1800b499a mov rsi, [rsp+28h+arg_8] ; +0xbe, 0x1800b499e add rsp, 20h ; +0xc3, 0x1800b49a3 pop r14 ; +0xc7, 0x1800b49a7 retn ; +0xc9, 0x1800b49a9