//
// sub_1800D8050 from 0x1800d8050 to 0x1800d80e8 (152 bytes)
//
// 5 xrefs:
// > sub_1800D6480 @ 0x1800d658c
// > sub_1800D6EF0 @ 0x1800d6f44
// > sub_1800D7430 @ 0x1800d7466
// > sub_1800D8740 @ 0x1800d8a3a
// > ??> @ 0x1801baa70
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
BOOL __fastcall sub_1800D8050(__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);
}