//
// sub_1800D99E0 from 0x1800d99e0 to 0x1800d9a78 (152 bytes)
//
// 5 xrefs:
// > sub_1800D7E10 @ 0x1800d7f1c
// > sub_1800D8880 @ 0x1800d88d4
// > sub_1800D8DC0 @ 0x1800d8df6
// > sub_1800DA0D0 @ 0x1800da3ca
// > ??> @ 0x1801c4b30
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:34 +0000
//
BOOL __fastcall sub_1800D99E0(__int64 a1)
{
__int64 v2; // rcx
struct tagMONITORINFO mi; // [rsp+40h] [rbp-38h] BYREF
mi.cbSize = 40;
v2 = *(_QWORD *)(a1 + 72);
memset(&mi.rcMonitor, 0, 36);
GetMonitorInfoW(*(HMONITOR *)(v2 + 256), &mi);
return SetWindowPos(
*(HWND *)(a1 + 880),
HWND_MESSAGE|0x2LL,
mi.rcMonitor.left,
mi.rcMonitor.top,
mi.rcMonitor.right - mi.rcMonitor.left,
mi.rcMonitor.bottom - mi.rcMonitor.top,
0x114u);
}