//
// sub_1800D85F0 from 0x1800d85f0 to 0x1800d863d (77 bytes)
//
// 2 xrefs:
// > sub_1800D8740 @ 0x1800d8c2b
// > ??> @ 0x1801baad0
//
// 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_1800D85F0(__int64 a1)
{
__int64 v1; // rcx
HCURSOR CursorW; // rax
if ( *(_DWORD *)(a1 + 124) != 212993 )
return SetCursor(nullptr);
v1 = *(_QWORD *)(a1 + 80);
if ( v1 )
return SetCursor(*(HCURSOR *)(v1 + 8));
CursorW = LoadCursorW(nullptr, (LPCWSTR)0x7F00);
return SetCursor(CursorW);
}