{"type": "func", "start": 6443403856, "end": 6443404239, "name": "sub_1800E8A50", "pseudocode": "// \n// sub_1800E8A50 from 0x1800e8a50 to 0x1800e8bcf (383 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801afdb8\n// > <???> @ 0x1801fffb4\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 10:54:18 +0000\n// \n\n__int64 __fastcall sub_1800E8A50(__int64 *a1)\n{\n  __int64 v1; // rbx\n  char v2; // cl\n  __int64 v3; // rdi\n  __int64 v4; // r8\n  __int64 result; // rax\n  __int64 v6; // rcx\n  __int64 v7; // rcx\n  __int64 v8; // rdx\n\n  v1 = *a1;\n  v2 = 0;\n  v3 = *(_QWORD *)(v1 + 168);\n  if ( v3 )\n  {\n    sub_1801021C0(*(_QWORD *)(v1 + 168), 6);\n    v2 = 1;\n  }\n  **(_QWORD **)(v1 + 896) = *(_QWORD *)(v1 + 888);\n  v4 = *(_QWORD *)(v1 + 888);\n  *(_QWORD *)(v4 + 8) = *(_QWORD *)(v1 + 896);\n  *(_QWORD *)(v1 + 896) = v1 + 888;\n  *(_QWORD *)(v1 + 888) = v1 + 888;\n  if ( v2 )\n  {\n    if ( v3 )\n      sub_180102300(v3, 6);\n  }\n  if ( *(_QWORD *)(v1 + 616) )\n  {\n    result = ((__int64 (*)(void))sub_1800F7260)();\n    if ( (_DWORD)result )\n      return result;\n    sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), *(_DWORD **)(v1 + 616));\n    *(_QWORD *)(v1 + 616) = 0;\n  }\n  v6 = *(_QWORD *)(v1 + 624);\n  if ( v6 )\n  {\n    result = sub_1800F7260(v6);\n    if ( (_DWORD)result )\n      return result;\n    sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), *(_DWORD **)(v1 + 624));\n    *(_QWORD *)(v1 + 624) = 0;\n  }\n  v7 = *(_QWORD *)(v1 + 632);\n  if ( v7 )\n  {\n    result = sub_1800F7260(v7);\n    if ( (_DWORD)result )\n      return result;\n    sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), *(_DWORD **)(v1 + 632));\n    *(_QWORD *)(v1 + 632) = 0;\n  }\n  v8 = *(_QWORD *)(v1 + 544);\n  if ( v8 )\n  {\n    LOBYTE(v4) = 1;\n    result = sub_1800F2C00(*(_QWORD *)(v1 + 168) + 1824LL, v8, v4);\n    if ( (_DWORD)result )\n      return result;\n    *(_QWORD *)(v1 + 544) = 0;\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800E8A50 from 0x1800e8a50 to 0x1800e8bcf (383 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801afdb8\n; > <???> @ 0x1801fffb4\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 10:54:18 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800e8a50\npush    rdi                                                            ; +0x5, 0x1800e8a55\nsub     rsp, 30h                                                       ; +0x6, 0x1800e8a56\nmov     rbx, [rcx]                                                     ; +0xa, 0x1800e8a5a\nxor     cl, cl                                                         ; +0xd, 0x1800e8a5d\nmov     rdi, [rbx+0A8h]                                                ; +0xf, 0x1800e8a5f\ntest    rdi, rdi                                                       ; +0x16, 0x1800e8a66\njz      short loc_1800E8A7A                                            ; +0x19, 0x1800e8a69\nmov     edx, 6                                                         ; +0x1b, 0x1800e8a6b\nmov     rcx, rdi                                                       ; +0x20, 0x1800e8a70\ncall    sub_1801021C0                                                  ; +0x23, 0x1800e8a73\nmov     cl, 1                                                          ; +0x28, 0x1800e8a78\nlea     r9, [rbx+378h]                                                 ; +0x2a, 0x1800e8a7a\nmov     r8, [r9+8]                                                     ; +0x31, 0x1800e8a81\nmov     rax, [r9]                                                      ; +0x35, 0x1800e8a85\nmov     [r8], rax                                                      ; +0x38, 0x1800e8a88\nmov     r8, [r9]                                                       ; +0x3b, 0x1800e8a8b\nmov     rax, [r9+8]                                                    ; +0x3e, 0x1800e8a8e\nmov     [r8+8], rax                                                    ; +0x42, 0x1800e8a92\nmov     [r9+8], r9                                                     ; +0x46, 0x1800e8a96\nmov     [r9], r9                                                       ; +0x4a, 0x1800e8a9a\ntest    cl, cl                                                         ; +0x4d, 0x1800e8a9d\njz      short loc_1800E8AB3                                            ; +0x4f, 0x1800e8a9f\ntest    rdi, rdi                                                       ; +0x51, 0x1800e8aa1\njz      short loc_1800E8AB3                                            ; +0x54, 0x1800e8aa4\nmov     edx, 6                                                         ; +0x56, 0x1800e8aa6\nmov     rcx, rdi                                                       ; +0x5b, 0x1800e8aab\ncall    sub_180102300                                                  ; +0x5e, 0x1800e8aae\nmov     rcx, [rbx+268h]                                                ; +0x63, 0x1800e8ab3\nxor     edi, edi                                                       ; +0x6a, 0x1800e8aba\ntest    rcx, rcx                                                       ; +0x6c, 0x1800e8abc\njz      short loc_1800E8B01                                            ; +0x6f, 0x1800e8abf\ncall    sub_1800F7260                                                  ; +0x71, 0x1800e8ac1\ntest    eax, eax                                                       ; +0x76, 0x1800e8ac6\njnz     loc_1800E8BC4                                                  ; +0x78, 0x1800e8ac8\nmov     rcx, cs:off_1801AED20                                          ; +0x7e, 0x1800e8ace\nlea     r8, aCBuildagent1Wo_65; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x85, 0x1800e8ad5\nmov     rdx, [rbx+268h]                                                ; +0x8c, 0x1800e8adc\nmov     r9d, 102h                                                      ; +0x93, 0x1800e8ae3\nmov     [rsp+38h+var_18], 1                                            ; +0x99, 0x1800e8ae9\nmov     rcx, [rcx+1A0h]                                                ; +0x9e, 0x1800e8aee\ncall    sub_1800B6AA0                                                  ; +0xa5, 0x1800e8af5\nmov     [rbx+268h], rdi                                                ; +0xaa, 0x1800e8afa\nmov     rcx, [rbx+270h]                                                ; +0xb1, 0x1800e8b01\ntest    rcx, rcx                                                       ; +0xb8, 0x1800e8b08\njz      short loc_1800E8B4D                                            ; +0xbb, 0x1800e8b0b\ncall    sub_1800F7260                                                  ; +0xbd, 0x1800e8b0d\ntest    eax, eax                                                       ; +0xc2, 0x1800e8b12\njnz     loc_1800E8BC4                                                  ; +0xc4, 0x1800e8b14\nmov     rcx, cs:off_1801AED20                                          ; +0xca, 0x1800e8b1a\nlea     r8, aCBuildagent1Wo_65; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0xd1, 0x1800e8b21\nmov     rdx, [rbx+270h]                                                ; +0xd8, 0x1800e8b28\nmov     r9d, 10Bh                                                      ; +0xdf, 0x1800e8b2f\nmov     [rsp+38h+var_18], 1                                            ; +0xe5, 0x1800e8b35\nmov     rcx, [rcx+1A0h]                                                ; +0xea, 0x1800e8b3a\ncall    sub_1800B6AA0                                                  ; +0xf1, 0x1800e8b41\nmov     [rbx+270h], rdi                                                ; +0xf6, 0x1800e8b46\nmov     rcx, [rbx+278h]                                                ; +0xfd, 0x1800e8b4d\ntest    rcx, rcx                                                       ; +0x104, 0x1800e8b54\njz      short loc_1800E8B95                                            ; +0x107, 0x1800e8b57\ncall    sub_1800F7260                                                  ; +0x109, 0x1800e8b59\ntest    eax, eax                                                       ; +0x10e, 0x1800e8b5e\njnz     short loc_1800E8BC4                                            ; +0x110, 0x1800e8b60\nmov     rcx, cs:off_1801AED20                                          ; +0x112, 0x1800e8b62\nlea     r8, aCBuildagent1Wo_65; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x119, 0x1800e8b69\nmov     rdx, [rbx+278h]                                                ; +0x120, 0x1800e8b70\nmov     r9d, 114h                                                      ; +0x127, 0x1800e8b77\nmov     [rsp+38h+var_18], 1                                            ; +0x12d, 0x1800e8b7d\nmov     rcx, [rcx+1A0h]                                                ; +0x132, 0x1800e8b82\ncall    sub_1800B6AA0                                                  ; +0x139, 0x1800e8b89\nmov     [rbx+278h], rdi                                                ; +0x13e, 0x1800e8b8e\nmov     rdx, [rbx+220h]                                                ; +0x145, 0x1800e8b95\ntest    rdx, rdx                                                       ; +0x14c, 0x1800e8b9c\njz      short loc_1800E8BC2                                            ; +0x14f, 0x1800e8b9f\nmov     rcx, [rbx+0A8h]                                                ; +0x151, 0x1800e8ba1\nmov     r8b, 1                                                         ; +0x158, 0x1800e8ba8\nadd     rcx, 720h                                                      ; +0x15b, 0x1800e8bab\ncall    sub_1800F2C00                                                  ; +0x162, 0x1800e8bb2\ntest    eax, eax                                                       ; +0x167, 0x1800e8bb7\njnz     short loc_1800E8BC4                                            ; +0x169, 0x1800e8bb9\nmov     [rbx+220h], rdi                                                ; +0x16b, 0x1800e8bbb\nmov     eax, edi                                                       ; +0x172, 0x1800e8bc2\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x174, 0x1800e8bc4\nadd     rsp, 30h                                                       ; +0x179, 0x1800e8bc9\npop     rdi                                                            ; +0x17d, 0x1800e8bcd\nretn                                                                   ; +0x17e, 0x1800e8bce", "xrefs": ["<???> @ 0x1801afdb8", "<???> @ 0x1801fffb4"], "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"}