benilla-re systems structs docs

ConsoleCommandClear

function · console · orchestration

Address
0x638f40 · 138 bytes, up to 0x638fc9
Signature
uint32_t __fastcall (const char *name, const char *args)
Meaning
Frees every console line, the input line included
Confidence
verified, proof one
Finding
console/screen#line-records

Finding: Line records in console: screen

A console line is a 0x24-byte record allocated zero-filled under the tag CONSOLELINE: next link +0, previous link +4, text +8, length +0xc, capacity +0x10, cursor +0x14, floor +0x18, colour class +0x1c and string handle +0x20. The lines are one intrusive list with the newest at the head (0xc4e9ac) and a count (0xc4ec24); past 0x100 lines the oldest is freed. The input line is the head while its cursor is nonzero. 0x63baa0 makes a new input line whenever the head's cursor is 0: text > , floor = cursor = length 2, class 1, capacity 0x10, and the view anchor 0xc4e9b4 set to it.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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