benilla-re systems structs docs

ConsoleSetToggleKey

function · console · orchestration

Address
0x63cb00 · 7 bytes, up to 0x63cb06
Signature
void __fastcall (uint32_t key)
Meaning
Replaces the key code that opens and closes the console
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.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.