// // sub_1800D9990 from 0x1800d9990 to 0x1800d99d7 (71 bytes) // // 2 xrefs: // > sub_1800D8640 @ 0x1800d86c3 // > @ 0x1801c4b24 // // 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:34 +0000 // int __fastcall sub_1800D9990(__int64 a1) { HWND v1; // rax int result; // eax RAWINPUTDEVICE pRawInputDevices; // [rsp+20h] [rbp-18h] BYREF v1 = *(HWND *)(a1 + 880); *(_QWORD *)&pRawInputDevices.usUsagePage = 131073; pRawInputDevices.hwndTarget = v1; result = RegisterRawInputDevices(&pRawInputDevices, 1u, 0x10u); if ( !result ) return sub_1800E1AF0(65544, "Win32: Failed to register raw input device"); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source