{"type": "func", "start": 6443340000, "end": 6443340136, "name": "sub_1800D90E0", "pseudocode": "// \n// sub_1800D90E0 from 0x1800d90e0 to 0x1800d9168 (136 bytes)\n// \n// 6 xrefs:\n// > sub_1800D7E10 @ 0x1800d7f14\n// > sub_1800D8880 @ 0x1800d88cc\n// > sub_1800D8880 @ 0x1800d8a95\n// > sub_1800D8DC0 @ 0x1800d8dee\n// > sub_1800DA0D0 @ 0x1800da3c2\n// > <???> @ 0x1801c4ad0\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:33 +0000\n// \n\n__int64 __fastcall sub_1800D90E0(__int64 a1)\n{\n  if ( !dword_1801B52BC )\n  {\n    SetThreadExecutionState(0x80000002);\n    if ( (unsigned int)sub_1800E1CB0(5) )\n    {\n      SystemParametersInfoW(0x5Eu, 0, &uiParam, 0);\n      SystemParametersInfoW(0x5Du, 0, nullptr, 0);\n    }\n  }\n  if ( !*(_QWORD *)(*(_QWORD *)(a1 + 72) + 144LL) )\n    ++dword_1801B52BC;\n  sub_1800E3490(*(_QWORD *)(a1 + 72), a1 + 44);\n  return sub_1800DBE00(*(_QWORD *)(a1 + 72), a1);\n}", "assembly": "; \n; sub_1800D90E0 from 0x1800d90e0 to 0x1800d9168 (136 bytes)\n; \n; 6 xrefs:\n; > sub_1800D7E10 @ 0x1800d7f14\n; > sub_1800D8880 @ 0x1800d88cc\n; > sub_1800D8880 @ 0x1800d8a95\n; > sub_1800D8DC0 @ 0x1800d8dee\n; > sub_1800DA0D0 @ 0x1800da3c2\n; > <???> @ 0x1801c4ad0\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:33 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800d90e0\nsub     rsp, 20h                                                       ; +0x2, 0x1800d90e2\ncmp     cs:dword_1801B52BC, 0                                          ; +0x6, 0x1800d90e6\nmov     rbx, rcx                                                       ; +0xd, 0x1800d90ed\njnz     short loc_1800D9136                                            ; +0x10, 0x1800d90f0\nmov     ecx, 80000002h; esFlags                                        ; +0x12, 0x1800d90f2\ncall    cs:SetThreadExecutionState                                     ; +0x17, 0x1800d90f7\nxor     r8d, r8d                                                       ; +0x1d, 0x1800d90fd\nlea     edx, [r8+1]                                                    ; +0x20, 0x1800d9100\nlea     ecx, [rdx+4]                                                   ; +0x24, 0x1800d9104\ncall    sub_1800E1CB0                                                  ; +0x27, 0x1800d9107\ntest    eax, eax                                                       ; +0x2c, 0x1800d910c\njz      short loc_1800D9136                                            ; +0x2e, 0x1800d910e\nxor     edx, edx; uiParam                                              ; +0x30, 0x1800d9110\nlea     r8, uiParam; pvParam                                           ; +0x32, 0x1800d9112\nxor     r9d, r9d; fWinIni                                              ; +0x39, 0x1800d9119\nlea     ecx, [rdx+5Eh]; uiAction                                       ; +0x3c, 0x1800d911c\ncall    cs:SystemParametersInfoW                                       ; +0x3f, 0x1800d911f\nxor     edx, edx; uiParam                                              ; +0x45, 0x1800d9125\nxor     r9d, r9d; fWinIni                                              ; +0x47, 0x1800d9127\nxor     r8d, r8d; pvParam                                              ; +0x4a, 0x1800d912a\nlea     ecx, [rdx+5Dh]; uiAction                                       ; +0x4d, 0x1800d912d\ncall    cs:SystemParametersInfoW                                       ; +0x50, 0x1800d9130\nmov     rax, [rbx+48h]                                                 ; +0x56, 0x1800d9136\ncmp     qword ptr [rax+90h], 0                                         ; +0x5a, 0x1800d913a\njnz     short loc_1800D914A                                            ; +0x62, 0x1800d9142\ninc     cs:dword_1801B52BC                                             ; +0x64, 0x1800d9144\nmov     rcx, [rbx+48h]                                                 ; +0x6a, 0x1800d914a\nlea     rdx, [rbx+2Ch]                                                 ; +0x6e, 0x1800d914e\ncall    sub_1800E3490                                                  ; +0x72, 0x1800d9152\nmov     rcx, [rbx+48h]                                                 ; +0x77, 0x1800d9157\nmov     rdx, rbx                                                       ; +0x7b, 0x1800d915b\nadd     rsp, 20h                                                       ; +0x7e, 0x1800d915e\npop     rbx                                                            ; +0x82, 0x1800d9162\njmp     sub_1800DBE00                                                  ; +0x83, 0x1800d9163", "xrefs": ["sub_1800D7E10 @ 0x1800d7f14", "sub_1800D8880 @ 0x1800d88cc", "sub_1800D8880 @ 0x1800d8a95", "sub_1800D8DC0 @ 0x1800d8dee", "sub_1800DA0D0 @ 0x1800da3c2", "<???> @ 0x1801c4ad0"], "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"}