//
// sub_1800D7750 from 0x1800d7750 to 0x1800d77d8 (136 bytes)
//
// 6 xrefs:
// > sub_1800D6480 @ 0x1800d6584
// > sub_1800D6EF0 @ 0x1800d6f3c
// > sub_1800D6EF0 @ 0x1800d7105
// > sub_1800D7430 @ 0x1800d745e
// > sub_1800D8740 @ 0x1800d8a32
// > ??> @ 0x1801baa10
//
// 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
//
void __fastcall sub_1800D7750(__int64 a1)
{
if ( !dword_1801AB23C )
{
SetThreadExecutionState(0x80000002);
if ( (unsigned int)sub_1800D9D60(5) )
{
SystemParametersInfoW(0x5Eu, 0, &uiParam, 0);
SystemParametersInfoW(0x5Du, 0, nullptr, 0);
}
}
if ( !*(_QWORD *)(*(_QWORD *)(a1 + 72) + 144LL) )
++dword_1801AB23C;
sub_1800DB550(*(_QWORD *)(a1 + 72), a1 + 44);
sub_1800D40D0(*(_QWORD *)(a1 + 72), a1);
}