// // sub_1800D87F0 from 0x1800d87f0 to 0x1800d887f (143 bytes) // // 2 xrefs: // > sub_1800DD5A0 @ 0x1800dd78c // > @ 0x1801c4a58 // // 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:33 +0000 // void __fastcall sub_1800D87F0(__int64 a1, int a2) { RAWINPUTDEVICE pRawInputDevices; // [rsp+20h] [rbp-18h] BYREF if ( qword_1801B6068 == a1 ) { if ( a2 ) { pRawInputDevices.hwndTarget = *(HWND *)(a1 + 880); *(_QWORD *)&pRawInputDevices.usUsagePage = 131073; if ( !RegisterRawInputDevices(&pRawInputDevices, 1u, 0x10u) ) sub_1800E1AF0(65544, "Win32: Failed to register raw input device"); } else { *(_DWORD *)&pRawInputDevices.usUsagePage = 131073; pRawInputDevices.dwFlags = 1; pRawInputDevices.hwndTarget = nullptr; if ( !RegisterRawInputDevices(&pRawInputDevices, 1u, 0x10u) ) sub_1800E1AF0(65544, "Win32: Failed to remove raw input device"); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source