{"type": "func", "start": 6443349248, "end": 6443349315, "name": "sub_1800DB500", "pseudocode": "// \n// sub_1800DB500 from 0x1800db500 to 0x1800db543 (67 bytes)\n// \n// 2 xrefs:\n// > sub_1800D8570 @ 0x1800d85d7\n// > <???> @ 0x1801bac80\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\nLONG __fastcall sub_1800DB500(__int64 a1)\n{\n  LONG result; // eax\n\n  if ( *(_DWORD *)(a1 + 460) )\n  {\n    result = ChangeDisplaySettingsExW((LPCWSTR)(a1 + 264), nullptr, nullptr, 4u, nullptr);\n    *(_DWORD *)(a1 + 460) = 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800DB500 from 0x1800db500 to 0x1800db543 (67 bytes)\n; \n; 2 xrefs:\n; > sub_1800D8570 @ 0x1800d85d7\n; > <???> @ 0x1801bac80\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, 0x1800db500\nsub     rsp, 30h                                                       ; +0x2, 0x1800db502\ncmp     dword ptr [rcx+1CCh], 0                                        ; +0x6, 0x1800db506\nmov     rbx, rcx                                                       ; +0xd, 0x1800db50d\njz      short loc_1800DB53D                                            ; +0x10, 0x1800db510\nadd     rcx, 108h; lpszDeviceName                                      ; +0x12, 0x1800db512\nmov     [rsp+38h+lParam], 0; lParam                                    ; +0x19, 0x1800db519\nmov     r9d, 4; dwflags                                                ; +0x22, 0x1800db522\nxor     r8d, r8d; hwnd                                                 ; +0x28, 0x1800db528\nxor     edx, edx; lpDevMode                                            ; +0x2b, 0x1800db52b\ncall    cs:ChangeDisplaySettingsExW                                    ; +0x2d, 0x1800db52d\nmov     dword ptr [rbx+1CCh], 0                                        ; +0x33, 0x1800db533\nadd     rsp, 30h                                                       ; +0x3d, 0x1800db53d\npop     rbx                                                            ; +0x41, 0x1800db541\nretn                                                                   ; +0x42, 0x1800db542", "xrefs": ["sub_1800D8570 @ 0x1800d85d7", "<???> @ 0x1801bac80"], "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"}