{"type": "func", "start": 6443346832, "end": 6443347088, "name": "sub_1800DAB90", "pseudocode": "// \n// sub_1800DAB90 from 0x1800dab90 to 0x1800dac90 (256 bytes)\n// \n// 4 xrefs:\n// > sub_1800DAAD0 @ 0x1800dab01\n// > sub_1800DAAD0 @ 0x1800dab1e\n// > sub_1800DBD90 @ 0x1800dbdae\n// > <???> @ 0x1801ff300\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:13 +0000\n// \n\n__int64 __fastcall sub_1800DAB90(_DWORD **a1)\n{\n  int v1; // r8d\n  int v3; // eax\n  int v4; // eax\n  __int64 v5; // rcx\n  _BYTE *v6; // rax\n\n  v1 = *((_DWORD *)a1 + 3);\n  if ( (abs32(v1) & 0x80000000) != 0 )\n  {\n    if ( *((int *)a1 + 2) > 0 )\n      return 28;\n    if ( v1 > 0 && *a1 )\n      sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), *a1);\n    *a1 = nullptr;\n    v1 = 0;\n    *((_DWORD *)a1 + 3) = 0;\n  }\n  v3 = *((_DWORD *)a1 + 2);\n  if ( v3 < 0 )\n  {\n    v4 = -v3;\n    v5 = v4;\n    if ( v4 > 0 )\n    {\n      v6 = &(*a1)[4 * *((int *)a1 + 2) + 3];\n      do\n      {\n        *(_QWORD *)(v6 - 12) = 0;\n        *((_DWORD *)v6 - 1) = -1;\n        *v6 = 0;\n        v6 += 16;\n        --v5;\n      }\n      while ( v5 );\n      v1 = *((_DWORD *)a1 + 3);\n    }\n  }\n  *((_DWORD *)a1 + 2) = 0;\n  if ( (int)abs32(v1) > 0 )\n  {\n    if ( v1 > 0 )\n    {\n      if ( *a1 )\n        sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), *a1);\n    }\n    *a1 = nullptr;\n    *((_DWORD *)a1 + 3) = 0;\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800DAB90 from 0x1800dab90 to 0x1800dac90 (256 bytes)\n; \n; 4 xrefs:\n; > sub_1800DAAD0 @ 0x1800dab01\n; > sub_1800DAAD0 @ 0x1800dab1e\n; > sub_1800DBD90 @ 0x1800dbdae\n; > <???> @ 0x1801ff300\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:13 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800dab90\npush    rdi                                                            ; +0x5, 0x1800dab95\nsub     rsp, 30h                                                       ; +0x6, 0x1800dab96\nmov     r8d, [rcx+0Ch]                                                 ; +0xa, 0x1800dab9a\nxor     edi, edi                                                       ; +0xe, 0x1800dab9e\nmov     eax, r8d                                                       ; +0x10, 0x1800daba0\nmov     rbx, rcx                                                       ; +0x13, 0x1800daba3\ncdq                                                                    ; +0x16, 0x1800daba6\nxor     eax, edx                                                       ; +0x17, 0x1800daba7\ncmp     eax, edx                                                       ; +0x19, 0x1800daba9\njns     short loc_1800DABF1                                            ; +0x1b, 0x1800dabab\ncmp     [rcx+8], edi                                                   ; +0x1d, 0x1800dabad\njg      loc_1800DAC80                                                  ; +0x20, 0x1800dabb0\ntest    r8d, r8d                                                       ; +0x26, 0x1800dabb6\njle     short loc_1800DABE8                                            ; +0x29, 0x1800dabb9\nmov     rdx, [rcx]                                                     ; +0x2b, 0x1800dabbb\ntest    rdx, rdx                                                       ; +0x2e, 0x1800dabbe\njz      short loc_1800DABE8                                            ; +0x31, 0x1800dabc1\nmov     rcx, cs:off_1801AED20                                          ; +0x33, 0x1800dabc3\nlea     r8, aCBuildagent1Wo_26; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x3a, 0x1800dabca\nmov     r9d, 0FFh                                                      ; +0x41, 0x1800dabd1\nmov     [rsp+38h+var_18], 1                                            ; +0x47, 0x1800dabd7\nmov     rcx, [rcx+1A0h]                                                ; +0x4c, 0x1800dabdc\ncall    sub_1800B6AA0                                                  ; +0x53, 0x1800dabe3\nmov     [rbx], rdi                                                     ; +0x58, 0x1800dabe8\nmov     r8d, edi                                                       ; +0x5b, 0x1800dabeb\nmov     [rbx+0Ch], edi                                                 ; +0x5e, 0x1800dabee\nmovsxd  rax, dword ptr [rbx+8]                                         ; +0x61, 0x1800dabf1\ntest    eax, eax                                                       ; +0x65, 0x1800dabf5\njns     short loc_1800DAC2C                                            ; +0x67, 0x1800dabf7\nmov     rdx, rax                                                       ; +0x69, 0x1800dabf9\nneg     eax                                                            ; +0x6c, 0x1800dabfc\nshl     rdx, 4                                                         ; +0x6e, 0x1800dabfe\nadd     rdx, [rbx]                                                     ; +0x72, 0x1800dac02\nmovsxd  rcx, eax                                                       ; +0x75, 0x1800dac05\ntest    eax, eax                                                       ; +0x78, 0x1800dac08\njle     short loc_1800DAC2C                                            ; +0x7a, 0x1800dac0a\nlea     rax, [rdx+0Ch]                                                 ; +0x7c, 0x1800dac0c\nmov     [rax-0Ch], rdi                                                 ; +0x80, 0x1800dac10\nmov     dword ptr [rax-4], 0FFFFFFFFh                                  ; +0x84, 0x1800dac14\nmov     [rax], dil                                                     ; +0x8b, 0x1800dac1b\nlea     rax, [rax+10h]                                                 ; +0x8e, 0x1800dac1e\nsub     rcx, 1                                                         ; +0x92, 0x1800dac22\njnz     short loc_1800DAC10                                            ; +0x96, 0x1800dac26\nmov     r8d, [rbx+0Ch]                                                 ; +0x98, 0x1800dac28\nmov     eax, r8d                                                       ; +0x9c, 0x1800dac2c\nmov     [rbx+8], edi                                                   ; +0x9f, 0x1800dac2f\ncdq                                                                    ; +0xa2, 0x1800dac32\nxor     eax, edx                                                       ; +0xa3, 0x1800dac33\nsub     eax, edx                                                       ; +0xa5, 0x1800dac35\ntest    eax, eax                                                       ; +0xa7, 0x1800dac37\njle     short loc_1800DAC73                                            ; +0xa9, 0x1800dac39\ntest    r8d, r8d                                                       ; +0xab, 0x1800dac3b\njle     short loc_1800DAC6D                                            ; +0xae, 0x1800dac3e\nmov     rdx, [rbx]                                                     ; +0xb0, 0x1800dac40\ntest    rdx, rdx                                                       ; +0xb3, 0x1800dac43\njz      short loc_1800DAC6D                                            ; +0xb6, 0x1800dac46\nmov     rcx, cs:off_1801AED20                                          ; +0xb8, 0x1800dac48\nlea     r8, aCBuildagent1Wo_26; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0xbf, 0x1800dac4f\nmov     r9d, 0FFh                                                      ; +0xc6, 0x1800dac56\nmov     [rsp+38h+var_18], 1                                            ; +0xcc, 0x1800dac5c\nmov     rcx, [rcx+1A0h]                                                ; +0xd1, 0x1800dac61\ncall    sub_1800B6AA0                                                  ; +0xd8, 0x1800dac68\nmov     [rbx], rdi                                                     ; +0xdd, 0x1800dac6d\nmov     [rbx+0Ch], edi                                                 ; +0xe0, 0x1800dac70\nxor     eax, eax                                                       ; +0xe3, 0x1800dac73\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xe5, 0x1800dac75\nadd     rsp, 30h                                                       ; +0xea, 0x1800dac7a\npop     rdi                                                            ; +0xee, 0x1800dac7e\nretn                                                                   ; +0xef, 0x1800dac7f\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xf0, 0x1800dac80\nmov     eax, 1Ch                                                       ; +0xf5, 0x1800dac85\nadd     rsp, 30h                                                       ; +0xfa, 0x1800dac8a\npop     rdi                                                            ; +0xfe, 0x1800dac8e\nretn                                                                   ; +0xff, 0x1800dac8f", "xrefs": ["sub_1800DAAD0 @ 0x1800dab01", "sub_1800DAAD0 @ 0x1800dab1e", "sub_1800DBD90 @ 0x1800dbdae", "<???> @ 0x1801ff300"], "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"}