ConsoleDeviceInitialize
function · console · orchestration
- Address
0x63a230· 1260 bytes, up to0x63a71b- Signature
void __fastcall (const char *title, uint32_t unused, uint32_t)- Meaning
- Registers the display CVars, builds the device format, creates the device and registers the video options
- Confidence
- verified, proof one
- Finding
- console/display#start-up-record
Finding: Start-up record in console: display
ConsoleDeviceInitialize (0x63a230, window title in ecx) registers hwDetect, matches the hardware (0x641260),
registers the display CVars and gxRestart, lists the device's modes (0x5899c0) and builds the working record. Detection
applies for -hwdetect, a nonzero hwDetect or a hardware change: the record is the hardware row's default format with the window and
maximise flags of their CVars, and hwDetect becomes 0. Otherwise the record is what the callbacks stored. It ends with the
override strings, the window title, the video options (cvar/options) and, when detection applied, the quality CVars (0x639a60).
The derivation is in the doc.
Callers 1
- InitializeGlobal client
Callees 32
- _exit crt
- CmdLineGetBool unassigned
- CmdLineGetString unassigned
- 0x435c50 unassigned
- ShowErrorText os
- GxEnumerateModes gx
- GxGetDesktopModeFacade gx
- GxDevCreate gx
- 0x589ba0 gx
- 0x589c90 gx
- QueryDevice gx
- 0x589d60 gx
- GxDeviceCaps gx
- GxOpenLog gx
- 0x58b5f0 gx
- GxLogPrintf gx
- ParseGxOverrides console
- ApplyHardwareQuality console
- WriteFormatToCVars console
- ValidateDeviceFormat console
- RegisterDisplayCVars console
- RegisterGxRestartCommand console
- LowerDeviceFormat console
- RaiseDeviceFormatFloor console
- ConsoleSetCaption console
- CVar::Register cvar
- CVar::Set cvar
- DetectHardware unassigned
- BuildQualityBlock unassigned
- SetHardwareDefaultFormat unassigned
- SStrCmpI storm
- RegisterVideoOptions cvar
Calls and jumps by a bare address, from tables/calls.tsv.