// // sub_1800D8C90 from 0x1800d8c90 to 0x1800d8dbe (302 bytes) // // 2 xrefs: // > sub_1800DBBB0 @ 0x1800dbcc8 // > @ 0x1801c4a88 // // 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_1800D8C90(__int64 a1, LONG a2, LONG a3) { int v4; // eax __int64 v5; // rcx DWORD v6; // esi unsigned int v7; // ebx int v8; // eax DWORD v9; // ebx struct tagRECT Rect; // [rsp+40h] [rbp-38h] BYREF Rect.left = a2; Rect.top = a3; Rect.right = a2; Rect.bottom = a3; v4 = sub_1800E1C00(14393); v5 = *(_QWORD *)(a1 + 72); v6 = 0x40000; if ( v4 ) { if ( v5 || *(_DWORD *)(a1 + 20) ) v6 = 262152; if ( v5 ) { v7 = -2046820352; } else if ( *(_DWORD *)(a1 + 12) ) { v7 = 114229248; if ( !*(_DWORD *)(a1 + 8) ) v7 = 113901568; } else { v7 = -2046164992; } v8 = qword_1801B60E0(*(_QWORD *)(a1 + 880)); qword_1801B60E8(&Rect, v7, 0, v6, v8); } else { if ( v5 || *(_DWORD *)(a1 + 20) ) v6 = 262152; if ( v5 ) { v9 = -2046820352; } else if ( *(_DWORD *)(a1 + 12) ) { v9 = 114229248; if ( !*(_DWORD *)(a1 + 8) ) v9 = 113901568; } else { v9 = -2046164992; } AdjustWindowRectEx(&Rect, v9, 0, v6); } return SetWindowPos(*(HWND *)(a1 + 880), nullptr, Rect.left, Rect.top, 0, 0, 0x15u); }
GD Web Decomp Icon

GD Web Decomp

Raw Source