{"type": "func", "start": 6442553168, "end": 6442553273, "name": "sub_180018F50", "pseudocode": "// \n// sub_180018F50 from 0x180018f50 to 0x180018fb9 (105 bytes)\n// \n// 8 xrefs:\n// > cocos2d::extension::CCHttpResponse::~CCHttpResponse @ 0x180018e62\n// > cocos2d::extension::CCHttpResponse::~CCHttpResponse @ 0x180018e6b\n// > sub_180018E80 @ 0x180018f0a\n// > sub_180018E80 @ 0x180018f13\n// > sub_180018FC0 @ 0x180018fc0\n// > cocos2d::extension::CCHttpRequest::~CCHttpRequest @ 0x18001cdde\n// > sub_18001D240 @ 0x18001d2d2\n// > <???> @ 0x18004cb24\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_180018F50(__int64 a1)\n{\n  _QWORD *v2; // rcx\n\n  v2 = *(_QWORD **)a1;\n  if ( v2 )\n  {\n    if ( *(_QWORD *)(a1 + 16) - (_QWORD)v2 >= 0x1000u )\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_180018F50 from 0x180018f50 to 0x180018fb9 (105 bytes)\n; \n; 8 xrefs:\n; > cocos2d::extension::CCHttpResponse::~CCHttpResponse @ 0x180018e62\n; > cocos2d::extension::CCHttpResponse::~CCHttpResponse @ 0x180018e6b\n; > sub_180018E80 @ 0x180018f0a\n; > sub_180018E80 @ 0x180018f13\n; > sub_180018FC0 @ 0x180018fc0\n; > cocos2d::extension::CCHttpRequest::~CCHttpRequest @ 0x18001cdde\n; > sub_18001D240 @ 0x18001d2d2\n; > <???> @ 0x18004cb24\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, 0x180018f50\nsub     rsp, 30h                                                       ; +0x2, 0x180018f52\nmov     rbx, rcx                                                       ; +0x6, 0x180018f56\nmov     rcx, [rcx]                                                     ; +0x9, 0x180018f59\ntest    rcx, rcx                                                       ; +0xc, 0x180018f5c\njz      short loc_180018F9B                                            ; +0xf, 0x180018f5f\nmov     rdx, [rbx+10h]                                                 ; +0x11, 0x180018f61\nsub     rdx, rcx                                                       ; +0x15, 0x180018f65\ncmp     rdx, 1000h                                                     ; +0x18, 0x180018f68\njb      short loc_180018F89                                            ; +0x1f, 0x180018f6f\nmov     rax, [rcx-8]                                                   ; +0x21, 0x180018f71\nadd     rdx, 27h ; '''                                                 ; +0x25, 0x180018f75\nsub     rcx, rax                                                       ; +0x29, 0x180018f79\nsub     rcx, 8                                                         ; +0x2c, 0x180018f7c\ncmp     rcx, 1Fh                                                       ; +0x30, 0x180018f80\nja      short loc_180018FA1                                            ; +0x34, 0x180018f84\nmov     rcx, rax; Block                                                ; +0x36, 0x180018f86\ncall    j_j_free                                                       ; +0x39, 0x180018f89\nxor     eax, eax                                                       ; +0x3e, 0x180018f8e\nmov     [rbx], rax                                                     ; +0x40, 0x180018f90\nmov     [rbx+8], rax                                                   ; +0x43, 0x180018f93\nmov     [rbx+10h], rax                                                 ; +0x47, 0x180018f97\nadd     rsp, 30h                                                       ; +0x4b, 0x180018f9b\npop     rbx                                                            ; +0x4f, 0x180018f9f\nretn                                                                   ; +0x50, 0x180018fa0\nxor     eax, eax                                                       ; +0x51, 0x180018fa1\nxor     r9d, r9d; LineNo                                               ; +0x53, 0x180018fa3\nxor     r8d, r8d; FileName                                             ; +0x56, 0x180018fa6\nmov     [rsp+38h+Reserved], rax; Reserved                              ; +0x59, 0x180018fa9\nxor     edx, edx; FunctionName                                         ; +0x5e, 0x180018fae\nxor     ecx, ecx; Expression                                           ; +0x60, 0x180018fb0\ncall    cs:_invoke_watson                                              ; +0x62, 0x180018fb2\ndb 0CCh                                                                ; +0x68, 0x180018fb8", "xrefs": ["cocos2d::extension::CCHttpResponse::~CCHttpResponse @ 0x180018e62", "cocos2d::extension::CCHttpResponse::~CCHttpResponse @ 0x180018e6b", "sub_180018E80 @ 0x180018f0a", "sub_180018E80 @ 0x180018f13", "sub_180018FC0 @ 0x180018fc0", "cocos2d::extension::CCHttpRequest::~CCHttpRequest @ 0x18001cdde", "sub_18001D240 @ 0x18001d2d2", "<???> @ 0x18004cb24"], "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"}