//
// sub_1800D8110 from 0x1800d8110 to 0x1800d816f (95 bytes)
//
// 5 xrefs:
// > sub_1800DBBB0 @ 0x1800dbc76
// > sub_1800DC750 @ 0x1800dc775
// > sub_1800DCF60 @ 0x1800dcf73
// > sub_1800E1860 @ 0x1800e187c
// > ??> @ 0x1801c49bc
//
// 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
//
int __fastcall sub_1800D8110(__int64 a1, LONG *a2, LONG *a3)
{
int result; // eax
struct tagRECT Rect; // [rsp+20h] [rbp-28h] BYREF
result = GetClientRect(*(HWND *)(a1 + 880), &Rect);
if ( a2 )
{
result = Rect.right;
*a2 = Rect.right;
}
if ( a3 )
{
result = Rect.bottom;
*a3 = Rect.bottom;
}
return result;
}