//
// sub_1800DB500 from 0x1800db500 to 0x1800db543 (67 bytes)
//
// 2 xrefs:
// > sub_1800D8570 @ 0x1800d85d7
// > ??> @ 0x1801bac80
//
// 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
//
LONG __fastcall sub_1800DB500(__int64 a1)
{
LONG result; // eax
if ( *(_DWORD *)(a1 + 460) )
{
result = ChangeDisplaySettingsExW((LPCWSTR)(a1 + 264), nullptr, nullptr, 4u, nullptr);
*(_DWORD *)(a1 + 460) = 0;
}
return result;
}