//
// sub_1800D80A0 from 0x1800d80a0 to 0x1800d810f (111 bytes)
//
// 2 xrefs:
// > sub_1800DD5A0 @ 0x1800dd609
// > ??> @ 0x1801c49b0
//
// 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:33 +0000
//
BOOL __fastcall sub_1800D80A0(__int64 a1, double *a2, double *a3)
{
BOOL result; // eax
struct tagPOINT Point; // [rsp+48h] [rbp+20h] BYREF
result = GetCursorPos(&Point);
if ( result )
{
result = ScreenToClient(*(HWND *)(a1 + 880), &Point);
if ( a2 )
*a2 = (double)Point.x;
if ( a3 )
*a3 = (double)Point.y;
}
return result;
}