{"type": "func", "start": 6443308176, "end": 6443308276, "name": "sub_1800D1490", "pseudocode": "// \n// sub_1800D1490 from 0x1800d1490 to 0x1800d14f4 (100 bytes)\n// \n// 2 xrefs:\n// > sub_1800D2A40 @ 0x1800d2b25\n// > <???> @ 0x1801feb98\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall sub_1800D1490(__int64 a1)\n{\n  _DWORD *v2; // rdx\n  __int64 result; // rax\n\n  if ( (int)--*(_DWORD *)(a1 + 424) <= 0 )\n  {\n    v2 = *(_DWORD **)(a1 + 416);\n    *(_DWORD *)(a1 + 424) = 0;\n    if ( v2 )\n    {\n      result = sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), v2);\n      *(_QWORD *)(a1 + 416) = 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1800D1490 from 0x1800d1490 to 0x1800d14f4 (100 bytes)\n; \n; 2 xrefs:\n; > sub_1800D2A40 @ 0x1800d2b25\n; > <???> @ 0x1801feb98\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1800d1490\nsub     rsp, 30h                                                       ; +0x2, 0x1800d1492\ndec     dword ptr [rcx+1A8h]                                           ; +0x6, 0x1800d1496\nmov     rbx, rcx                                                       ; +0xc, 0x1800d149c\ncmp     dword ptr [rcx+1A8h], 0                                        ; +0xf, 0x1800d149f\njg      short loc_1800D14EE                                            ; +0x16, 0x1800d14a6\nmov     rdx, [rcx+1A0h]                                                ; +0x18, 0x1800d14a8\nmov     dword ptr [rcx+1A8h], 0                                        ; +0x1f, 0x1800d14af\ntest    rdx, rdx                                                       ; +0x29, 0x1800d14b9\njz      short loc_1800D14EE                                            ; +0x2c, 0x1800d14bc\nmov     rcx, cs:off_1801AED20                                          ; +0x2e, 0x1800d14be\nlea     r8, aCBuildagent1Wo_53; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x35, 0x1800d14c5\nmov     r9d, 190h                                                      ; +0x3c, 0x1800d14cc\nmov     [rsp+38h+var_18], 1                                            ; +0x42, 0x1800d14d2\nmov     rcx, [rcx+1A0h]                                                ; +0x47, 0x1800d14d7\ncall    sub_1800B6AA0                                                  ; +0x4e, 0x1800d14de\nmov     qword ptr [rbx+1A0h], 0                                        ; +0x53, 0x1800d14e3\nadd     rsp, 30h                                                       ; +0x5e, 0x1800d14ee\npop     rbx                                                            ; +0x62, 0x1800d14f2\nretn                                                                   ; +0x63, 0x1800d14f3", "xrefs": ["sub_1800D2A40 @ 0x1800d2b25", "<???> @ 0x1801feb98"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}