benilla-re systems structs docs

s_commandLineSwitches

global · client

Address
0x7ff8b8 · 272 bytes, up to 0x7ff9c7
Type
const uint32_t[68]
Meaning
Holds 17 command line switch records of 16 bytes: flags, the switch id, a name pointer and a zero
Confidence
verified, proof one
Finding
console/screen#console-key

Finding: Console key in console: screen

The console opens and closes on a key whose code is 0x864554 (default 0x60, the grave accent), and only when 0xc4ec20 is nonzero, which ConsoleDeviceInitialize sets from the command-line switch -console. The key down and the key repeat both flip the open flag 0xc4eac8 and are swallowed, so holding the key flips it on every repeat. The key's own character is swallowed while it is held. SetConsoleKey (0x63cb00) replaces the code. Closing clears the selection. Without the switch the console never opens.

The derivation is in the doc.