{"type": "func", "start": 6442472928, "end": 6442473041, "name": "sub_1800055E0", "pseudocode": "// \n// sub_1800055E0 from 0x1800055e0 to 0x180005651 (113 bytes)\n// \n// 4 xrefs:\n// > cocos2d::extension::CCControl::~CCControl @ 0x180004323\n// > cocos2d::extension::CCScrollView::~CCScrollView @ 0x18001231c\n// > sub_18001DE30 @ 0x18001de3f\n// > <???> @ 0x180049510\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 sub_1800055E0(void **a1, __int64 a2)\n{\n  _QWORD *v4; // rbx\n  void *v5; // rcx\n\n  v4 = *((_QWORD **)*a1 + 1);\n  while ( !*((_BYTE *)v4 + 25) )\n  {\n    sub_180005580((__int64)a1, a2, v4[2]);\n    v5 = v4;\n    v4 = (_QWORD *)*v4;\n    j_j_free(v5);\n  }\n  j_j_free(*a1);\n}", "assembly": "; \n; sub_1800055E0 from 0x1800055e0 to 0x180005651 (113 bytes)\n; \n; 4 xrefs:\n; > cocos2d::extension::CCControl::~CCControl @ 0x180004323\n; > cocos2d::extension::CCScrollView::~CCScrollView @ 0x18001231c\n; > sub_18001DE30 @ 0x18001de3f\n; > <???> @ 0x180049510\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_0], rbx                                               ; +0x0, 0x1800055e0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800055e5\npush    rdi                                                            ; +0xa, 0x1800055ea\nsub     rsp, 20h                                                       ; +0xb, 0x1800055eb\nmov     rbx, [rcx]                                                     ; +0xf, 0x1800055ef\nmov     rsi, rdx                                                       ; +0x12, 0x1800055f2\nmov     rdi, rcx                                                       ; +0x15, 0x1800055f5\nmov     rbx, [rbx+8]                                                   ; +0x18, 0x1800055f8\ncmp     byte ptr [rbx+19h], 0                                          ; +0x1c, 0x1800055fc\njnz     short loc_180005635                                            ; +0x20, 0x180005600\nnop     dword ptr [rax+00h]                                            ; +0x22, 0x180005602\nnop     word ptr [rax+rax+00000000h]                                   ; +0x26, 0x180005606\nmov     r8, [rbx+10h]                                                  ; +0x30, 0x180005610\nmov     rdx, rsi                                                       ; +0x34, 0x180005614\nmov     rcx, rdi                                                       ; +0x37, 0x180005617\ncall    sub_180005580                                                  ; +0x3a, 0x18000561a\nmov     rcx, rbx; Block                                                ; +0x3f, 0x18000561f\nmov     edx, 28h ; '('                                                 ; +0x42, 0x180005622\nmov     rbx, [rbx]                                                     ; +0x47, 0x180005627\ncall    j_j_free                                                       ; +0x4a, 0x18000562a\ncmp     byte ptr [rbx+19h], 0                                          ; +0x4f, 0x18000562f\njz      short loc_180005610                                            ; +0x53, 0x180005633\nmov     rcx, [rdi]; Block                                              ; +0x55, 0x180005635\nmov     edx, 28h ; '('                                                 ; +0x58, 0x180005638\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5d, 0x18000563d\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x62, 0x180005642\nadd     rsp, 20h                                                       ; +0x67, 0x180005647\npop     rdi                                                            ; +0x6b, 0x18000564b\njmp     j_j_free                                                       ; +0x6c, 0x18000564c", "xrefs": ["cocos2d::extension::CCControl::~CCControl @ 0x180004323", "cocos2d::extension::CCScrollView::~CCScrollView @ 0x18001231c", "sub_18001DE30 @ 0x18001de3f", "<???> @ 0x180049510"], "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"}