{"type": "func", "start": 6443335760, "end": 6443335912, "name": "sub_1800D8050", "pseudocode": "// \n// sub_1800D8050 from 0x1800d8050 to 0x1800d80e8 (152 bytes)\n// \n// 5 xrefs:\n// > sub_1800D6480 @ 0x1800d658c\n// > sub_1800D6EF0 @ 0x1800d6f44\n// > sub_1800D7430 @ 0x1800d7466\n// > sub_1800D8740 @ 0x1800d8a3a\n// > <???> @ 0x1801baa70\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nBOOL __fastcall sub_1800D8050(__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_1800D8050 from 0x1800d8050 to 0x1800d80e8 (152 bytes)\n; \n; 5 xrefs:\n; > sub_1800D6480 @ 0x1800d658c\n; > sub_1800D6EF0 @ 0x1800d6f44\n; > sub_1800D7430 @ 0x1800d7466\n; > sub_1800D8740 @ 0x1800d8a3a\n; > <???> @ 0x1801baa70\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1800d8050\nsub     rsp, 70h                                                       ; +0x2, 0x1800d8052\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x1800d8056\nxor     rax, rsp                                                       ; +0xd, 0x1800d805d\nmov     [rsp+78h+var_10], rax                                          ; +0x10, 0x1800d8060\nmov     rbx, rcx                                                       ; +0x15, 0x1800d8065\nmov     [rsp+78h+mi.cbSize], 28h ; '('                                 ; +0x18, 0x1800d8068\nmov     rcx, [rcx+48h]                                                 ; +0x20, 0x1800d8070\nlea     rdx, [rsp+78h+mi]; lpmi                                        ; +0x24, 0x1800d8074\nxorps   xmm0, xmm0                                                     ; +0x29, 0x1800d8079\nxor     eax, eax                                                       ; +0x2c, 0x1800d807c\nmovups  xmmword ptr [rsp+78h+mi.rcMonitor.left], xmm0                  ; +0x2e, 0x1800d807e\nmov     [rsp+78h+mi.dwFlags], eax                                      ; +0x33, 0x1800d8083\nmovups  xmmword ptr [rsp+78h+mi.rcWork.left], xmm0                     ; +0x37, 0x1800d8087\nmov     rcx, [rcx+100h]; hMonitor                                      ; +0x3c, 0x1800d808c\ncall    cs:GetMonitorInfoW                                             ; +0x43, 0x1800d8093\nmov     edx, [rsp+78h+mi.rcMonitor.bottom]                             ; +0x49, 0x1800d8099\nmov     r9d, [rsp+78h+mi.rcMonitor.top]; Y                             ; +0x4d, 0x1800d809d\nsub     edx, r9d                                                       ; +0x52, 0x1800d80a2\nmov     eax, [rsp+78h+mi.rcMonitor.right]                              ; +0x55, 0x1800d80a5\nmov     r8d, [rsp+78h+mi.rcMonitor.left]; X                            ; +0x59, 0x1800d80a9\nsub     eax, r8d                                                       ; +0x5e, 0x1800d80ae\nmov     rcx, [rbx+370h]; hWnd                                          ; +0x61, 0x1800d80b1\nmov     [rsp+78h+uFlags], 114h; uFlags                                 ; +0x68, 0x1800d80b8\nmov     [rsp+78h+cy], edx; cy                                          ; +0x70, 0x1800d80c0\nmov     rdx, 0FFFFFFFFFFFFFFFFh; hWndInsertAfter                       ; +0x74, 0x1800d80c4\nmov     [rsp+78h+var_58], eax; cx                                      ; +0x7b, 0x1800d80cb\ncall    cs:SetWindowPos                                                ; +0x7f, 0x1800d80cf\nmov     rcx, [rsp+78h+var_10]                                          ; +0x85, 0x1800d80d5\nxor     rcx, rsp; StackCookie                                          ; +0x8a, 0x1800d80da\ncall    __security_check_cookie                                        ; +0x8d, 0x1800d80dd\nadd     rsp, 70h                                                       ; +0x92, 0x1800d80e2\npop     rbx                                                            ; +0x96, 0x1800d80e6\nretn                                                                   ; +0x97, 0x1800d80e7", "xrefs": ["sub_1800D6480 @ 0x1800d658c", "sub_1800D6EF0 @ 0x1800d6f44", "sub_1800D7430 @ 0x1800d7466", "sub_1800D8740 @ 0x1800d8a3a", "<???> @ 0x1801baa70"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}