{"type": "func", "start": 6443205552, "end": 6443205697, "name": "cocos2d::CCIMEDelegate::~CCIMEDelegate", "pseudocode": "// \n// cocos2d::CCIMEDelegate::~CCIMEDelegate from 0x1800b83b0 to 0x1800b8441 (145 bytes)\n// \n// 6 xrefs:\n// > sub_1800B84D0 @ 0x1800b852e\n// > cocos2d::CCTextFieldTTF::~CCTextFieldTTF @ 0x1800b8d33\n// > sub_1800E8D70 @ 0x1800e8d7e\n// > sub_1800B84D0 @ 0x1800b84ec\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2bd4\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\nvoid __fastcall cocos2d::CCIMEDelegate::~CCIMEDelegate(cocos2d::CCIMEDelegate *this)\n{\n  struct cocos2d::CCIMEDispatcher *v2; // r9\n  void ****v3; // r8\n  void **v4; // rdx\n  void **v5; // rcx\n  void ***v6; // rax\n  void ****v7; // r8\n\n  *(_QWORD *)this = &cocos2d::CCIMEDelegate::`vftable';\n  v2 = cocos2d::CCIMEDispatcher::sharedDispatcher();\n  v3 = *(void *****)v2;\n  if ( *(_QWORD *)v2 )\n  {\n    v4 = (void **)*v3;\n    v5 = **v3;\n    if ( v5 != (void **)*v3 )\n    {\n      while ( this != v5[2] )\n      {\n        v5 = (void **)*v5;\n        if ( v5 == v4 )\n          return;\n      }\n      if ( v4 != v5 )\n      {\n        v6 = v3[2];\n        if ( v6 )\n        {\n          if ( v5[2] == v6 )\n            v3[2] = nullptr;\n        }\n        v7 = *(void *****)v2;\n        *(_QWORD *)v5[1] = *v5;\n        *((_QWORD *)*v5 + 1) = v5[1];\n        v7[1] = (void ***)((char *)v7[1] - 1);\n        j_j_free_0(v5);\n      }\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCIMEDelegate::~CCIMEDelegate from 0x1800b83b0 to 0x1800b8441 (145 bytes)\n; \n; 6 xrefs:\n; > sub_1800B84D0 @ 0x1800b852e\n; > cocos2d::CCTextFieldTTF::~CCTextFieldTTF @ 0x1800b8d33\n; > sub_1800E8D70 @ 0x1800e8d7e\n; > sub_1800B84D0 @ 0x1800b84ec\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2bd4\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; \npush    rbx                                                            ; +0x0, 0x1800b83b0\nsub     rsp, 20h                                                       ; +0x2, 0x1800b83b2\nmov     rbx, rcx                                                       ; +0x6, 0x1800b83b6\nlea     rax, ??_7CCIMEDelegate@cocos2d@@6B@; const cocos2d::CCIMEDelegate::`vftable' ; +0x9, 0x1800b83b9\nmov     [rcx], rax                                                     ; +0x10, 0x1800b83c0\ncall    ?sharedDispatcher@CCIMEDispatcher@cocos2d@@SAPEAV12@XZ; cocos2d::CCIMEDispatcher::sharedDispatcher(void) ; +0x13, 0x1800b83c3\nmov     r9, rax                                                        ; +0x18, 0x1800b83c8\nmov     r8, [rax]                                                      ; +0x1b, 0x1800b83cb\ntest    r8, r8                                                         ; +0x1e, 0x1800b83ce\njz      short loc_1800B843B                                            ; +0x21, 0x1800b83d1\nmov     rdx, [r8]                                                      ; +0x23, 0x1800b83d3\nmov     rcx, [rdx]; Block                                              ; +0x26, 0x1800b83d6\ncmp     rcx, rdx                                                       ; +0x29, 0x1800b83d9\njz      short loc_1800B843B                                            ; +0x2c, 0x1800b83dc\nxchg    ax, ax                                                         ; +0x2e, 0x1800b83de\ncmp     rbx, [rcx+10h]                                                 ; +0x30, 0x1800b83e0\njz      short loc_1800B83F4                                            ; +0x34, 0x1800b83e4\nmov     rcx, [rcx]                                                     ; +0x36, 0x1800b83e6\ncmp     rcx, rdx                                                       ; +0x39, 0x1800b83e9\njnz     short loc_1800B83E0                                            ; +0x3c, 0x1800b83ec\nadd     rsp, 20h                                                       ; +0x3e, 0x1800b83ee\npop     rbx                                                            ; +0x42, 0x1800b83f2\nretn                                                                   ; +0x43, 0x1800b83f3\ncmp     rdx, rcx                                                       ; +0x44, 0x1800b83f4\njz      short loc_1800B843B                                            ; +0x47, 0x1800b83f7\nmov     rax, [r8+10h]                                                  ; +0x49, 0x1800b83f9\ntest    rax, rax                                                       ; +0x4d, 0x1800b83fd\njz      short loc_1800B8410                                            ; +0x50, 0x1800b8400\ncmp     [rcx+10h], rax                                                 ; +0x52, 0x1800b8402\njnz     short loc_1800B8410                                            ; +0x56, 0x1800b8406\nmov     qword ptr [r8+10h], 0                                          ; +0x58, 0x1800b8408\nmov     r8, [r9]                                                       ; +0x60, 0x1800b8410\nmov     rdx, [rcx+8]                                                   ; +0x63, 0x1800b8413\nmov     rax, [rcx]                                                     ; +0x67, 0x1800b8417\nmov     [rdx], rax                                                     ; +0x6a, 0x1800b841a\nmov     rdx, [rcx]                                                     ; +0x6d, 0x1800b841d\nmov     rax, [rcx+8]                                                   ; +0x70, 0x1800b8420\nmov     [rdx+8], rax                                                   ; +0x74, 0x1800b8424\ndec     qword ptr [r8+8]                                               ; +0x78, 0x1800b8428\nmov     edx, 18h                                                       ; +0x7c, 0x1800b842c\nadd     rsp, 20h                                                       ; +0x81, 0x1800b8431\npop     rbx                                                            ; +0x85, 0x1800b8435\njmp     j_j_free_0                                                     ; +0x86, 0x1800b8436\nadd     rsp, 20h                                                       ; +0x8b, 0x1800b843b\npop     rbx                                                            ; +0x8f, 0x1800b843f\nretn                                                                   ; +0x90, 0x1800b8440", "xrefs": ["sub_1800B84D0 @ 0x1800b852e", "cocos2d::CCTextFieldTTF::~CCTextFieldTTF @ 0x1800b8d33", "sub_1800E8D70 @ 0x1800e8d7e", "sub_1800B84D0 @ 0x1800b84ec", "<???> @ 0x18014cf68", "<???> @ 0x1801c2bd4"], "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"}