benilla-re systems structs docs

ConsoleCommandCloseConsole

function · console · orchestration

Address
0x639240 · 13 bytes, up to 0x63924c
Signature
uint32_t __fastcall (const char *name, const char *args)
Meaning
Clears the open flag and returns 0
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 0

None by a direct call or jump.

Callees 0

None by a direct call or jump.

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