//
// sub_1800D6C40 from 0x1800d6c40 to 0x1800d6ca4 (100 bytes)
//
// 2 xrefs:
// > sub_1800D56E0 @ 0x1800d5747
// > ??> @ 0x1801ba974
//
// 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_1800D6C40(__int64 a1)
{
HCURSOR result; // rax
__int64 v3; // rcx
HCURSOR CursorW; // rax
result = (HCURSOR)sub_1800D7D00();
if ( (_DWORD)result )
{
if ( *(_DWORD *)(a1 + 124) == 212993 )
{
v3 = *(_QWORD *)(a1 + 80);
if ( v3 )
{
return SetCursor(*(HCURSOR *)(v3 + 8));
}
else
{
CursorW = LoadCursorW(nullptr, (LPCWSTR)0x7F00);
return SetCursor(CursorW);
}
}
else
{
return SetCursor(nullptr);
}
}
return result;
}