{"type": "func", "start": 6442543824, "end": 6442543933, "name": "sub_180016AD0", "pseudocode": "// \n// sub_180016AD0 from 0x180016ad0 to 0x180016b3d (109 bytes)\n// \n// 2 xrefs:\n// > cocos2d::extension::CCTableView::~CCTableView @ 0x180014b8d\n// > <???> @ 0x18004c8e4\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:42 +0000\n// \n\nvoid __fastcall sub_180016AD0(__int64 a1)\n{\n  _QWORD *v2; // rcx\n\n  v2 = *(_QWORD **)a1;\n  if ( v2 )\n  {\n    if ( ((*(_QWORD *)(a1 + 16) - (_QWORD)v2) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 )\n    {\n      if ( (unsigned __int64)v2 - *(v2 - 1) - 8 > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      v2 = (_QWORD *)*(v2 - 1);\n    }\n    j_j_free(v2);\n    *(_QWORD *)a1 = 0;\n    *(_QWORD *)(a1 + 8) = 0;\n    *(_QWORD *)(a1 + 16) = 0;\n  }\n}", "assembly": "; \n; sub_180016AD0 from 0x180016ad0 to 0x180016b3d (109 bytes)\n; \n; 2 xrefs:\n; > cocos2d::extension::CCTableView::~CCTableView @ 0x180014b8d\n; > <???> @ 0x18004c8e4\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:42 +0000\n; \npush    rbx                                                            ; +0x0, 0x180016ad0\nsub     rsp, 30h                                                       ; +0x2, 0x180016ad2\nmov     rbx, rcx                                                       ; +0x6, 0x180016ad6\nmov     rcx, [rcx]                                                     ; +0x9, 0x180016ad9\ntest    rcx, rcx                                                       ; +0xc, 0x180016adc\njz      short loc_180016B1F                                            ; +0xf, 0x180016adf\nmov     rdx, [rbx+10h]                                                 ; +0x11, 0x180016ae1\nsub     rdx, rcx                                                       ; +0x15, 0x180016ae5\nand     rdx, 0FFFFFFFFFFFFFFFCh                                        ; +0x18, 0x180016ae8\ncmp     rdx, 1000h                                                     ; +0x1c, 0x180016aec\njb      short loc_180016B0D                                            ; +0x23, 0x180016af3\nmov     rax, [rcx-8]                                                   ; +0x25, 0x180016af5\nadd     rdx, 27h ; '''                                                 ; +0x29, 0x180016af9\nsub     rcx, rax                                                       ; +0x2d, 0x180016afd\nsub     rcx, 8                                                         ; +0x30, 0x180016b00\ncmp     rcx, 1Fh                                                       ; +0x34, 0x180016b04\nja      short loc_180016B25                                            ; +0x38, 0x180016b08\nmov     rcx, rax; Block                                                ; +0x3a, 0x180016b0a\ncall    j_j_free                                                       ; +0x3d, 0x180016b0d\nxor     eax, eax                                                       ; +0x42, 0x180016b12\nmov     [rbx], rax                                                     ; +0x44, 0x180016b14\nmov     [rbx+8], rax                                                   ; +0x47, 0x180016b17\nmov     [rbx+10h], rax                                                 ; +0x4b, 0x180016b1b\nadd     rsp, 30h                                                       ; +0x4f, 0x180016b1f\npop     rbx                                                            ; +0x53, 0x180016b23\nretn                                                                   ; +0x54, 0x180016b24\nxor     eax, eax                                                       ; +0x55, 0x180016b25\nxor     r9d, r9d; LineNo                                               ; +0x57, 0x180016b27\nxor     r8d, r8d; FileName                                             ; +0x5a, 0x180016b2a\nmov     [rsp+38h+Reserved], rax; Reserved                              ; +0x5d, 0x180016b2d\nxor     edx, edx; FunctionName                                         ; +0x62, 0x180016b32\nxor     ecx, ecx; Expression                                           ; +0x64, 0x180016b34\ncall    cs:_invoke_watson                                              ; +0x66, 0x180016b36\ndb 0CCh                                                                ; +0x6c, 0x180016b3c", "xrefs": ["cocos2d::extension::CCTableView::~CCTableView @ 0x180014b8d", "<???> @ 0x18004c8e4"], "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"}