benilla-re systems structs docs

GetInputLine

function · console · orchestration

Address
0x63baa0 · 296 bytes, up to 0x63bbc7
Signature
CONSOLELINE * __cdecl (void)
Meaning
Returns the input line, creating a fresh one when the head has no cursor
Confidence
verified, proof one
Name from
the community database (idb)
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 4

Callees 5

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