{"type": "func", "start": 6442471552, "end": 6442471665, "name": "sub_180005080", "pseudocode": "// \n// sub_180005080 from 0x180005080 to 0x1800050f1 (113 bytes)\n// \n// 4 xrefs:\n// > cocos2d::extension::CCControl::~CCControl @ 0x180003d23\n// > cocos2d::extension::CCScrollView::~CCScrollView @ 0x180011d64\n// > sub_18001DB20 @ 0x18001db2f\n// > <???> @ 0x18004b45c\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 12:15:35 +0000\n// \n\nvoid __fastcall sub_180005080(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_180005020((__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_180005080 from 0x180005080 to 0x1800050f1 (113 bytes)\n; \n; 4 xrefs:\n; > cocos2d::extension::CCControl::~CCControl @ 0x180003d23\n; > cocos2d::extension::CCScrollView::~CCScrollView @ 0x180011d64\n; > sub_18001DB20 @ 0x18001db2f\n; > <???> @ 0x18004b45c\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 12:15:35 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180005080\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180005085\npush    rdi                                                            ; +0xa, 0x18000508a\nsub     rsp, 20h                                                       ; +0xb, 0x18000508b\nmov     rbx, [rcx]                                                     ; +0xf, 0x18000508f\nmov     rsi, rdx                                                       ; +0x12, 0x180005092\nmov     rdi, rcx                                                       ; +0x15, 0x180005095\nmov     rbx, [rbx+8]                                                   ; +0x18, 0x180005098\ncmp     byte ptr [rbx+19h], 0                                          ; +0x1c, 0x18000509c\njnz     short loc_1800050D5                                            ; +0x20, 0x1800050a0\nnop     dword ptr [rax+00h]                                            ; +0x22, 0x1800050a2\nnop     word ptr [rax+rax+00000000h]                                   ; +0x26, 0x1800050a6\nmov     r8, [rbx+10h]                                                  ; +0x30, 0x1800050b0\nmov     rdx, rsi                                                       ; +0x34, 0x1800050b4\nmov     rcx, rdi                                                       ; +0x37, 0x1800050b7\ncall    sub_180005020                                                  ; +0x3a, 0x1800050ba\nmov     rcx, rbx; Block                                                ; +0x3f, 0x1800050bf\nmov     edx, 28h ; '('                                                 ; +0x42, 0x1800050c2\nmov     rbx, [rbx]                                                     ; +0x47, 0x1800050c7\ncall    j_j_free                                                       ; +0x4a, 0x1800050ca\ncmp     byte ptr [rbx+19h], 0                                          ; +0x4f, 0x1800050cf\njz      short loc_1800050B0                                            ; +0x53, 0x1800050d3\nmov     rcx, [rdi]; Block                                              ; +0x55, 0x1800050d5\nmov     edx, 28h ; '('                                                 ; +0x58, 0x1800050d8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5d, 0x1800050dd\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x62, 0x1800050e2\nadd     rsp, 20h                                                       ; +0x67, 0x1800050e7\npop     rdi                                                            ; +0x6b, 0x1800050eb\njmp     j_j_free                                                       ; +0x6c, 0x1800050ec", "xrefs": ["cocos2d::extension::CCControl::~CCControl @ 0x180003d23", "cocos2d::extension::CCScrollView::~CCScrollView @ 0x180011d64", "sub_18001DB20 @ 0x18001db2f", "<???> @ 0x18004b45c"], "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"}