{"type": "func", "start": 6443342304, "end": 6443342456, "name": "sub_1800D99E0", "pseudocode": "// \n// sub_1800D99E0 from 0x1800d99e0 to 0x1800d9a78 (152 bytes)\n// \n// 5 xrefs:\n// > sub_1800D7E10 @ 0x1800d7f1c\n// > sub_1800D8880 @ 0x1800d88d4\n// > sub_1800D8DC0 @ 0x1800d8df6\n// > sub_1800DA0D0 @ 0x1800da3ca\n// > <???> @ 0x1801c4b30\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:34 +0000\n// \n\nBOOL __fastcall sub_1800D99E0(__int64 a1)\n{\n  __int64 v2; // rcx\n  struct tagMONITORINFO mi; // [rsp+40h] [rbp-38h] BYREF\n\n  mi.cbSize = 40;\n  v2 = *(_QWORD *)(a1 + 72);\n  memset(&mi.rcMonitor, 0, 36);\n  GetMonitorInfoW(*(HMONITOR *)(v2 + 256), &mi);\n  return SetWindowPos(\n           *(HWND *)(a1 + 880),\n           HWND_MESSAGE|0x2LL,\n           mi.rcMonitor.left,\n           mi.rcMonitor.top,\n           mi.rcMonitor.right - mi.rcMonitor.left,\n           mi.rcMonitor.bottom - mi.rcMonitor.top,\n           0x114u);\n}", "assembly": "; \n; sub_1800D99E0 from 0x1800d99e0 to 0x1800d9a78 (152 bytes)\n; \n; 5 xrefs:\n; > sub_1800D7E10 @ 0x1800d7f1c\n; > sub_1800D8880 @ 0x1800d88d4\n; > sub_1800D8DC0 @ 0x1800d8df6\n; > sub_1800DA0D0 @ 0x1800da3ca\n; > <???> @ 0x1801c4b30\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:34 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800d99e0\nsub     rsp, 70h                                                       ; +0x2, 0x1800d99e2\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x1800d99e6\nxor     rax, rsp                                                       ; +0xd, 0x1800d99ed\nmov     [rsp+78h+var_10], rax                                          ; +0x10, 0x1800d99f0\nmov     rbx, rcx                                                       ; +0x15, 0x1800d99f5\nmov     [rsp+78h+mi.cbSize], 28h ; '('                                 ; +0x18, 0x1800d99f8\nmov     rcx, [rcx+48h]                                                 ; +0x20, 0x1800d9a00\nlea     rdx, [rsp+78h+mi]; lpmi                                        ; +0x24, 0x1800d9a04\nxorps   xmm0, xmm0                                                     ; +0x29, 0x1800d9a09\nxor     eax, eax                                                       ; +0x2c, 0x1800d9a0c\nmovups  xmmword ptr [rsp+78h+mi.rcMonitor.left], xmm0                  ; +0x2e, 0x1800d9a0e\nmov     [rsp+78h+mi.dwFlags], eax                                      ; +0x33, 0x1800d9a13\nmovups  xmmword ptr [rsp+78h+mi.rcWork.left], xmm0                     ; +0x37, 0x1800d9a17\nmov     rcx, [rcx+100h]; hMonitor                                      ; +0x3c, 0x1800d9a1c\ncall    cs:GetMonitorInfoW                                             ; +0x43, 0x1800d9a23\nmov     edx, [rsp+78h+mi.rcMonitor.bottom]                             ; +0x49, 0x1800d9a29\nmov     r9d, [rsp+78h+mi.rcMonitor.top]; Y                             ; +0x4d, 0x1800d9a2d\nsub     edx, r9d                                                       ; +0x52, 0x1800d9a32\nmov     eax, [rsp+78h+mi.rcMonitor.right]                              ; +0x55, 0x1800d9a35\nmov     r8d, [rsp+78h+mi.rcMonitor.left]; X                            ; +0x59, 0x1800d9a39\nsub     eax, r8d                                                       ; +0x5e, 0x1800d9a3e\nmov     rcx, [rbx+370h]; hWnd                                          ; +0x61, 0x1800d9a41\nmov     [rsp+78h+uFlags], 114h; uFlags                                 ; +0x68, 0x1800d9a48\nmov     [rsp+78h+cy], edx; cy                                          ; +0x70, 0x1800d9a50\nmov     rdx, 0FFFFFFFFFFFFFFFFh; hWndInsertAfter                       ; +0x74, 0x1800d9a54\nmov     [rsp+78h+var_58], eax; cx                                      ; +0x7b, 0x1800d9a5b\ncall    cs:SetWindowPos                                                ; +0x7f, 0x1800d9a5f\nmov     rcx, [rsp+78h+var_10]                                          ; +0x85, 0x1800d9a65\nxor     rcx, rsp; StackCookie                                          ; +0x8a, 0x1800d9a6a\ncall    __security_check_cookie                                        ; +0x8d, 0x1800d9a6d\nadd     rsp, 70h                                                       ; +0x92, 0x1800d9a72\npop     rbx                                                            ; +0x96, 0x1800d9a76\nretn                                                                   ; +0x97, 0x1800d9a77", "xrefs": ["sub_1800D7E10 @ 0x1800d7f1c", "sub_1800D8880 @ 0x1800d88d4", "sub_1800D8DC0 @ 0x1800d8df6", "sub_1800DA0D0 @ 0x1800da3ca", "<???> @ 0x1801c4b30"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}