//
// sub_1800E3440 from 0x1800e3440 to 0x1800e3483 (67 bytes)
//
// 2 xrefs:
// > sub_1800D9F00 @ 0x1800d9f67
// > ??> @ 0x1801c5304
//
// 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:37 +0000
//
LONG __fastcall sub_1800E3440(__int64 a1)
{
LONG result; // eax
if ( *(_DWORD *)(a1 + 460) )
{
result = ChangeDisplaySettingsExW((LPCWSTR)(a1 + 264), nullptr, nullptr, 4u, nullptr);
*(_DWORD *)(a1 + 460) = 0;
}
return result;
}