//
// sub_1800D6780 from 0x1800d6780 to 0x1800d67df (95 bytes)
//
// 5 xrefs:
// > sub_1800D3E80 @ 0x1800d3f46
// > sub_1800D4A20 @ 0x1800d4a45
// > sub_1800D5230 @ 0x1800d5243
// > sub_1800DF1F0 @ 0x1800df20c
// > ??> @ 0x1801ba8fc
//
// 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
//
int __fastcall sub_1800D6780(__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;
}