//
// sub_1800D9F80 from 0x1800d9f80 to 0x1800d9fcd (77 bytes)
//
// 2 xrefs:
// > sub_1800DA0D0 @ 0x1800da5bb
// > ??> @ 0x1801c4b90
//
// 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
//
HCURSOR __fastcall sub_1800D9F80(__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);
}