{"type": "func", "start": 6443190048, "end": 6443190166, "name": "cocos2d::CCIMEDispatcher::~CCIMEDispatcher", "pseudocode": "// \n// cocos2d::CCIMEDispatcher::~CCIMEDispatcher from 0x1800b4720 to 0x1800b4796 (118 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180141134\n// > <???> @ 0x180141144\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b88ec\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCIMEDispatcher::~CCIMEDispatcher(cocos2d::CCIMEDispatcher *this)\n{\n  void **m_pImpl; // rdi\n  _QWORD **v3; // rdx\n  _QWORD *v4; // rcx\n  _QWORD *v5; // rbx\n\n  m_pImpl = (void **)this->m_pImpl;\n  if ( this->m_pImpl )\n  {\n    v3 = (_QWORD **)*m_pImpl;\n    **((_QWORD **)*m_pImpl + 1) = 0;\n    v4 = *v3;\n    if ( *v3 )\n    {\n      do\n      {\n        v5 = (_QWORD *)*v4;\n        j_j_free_0(v4);\n        v4 = v5;\n      }\n      while ( v5 );\n    }\n    j_j_free_0(*m_pImpl);\n    j_j_free_0(m_pImpl);\n    this->m_pImpl = nullptr;\n  }\n}", "assembly": "; \n; cocos2d::CCIMEDispatcher::~CCIMEDispatcher from 0x1800b4720 to 0x1800b4796 (118 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180141134\n; > <???> @ 0x180141144\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b88ec\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rsi                                               ; +0x0, 0x1800b4720\npush    rdi                                                            ; +0x5, 0x1800b4725\nsub     rsp, 20h                                                       ; +0x6, 0x1800b4726\nmov     rdi, [rcx]                                                     ; +0xa, 0x1800b472a\nmov     rsi, rcx                                                       ; +0xd, 0x1800b472d\ntest    rdi, rdi                                                       ; +0x10, 0x1800b4730\njz      short loc_1800B478B                                            ; +0x13, 0x1800b4733\nmov     rdx, [rdi]                                                     ; +0x15, 0x1800b4735\nmov     rax, [rdx+8]                                                   ; +0x18, 0x1800b4738\nmov     qword ptr [rax], 0                                             ; +0x1c, 0x1800b473c\nmov     rcx, [rdx]; Block                                              ; +0x23, 0x1800b4743\ntest    rcx, rcx                                                       ; +0x26, 0x1800b4746\njz      short loc_1800B476A                                            ; +0x29, 0x1800b4749\nmov     [rsp+28h+arg_0], rbx                                           ; +0x2b, 0x1800b474b\nmov     rbx, [rcx]                                                     ; +0x30, 0x1800b4750\nmov     edx, 18h                                                       ; +0x33, 0x1800b4753\ncall    j_j_free_0                                                     ; +0x38, 0x1800b4758\nmov     rcx, rbx                                                       ; +0x3d, 0x1800b475d\ntest    rbx, rbx                                                       ; +0x40, 0x1800b4760\njnz     short loc_1800B4750                                            ; +0x43, 0x1800b4763\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x45, 0x1800b4765\nmov     rcx, [rdi]; Block                                              ; +0x4a, 0x1800b476a\nmov     edx, 18h                                                       ; +0x4d, 0x1800b476d\ncall    j_j_free_0                                                     ; +0x52, 0x1800b4772\nmov     edx, 18h                                                       ; +0x57, 0x1800b4777\nmov     rcx, rdi; Block                                                ; +0x5c, 0x1800b477c\ncall    j_j_free_0                                                     ; +0x5f, 0x1800b477f\nmov     qword ptr [rsi], 0                                             ; +0x64, 0x1800b4784\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x6b, 0x1800b478b\nadd     rsp, 20h                                                       ; +0x70, 0x1800b4790\npop     rdi                                                            ; +0x74, 0x1800b4794\nretn                                                                   ; +0x75, 0x1800b4795", "xrefs": ["<???> @ 0x180141134", "<???> @ 0x180141144", "<???> @ 0x1801438a8", "<???> @ 0x1801b88ec"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}