// // sub_1800D7F00 from 0x1800d7f00 to 0x1800d7ffe (254 bytes) // // 4 xrefs: // > sub_1800D6610 @ 0x1800d6642 // > sub_1800D8740 @ 0x1800d88d6 // > sub_1800D8740 @ 0x1800d92cd // > @ 0x1801baa58 // // 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 // HCURSOR __fastcall sub_1800D7F00(__int64 a1) { LONG v2; // eax HWND v3; // rcx __int64 v4; // rcx HCURSOR CursorW; // rax RAWINPUTDEVICE pRawInputDevices; // [rsp+20h] [rbp-18h] BYREF struct tagPOINT Point; // [rsp+40h] [rbp+8h] BYREF if ( *(_DWORD *)(a1 + 504) ) { *(_DWORD *)&pRawInputDevices.usUsagePage = 131073; pRawInputDevices.dwFlags = 1; pRawInputDevices.hwndTarget = nullptr; if ( !RegisterRawInputDevices(&pRawInputDevices, 1u, 0x10u) ) sub_1800D9BA0(65544, "Win32: Failed to remove raw input device"); } qword_1801ABFE8 = 0; ClipCursor(nullptr); qword_1801ABFF0 = 0; v2 = (int)*(double *)&qword_1801ABFE0; Point.x = (int)*(double *)&qword_1801ABFD8; *(_DWORD *)(a1 + 936) = (int)*(double *)&qword_1801ABFD8; v3 = *(HWND *)(a1 + 880); Point.y = v2; *(_DWORD *)(a1 + 940) = v2; ClientToScreen(v3, &Point); SetCursorPos(Point.x, Point.y); if ( *(_DWORD *)(a1 + 124) != 212993 ) return SetCursor(nullptr); v4 = *(_QWORD *)(a1 + 80); if ( v4 ) return SetCursor(*(HCURSOR *)(v4 + 8)); CursorW = LoadCursorW(nullptr, (LPCWSTR)0x7F00); return SetCursor(CursorW); }
GD Web Decomp Icon

GD Web Decomp

Raw Source