GxGetDesktopModeFacade
function · gx · orchestration
- Address
0x5899f0· 5 bytes, up to0x5899f4- Signature
uint32_t __thiscall (void *this)- Meaning
- Jumps to 0x58be60, the desktop mode query
- Confidence
- verified, proof one
- Finding
- gx/device#display-modes
Finding: Display modes in gx: the device
0x58b740(list) fills a list of device format records (0x38 bytes) for Direct3D: for each of three adapter display formats (0x85a820: 0x17, 0x16, 0x15) it walks the adapter's modes (GetAdapterModeCount, EnumAdapterModes) and, for each depth format of 0x85a82c (0x50, 0x4d, 0x4b, 0x47) that CheckDeviceFormat accepts as a depth-stencil surface, and each sample count of 0x85a83c (0, 2, 4, ..., 16) that CheckDeviceMultiSampleType accepts for the display and the depth format, appends a record through 0x591220, which adds it when no equal one is held. 0x58bd40(list) does the OpenGL case from EnumDisplaySettings, keeping modes of 640 by 480 or more at 16 bits or more, and sorts them by area with 0x58be40.
The derivation is in the doc.
Callers 1
- ConsoleDeviceInitialize console
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.