{"type": "func", "start": 6443335344, "end": 6443335415, "name": "sub_1800D7EB0", "pseudocode": "// \n// sub_1800D7EB0 from 0x1800d7eb0 to 0x1800d7ef7 (71 bytes)\n// \n// 2 xrefs:\n// > sub_1800D6CB0 @ 0x1800d6d5e\n// > <???> @ 0x1801baa4c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint sub_1800D7EB0()\n{\n  int result; // eax\n  RAWINPUTDEVICE pRawInputDevices; // [rsp+20h] [rbp-18h] BYREF\n\n  *(_DWORD *)&pRawInputDevices.usUsagePage = 131073;\n  pRawInputDevices.dwFlags = 1;\n  pRawInputDevices.hwndTarget = nullptr;\n  result = RegisterRawInputDevices(&pRawInputDevices, 1u, 0x10u);\n  if ( !result )\n    return sub_1800D9BA0(65544, \"Win32: Failed to remove raw input device\");\n  return result;\n}", "assembly": "; \n; sub_1800D7EB0 from 0x1800d7eb0 to 0x1800d7ef7 (71 bytes)\n; \n; 2 xrefs:\n; > sub_1800D6CB0 @ 0x1800d6d5e\n; > <???> @ 0x1801baa4c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nsub     rsp, 38h                                                       ; +0x0, 0x1800d7eb0\nmov     edx, 1; uiNumDevices                                           ; +0x4, 0x1800d7eb4\nmov     dword ptr [rsp+38h+pRawInputDevices.usUsagePage], 20001h       ; +0x9, 0x1800d7eb9\nlea     rcx, [rsp+38h+pRawInputDevices]; pRawInputDevices              ; +0x11, 0x1800d7ec1\nmov     [rsp+38h+pRawInputDevices.dwFlags], edx                        ; +0x16, 0x1800d7ec6\nmov     [rsp+38h+pRawInputDevices.hwndTarget], 0                       ; +0x1a, 0x1800d7eca\nlea     r8d, [rdx+0Fh]; cbSize                                         ; +0x23, 0x1800d7ed3\ncall    cs:RegisterRawInputDevices                                     ; +0x27, 0x1800d7ed7\ntest    eax, eax                                                       ; +0x2d, 0x1800d7edd\njnz     short loc_1800D7EF2                                            ; +0x2f, 0x1800d7edf\nlea     rdx, aWin32FailedToR_0; \"Win32: Failed to remove raw input devic\"... ; +0x31, 0x1800d7ee1\nmov     ecx, 10008h                                                    ; +0x38, 0x1800d7ee8\ncall    sub_1800D9BA0                                                  ; +0x3d, 0x1800d7eed\nadd     rsp, 38h                                                       ; +0x42, 0x1800d7ef2\nretn                                                                   ; +0x46, 0x1800d7ef6", "xrefs": ["sub_1800D6CB0 @ 0x1800d6d5e", "<???> @ 0x1801baa4c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}