{"type": "func", "start": 6443343616, "end": 6443343730, "name": "sub_1800D9F00", "pseudocode": "// \n// sub_1800D9F00 from 0x1800d9f00 to 0x1800d9f72 (114 bytes)\n// \n// 4 xrefs:\n// > sub_1800D7FA0 @ 0x1800d7fb0\n// > sub_1800D8880 @ 0x1800d89f7\n// > sub_1800DA0D0 @ 0x1800da3bb\n// > <???> @ 0x1801c4b84\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:22:34 +0000\n// \n\n__int64 __fastcall sub_1800D9F00(__int64 a1)\n{\n  __int64 result; // rax\n\n  result = *(_QWORD *)(a1 + 72);\n  if ( *(_QWORD *)(result + 144) == a1 )\n  {\n    if ( !--dword_1801B52BC )\n    {\n      SetThreadExecutionState(0x80000000);\n      if ( (unsigned int)sub_1800E1CB0(5) )\n        SystemParametersInfoW(0x5Du, uiParam, nullptr, 0);\n    }\n    sub_1800DBE00(*(_QWORD *)(a1 + 72), 0);\n    return sub_1800E3440(*(_QWORD *)(a1 + 72));\n  }\n  return result;\n}", "assembly": "; \n; sub_1800D9F00 from 0x1800d9f00 to 0x1800d9f72 (114 bytes)\n; \n; 4 xrefs:\n; > sub_1800D7FA0 @ 0x1800d7fb0\n; > sub_1800D8880 @ 0x1800d89f7\n; > sub_1800DA0D0 @ 0x1800da3bb\n; > <???> @ 0x1801c4b84\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:22:34 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800d9f00\nsub     rsp, 20h                                                       ; +0x2, 0x1800d9f02\nmov     rax, [rcx+48h]                                                 ; +0x6, 0x1800d9f06\nmov     rbx, rcx                                                       ; +0xa, 0x1800d9f0a\ncmp     [rax+90h], rcx                                                 ; +0xd, 0x1800d9f0d\njnz     short loc_1800D9F6C                                            ; +0x14, 0x1800d9f14\nsub     cs:dword_1801B52BC, 1                                          ; +0x16, 0x1800d9f16\njnz     short loc_1800D9F53                                            ; +0x1d, 0x1800d9f1d\nmov     ecx, 80000000h; esFlags                                        ; +0x1f, 0x1800d9f1f\ncall    cs:SetThreadExecutionState                                     ; +0x24, 0x1800d9f24\nxor     r8d, r8d                                                       ; +0x2a, 0x1800d9f2a\nlea     edx, [r8+1]                                                    ; +0x2d, 0x1800d9f2d\nlea     ecx, [rdx+4]                                                   ; +0x31, 0x1800d9f31\ncall    sub_1800E1CB0                                                  ; +0x34, 0x1800d9f34\ntest    eax, eax                                                       ; +0x39, 0x1800d9f39\njz      short loc_1800D9F53                                            ; +0x3b, 0x1800d9f3b\nmov     edx, cs:uiParam; uiParam                                       ; +0x3d, 0x1800d9f3d\nxor     r9d, r9d; fWinIni                                              ; +0x43, 0x1800d9f43\nxor     r8d, r8d; pvParam                                              ; +0x46, 0x1800d9f46\nlea     ecx, [r9+5Dh]; uiAction                                        ; +0x49, 0x1800d9f49\ncall    cs:SystemParametersInfoW                                       ; +0x4d, 0x1800d9f4d\nmov     rcx, [rbx+48h]                                                 ; +0x53, 0x1800d9f53\nxor     edx, edx                                                       ; +0x57, 0x1800d9f57\ncall    sub_1800DBE00                                                  ; +0x59, 0x1800d9f59\nmov     rcx, [rbx+48h]                                                 ; +0x5e, 0x1800d9f5e\nadd     rsp, 20h                                                       ; +0x62, 0x1800d9f62\npop     rbx                                                            ; +0x66, 0x1800d9f66\njmp     sub_1800E3440                                                  ; +0x67, 0x1800d9f67\nadd     rsp, 20h                                                       ; +0x6c, 0x1800d9f6c\npop     rbx                                                            ; +0x70, 0x1800d9f70\nretn                                                                   ; +0x71, 0x1800d9f71", "xrefs": ["sub_1800D7FA0 @ 0x1800d7fb0", "sub_1800D8880 @ 0x1800d89f7", "sub_1800DA0D0 @ 0x1800da3bb", "<???> @ 0x1801c4b84"], "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"}