; ; cocos2d::CCIMEDispatcher::attachDelegateWithIME from 0x1800b8610 to 0x1800b86da (202 bytes) ; ; 5 xrefs: ; > cocos2d::CCIMEDelegate::attachWithIME @ 0x1800b86f9 ; > @ 0x18014a5ec ; > @ 0x18014a5fc ; > @ 0x18014cf68 ; > @ 0x1801c2c1c ; ; 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:22:22 +0000 ; mov [rsp+arg_8], rsi ; +0x0, 0x1800b8610 mov [rsp+arg_10], rdi ; +0x5, 0x1800b8615 push r14 ; +0xa, 0x1800b861a sub rsp, 20h ; +0xc, 0x1800b861c mov r14, rcx ; +0x10, 0x1800b8620 xor sil, sil ; +0x13, 0x1800b8623 mov rcx, [rcx] ; +0x16, 0x1800b8626 mov rdi, rdx ; +0x19, 0x1800b8629 test rcx, rcx ; +0x1c, 0x1800b862c jz loc_1800B86C5 ; +0x1f, 0x1800b862f test rdx, rdx ; +0x25, 0x1800b8635 jz loc_1800B86C5 ; +0x28, 0x1800b8638 mov rax, [rcx] ; +0x2e, 0x1800b863e mov [rsp+28h+arg_0], rbx ; +0x31, 0x1800b8641 mov rbx, [rax] ; +0x36, 0x1800b8646 cmp rbx, rax ; +0x39, 0x1800b8649 jz short loc_1800B86C0 ; +0x3c, 0x1800b864c xchg ax, ax ; +0x3e, 0x1800b864e cmp rdi, [rbx+10h] ; +0x40, 0x1800b8650 jz short loc_1800B8660 ; +0x44, 0x1800b8654 mov rbx, [rbx] ; +0x46, 0x1800b8656 cmp rbx, rax ; +0x49, 0x1800b8659 jnz short loc_1800B8650 ; +0x4c, 0x1800b865c jmp short loc_1800B86C0 ; +0x4e, 0x1800b865e cmp rax, rbx ; +0x50, 0x1800b8660 jz short loc_1800B86C0 ; +0x53, 0x1800b8663 mov rcx, [rcx+10h] ; +0x55, 0x1800b8665 test rcx, rcx ; +0x59, 0x1800b8669 jz short loc_1800B869C ; +0x5c, 0x1800b866c mov rax, [rcx] ; +0x5e, 0x1800b866e call qword ptr [rax+28h] ; +0x61, 0x1800b8671 test al, al ; +0x64, 0x1800b8674 jz short loc_1800B86C0 ; +0x66, 0x1800b8676 mov rax, [rdi] ; +0x68, 0x1800b8678 mov rcx, rdi ; +0x6b, 0x1800b867b call qword ptr [rax+18h] ; +0x6e, 0x1800b867e test al, al ; +0x71, 0x1800b8681 jz short loc_1800B86C0 ; +0x73, 0x1800b8683 mov rax, [r14] ; +0x75, 0x1800b8685 mov rcx, [rax+10h] ; +0x78, 0x1800b8688 mov qword ptr [rax+10h], 0 ; +0x7c, 0x1800b868c mov rax, [rcx] ; +0x84, 0x1800b8694 call qword ptr [rax+30h] ; +0x87, 0x1800b8697 jmp short loc_1800B86A9 ; +0x8a, 0x1800b869a mov rax, [rdx] ; +0x8c, 0x1800b869c mov rcx, rdi ; +0x8f, 0x1800b869f call qword ptr [rax+18h] ; +0x92, 0x1800b86a2 test al, al ; +0x95, 0x1800b86a5 jz short loc_1800B86C0 ; +0x97, 0x1800b86a7 mov rcx, [r14] ; +0x99, 0x1800b86a9 mov rax, [rbx+10h] ; +0x9c, 0x1800b86ac mov [rcx+10h], rax ; +0xa0, 0x1800b86b0 mov rcx, rdi ; +0xa4, 0x1800b86b4 mov rax, [rdi] ; +0xa7, 0x1800b86b7 call qword ptr [rax+20h] ; +0xaa, 0x1800b86ba mov sil, 1 ; +0xad, 0x1800b86bd mov rbx, [rsp+28h+arg_0] ; +0xb0, 0x1800b86c0 mov rdi, [rsp+28h+arg_10] ; +0xb5, 0x1800b86c5 movzx eax, sil ; +0xba, 0x1800b86ca mov rsi, [rsp+28h+arg_8] ; +0xbe, 0x1800b86ce add rsp, 20h ; +0xc3, 0x1800b86d3 pop r14 ; +0xc7, 0x1800b86d7 retn ; +0xc9, 0x1800b86d9