{"type": "func", "start": 6443206400, "end": 6443206494, "name": "cocos2d::CCIMEDispatcher::detachDelegateWithIME", "pseudocode": "// \n// cocos2d::CCIMEDispatcher::detachDelegateWithIME from 0x1800b8700 to 0x1800b875e (94 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2c4c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:22 +0000\n// \n\nchar __fastcall cocos2d::CCIMEDispatcher::detachDelegateWithIME(\n        cocos2d::CCIMEDispatcher *this,\n        struct cocos2d::CCIMEDelegate *a2)\n{\n  if ( !*(_QWORD *)this\n    || !a2\n    || *(struct cocos2d::CCIMEDelegate **)(*(_QWORD *)this + 16LL) != a2\n    || !(*(unsigned __int8 (__fastcall **)(struct cocos2d::CCIMEDelegate *))(*(_QWORD *)a2 + 40LL))(a2) )\n  {\n    return 0;\n  }\n  *(_QWORD *)(*(_QWORD *)this + 16LL) = 0;\n  (*(void (__fastcall **)(struct cocos2d::CCIMEDelegate *))(*(_QWORD *)a2 + 48LL))(a2);\n  return 1;\n}", "assembly": "; \n; cocos2d::CCIMEDispatcher::detachDelegateWithIME from 0x1800b8700 to 0x1800b875e (94 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2c4c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:22 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800b8700\npush    rdi                                                            ; +0x5, 0x1800b8705\nsub     rsp, 20h                                                       ; +0x6, 0x1800b8706\nmov     rax, [rcx]                                                     ; +0xa, 0x1800b870a\nmov     rbx, rdx                                                       ; +0xd, 0x1800b870d\nmov     rdi, rcx                                                       ; +0x10, 0x1800b8710\ntest    rax, rax                                                       ; +0x13, 0x1800b8713\njz      short loc_1800B8751                                            ; +0x16, 0x1800b8716\ntest    rdx, rdx                                                       ; +0x18, 0x1800b8718\njz      short loc_1800B8751                                            ; +0x1b, 0x1800b871b\ncmp     [rax+10h], rdx                                                 ; +0x1d, 0x1800b871d\njnz     short loc_1800B8751                                            ; +0x21, 0x1800b8721\nmov     rax, [rdx]                                                     ; +0x23, 0x1800b8723\nmov     rcx, rdx                                                       ; +0x26, 0x1800b8726\ncall    qword ptr [rax+28h]                                            ; +0x29, 0x1800b8729\ntest    al, al                                                         ; +0x2c, 0x1800b872c\njz      short loc_1800B8751                                            ; +0x2e, 0x1800b872e\nmov     rax, [rdi]                                                     ; +0x30, 0x1800b8730\nmov     rcx, rbx                                                       ; +0x33, 0x1800b8733\nmov     qword ptr [rax+10h], 0                                         ; +0x36, 0x1800b8736\nmov     rax, [rbx]                                                     ; +0x3e, 0x1800b873e\ncall    qword ptr [rax+30h]                                            ; +0x41, 0x1800b8741\nmov     al, 1                                                          ; +0x44, 0x1800b8744\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x46, 0x1800b8746\nadd     rsp, 20h                                                       ; +0x4b, 0x1800b874b\npop     rdi                                                            ; +0x4f, 0x1800b874f\nretn                                                                   ; +0x50, 0x1800b8750\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x51, 0x1800b8751\nxor     al, al                                                         ; +0x56, 0x1800b8756\nadd     rsp, 20h                                                       ; +0x58, 0x1800b8758\npop     rdi                                                            ; +0x5c, 0x1800b875c\nretn                                                                   ; +0x5d, 0x1800b875d", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c2c4c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}