; ; cocos2d::CCIMEDelegate::detachWithIME from 0x1800b8760 to 0x1800b87c6 (102 bytes) ; ; 4 xrefs: ; > cocos2d::CCTextFieldTTF::detachWithIME @ 0x1800b9206 ; > @ 0x18010cdf0 ; > @ 0x18014cf68 ; > @ 0x1801c2c58 ; ; 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_0], rbx ; +0x0, 0x1800b8760 push rdi ; +0x5, 0x1800b8765 sub rsp, 20h ; +0x6, 0x1800b8766 mov rbx, rcx ; +0xa, 0x1800b876a call ?sharedDispatcher@CCIMEDispatcher@cocos2d@@SAPEAV12@XZ; cocos2d::CCIMEDispatcher::sharedDispatcher(void) ; +0xd, 0x1800b876d mov rdi, rax ; +0x12, 0x1800b8772 mov rcx, [rax] ; +0x15, 0x1800b8775 test rcx, rcx ; +0x18, 0x1800b8778 jz short loc_1800B87B9 ; +0x1b, 0x1800b877b test rbx, rbx ; +0x1d, 0x1800b877d jz short loc_1800B87B9 ; +0x20, 0x1800b8780 cmp [rcx+10h], rbx ; +0x22, 0x1800b8782 jnz short loc_1800B87B9 ; +0x26, 0x1800b8786 mov rcx, [rbx] ; +0x28, 0x1800b8788 mov rdx, [rcx+28h] ; +0x2b, 0x1800b878b mov rcx, rbx ; +0x2f, 0x1800b878f call rdx ; +0x32, 0x1800b8792 test al, al ; +0x34, 0x1800b8794 jz short loc_1800B87B9 ; +0x36, 0x1800b8796 mov rax, [rdi] ; +0x38, 0x1800b8798 mov rcx, rbx ; +0x3b, 0x1800b879b mov qword ptr [rax+10h], 0 ; +0x3e, 0x1800b879e mov rax, [rbx] ; +0x46, 0x1800b87a6 call qword ptr [rax+30h] ; +0x49, 0x1800b87a9 mov al, 1 ; +0x4c, 0x1800b87ac mov rbx, [rsp+28h+arg_0] ; +0x4e, 0x1800b87ae add rsp, 20h ; +0x53, 0x1800b87b3 pop rdi ; +0x57, 0x1800b87b7 retn ; +0x58, 0x1800b87b8 mov rbx, [rsp+28h+arg_0] ; +0x59, 0x1800b87b9 xor al, al ; +0x5e, 0x1800b87be add rsp, 20h ; +0x60, 0x1800b87c0 pop rdi ; +0x64, 0x1800b87c4 retn ; +0x65, 0x1800b87c5