//
// sub_1800D7EB0 from 0x1800d7eb0 to 0x1800d7ef7 (71 bytes)
//
// 2 xrefs:
// > sub_1800D6CB0 @ 0x1800d6d5e
// > ??> @ 0x1801baa4c
//
// 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
//
int sub_1800D7EB0()
{
int result; // eax
RAWINPUTDEVICE pRawInputDevices; // [rsp+20h] [rbp-18h] BYREF
*(_DWORD *)&pRawInputDevices.usUsagePage = 131073;
pRawInputDevices.dwFlags = 1;
pRawInputDevices.hwndTarget = nullptr;
result = RegisterRawInputDevices(&pRawInputDevices, 1u, 0x10u);
if ( !result )
return sub_1800D9BA0(65544, "Win32: Failed to remove raw input device");
return result;
}