{"type": "func", "start": 6442504672, "end": 6442504829, "name": "sub_18000D1E0", "pseudocode": "// \n// sub_18000D1E0 from 0x18000d1e0 to 0x18000d27d (157 bytes)\n// \n// 26 xrefs:\n// > cocos2d::CCFileUtils::~CCFileUtils @ 0x18006f27e\n// > cocos2d::CCFileUtils::~CCFileUtils @ 0x18006f291\n// > sub_180075110 @ 0x180075116\n// > sub_1800E6120 @ 0x1800e6127\n// > sub_1800E6140 @ 0x1800e6147\n// > sub_1800E6150 @ 0x1800e6157\n// > sub_1800E6530 @ 0x1800e654b\n// > unknown_libname_6 @ 0x1800e6597\n// > sub_1800E6600 @ 0x1800e6607\n// > sub_1800E7DA0 @ 0x1800e7dab\n// > sub_1800E7DB0 @ 0x1800e7dbb\n// > sub_1800E8210 @ 0x1800e821b\n// > int `Concurrency::details::ScheduleGroupSegmentBase::~ScheduleGroupSegmentBase @ 0x1800e822b\n// > <???> @ 0x18013ade4\n// > <???> @ 0x18013adea\n// > <???> @ 0x18013ae33\n// > <???> @ 0x18013ae54\n// > <???> @ 0x18013ae64\n// > <???> @ 0x18013bd94\n// > <???> @ 0x18013bd9a\n// > <???> @ 0x18013bde7\n// > <???> @ 0x18013c19f\n// > <???> @ 0x18013c1ec\n// > <???> @ 0x18013c22c\n// > <???> @ 0x18014440c\n// > <???> @ 0x1801b7f60\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 11:21:20 +0000\n// \n\nvoid __fastcall sub_18000D1E0(__int64 *a1)\n{\n  __int64 v1; // rbx\n  __int64 i; // rdi\n  _QWORD *v4; // rcx\n\n  v1 = *a1;\n  if ( *a1 )\n  {\n    for ( i = a1[1]; v1 != i; v1 += 32 )\n      sub_180005C70(v1);\n    v4 = (_QWORD *)*a1;\n    if ( ((a1[2] - *a1) & 0xFFFFFFFFFFFFFFE0uLL) >= 0x1000 )\n    {\n      if ( (unsigned __int64)v4 - *(v4 - 1) - 8 > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      v4 = (_QWORD *)*(v4 - 1);\n    }\n    j_j_free_0(v4);\n    *a1 = 0;\n    a1[1] = 0;\n    a1[2] = 0;\n  }\n}", "assembly": "; \n; sub_18000D1E0 from 0x18000d1e0 to 0x18000d27d (157 bytes)\n; \n; 26 xrefs:\n; > cocos2d::CCFileUtils::~CCFileUtils @ 0x18006f27e\n; > cocos2d::CCFileUtils::~CCFileUtils @ 0x18006f291\n; > sub_180075110 @ 0x180075116\n; > sub_1800E6120 @ 0x1800e6127\n; > sub_1800E6140 @ 0x1800e6147\n; > sub_1800E6150 @ 0x1800e6157\n; > sub_1800E6530 @ 0x1800e654b\n; > unknown_libname_6 @ 0x1800e6597\n; > sub_1800E6600 @ 0x1800e6607\n; > sub_1800E7DA0 @ 0x1800e7dab\n; > sub_1800E7DB0 @ 0x1800e7dbb\n; > sub_1800E8210 @ 0x1800e821b\n; > int `Concurrency::details::ScheduleGroupSegmentBase::~ScheduleGroupSegmentBase @ 0x1800e822b\n; > <???> @ 0x18013ade4\n; > <???> @ 0x18013adea\n; > <???> @ 0x18013ae33\n; > <???> @ 0x18013ae54\n; > <???> @ 0x18013ae64\n; > <???> @ 0x18013bd94\n; > <???> @ 0x18013bd9a\n; > <???> @ 0x18013bde7\n; > <???> @ 0x18013c19f\n; > <???> @ 0x18013c1ec\n; > <???> @ 0x18013c22c\n; > <???> @ 0x18014440c\n; > <???> @ 0x1801b7f60\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 11:21:20 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x18000d1e0\npush    rsi                                                            ; +0x5, 0x18000d1e5\nsub     rsp, 30h                                                       ; +0x6, 0x18000d1e6\nmov     rbx, [rcx]                                                     ; +0xa, 0x18000d1ea\nmov     rsi, rcx                                                       ; +0xd, 0x18000d1ed\ntest    rbx, rbx                                                       ; +0x10, 0x18000d1f0\njz      short loc_18000D25A                                            ; +0x13, 0x18000d1f3\nmov     [rsp+38h+arg_0], rdi                                           ; +0x15, 0x18000d1f5\nmov     rdi, [rcx+8]                                                   ; +0x1a, 0x18000d1fa\ncmp     rbx, rdi                                                       ; +0x1e, 0x18000d1fe\njz      short loc_18000D214                                            ; +0x21, 0x18000d201\nmov     rcx, rbx                                                       ; +0x23, 0x18000d203\ncall    sub_180005C70                                                  ; +0x26, 0x18000d206\nadd     rbx, 20h ; ' '                                                 ; +0x2b, 0x18000d20b\ncmp     rbx, rdi                                                       ; +0x2f, 0x18000d20f\njnz     short loc_18000D203                                            ; +0x32, 0x18000d212\nmov     rcx, [rsi]                                                     ; +0x34, 0x18000d214\nmov     rdx, [rsi+10h]                                                 ; +0x37, 0x18000d217\nmov     rdi, [rsp+38h+arg_0]                                           ; +0x3b, 0x18000d21b\nsub     rdx, rcx                                                       ; +0x40, 0x18000d220\nand     rdx, 0FFFFFFFFFFFFFFE0h                                        ; +0x43, 0x18000d223\ncmp     rdx, 1000h                                                     ; +0x47, 0x18000d227\njb      short loc_18000D248                                            ; +0x4e, 0x18000d22e\nmov     rax, [rcx-8]                                                   ; +0x50, 0x18000d230\nadd     rdx, 27h ; '''                                                 ; +0x54, 0x18000d234\nsub     rcx, rax                                                       ; +0x58, 0x18000d238\nsub     rcx, 8                                                         ; +0x5b, 0x18000d23b\ncmp     rcx, 1Fh                                                       ; +0x5f, 0x18000d23f\nja      short loc_18000D265                                            ; +0x63, 0x18000d243\nmov     rcx, rax; Block                                                ; +0x65, 0x18000d245\ncall    j_j_free_0                                                     ; +0x68, 0x18000d248\nxor     eax, eax                                                       ; +0x6d, 0x18000d24d\nmov     [rsi], rax                                                     ; +0x6f, 0x18000d24f\nmov     [rsi+8], rax                                                   ; +0x72, 0x18000d252\nmov     [rsi+10h], rax                                                 ; +0x76, 0x18000d256\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x7a, 0x18000d25a\nadd     rsp, 30h                                                       ; +0x7f, 0x18000d25f\npop     rsi                                                            ; +0x83, 0x18000d263\nretn                                                                   ; +0x84, 0x18000d264\nxor     eax, eax                                                       ; +0x85, 0x18000d265\nxor     r9d, r9d; LineNo                                               ; +0x87, 0x18000d267\nxor     r8d, r8d; FileName                                             ; +0x8a, 0x18000d26a\nmov     [rsp+38h+Reserved], rax; Reserved                              ; +0x8d, 0x18000d26d\nxor     edx, edx; FunctionName                                         ; +0x92, 0x18000d272\nxor     ecx, ecx; Expression                                           ; +0x94, 0x18000d274\ncall    cs:_invoke_watson                                              ; +0x96, 0x18000d276\ndb 0CCh                                                                ; +0x9c, 0x18000d27c", "xrefs": ["cocos2d::CCFileUtils::~CCFileUtils @ 0x18006f27e", "cocos2d::CCFileUtils::~CCFileUtils @ 0x18006f291", "sub_180075110 @ 0x180075116", "sub_1800E6120 @ 0x1800e6127", "sub_1800E6140 @ 0x1800e6147", "sub_1800E6150 @ 0x1800e6157", "sub_1800E6530 @ 0x1800e654b", "unknown_libname_6 @ 0x1800e6597", "sub_1800E6600 @ 0x1800e6607", "sub_1800E7DA0 @ 0x1800e7dab", "sub_1800E7DB0 @ 0x1800e7dbb", "sub_1800E8210 @ 0x1800e821b", "int `Concurrency::details::ScheduleGroupSegmentBase::~ScheduleGroupSegmentBase @ 0x1800e822b", "<???> @ 0x18013ade4", "<???> @ 0x18013adea", "<???> @ 0x18013ae33", "<???> @ 0x18013ae54", "<???> @ 0x18013ae64", "<???> @ 0x18013bd94", "<???> @ 0x18013bd9a", "<???> @ 0x18013bde7", "<???> @ 0x18013c19f", "<???> @ 0x18013c1ec", "<???> @ 0x18013c22c", "<???> @ 0x18014440c", "<???> @ 0x1801b7f60"], "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"}