benilla-re systems structs docs

OnChar

function · console · orchestration

Address
0x63be90 · 79 bytes, up to 0x63bede
Signature
uint32_t __thiscall (void *this)
Meaning
Swallows the character of the console key and of every key while the console is open
Confidence
verified, proof one
Name from
the community database (idb)
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 3

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