benilla-re systems structs docs

GetHistorySize

function · console · orchestration

Address
0x63f9b0 · 6 bytes, up to 0x63f9b5
Signature
uint32_t __cdecl (void)
Meaning
Returns 0x20, the number of lines the history keeps
Confidence
verified, proof one
Name from
the community database (idb)
Finding
console/commands#history

Finding: History in console: commands

The history is a ring of 32 lines of 0x50 bytes at 0xc4ee48 and a write index 0xc518a0. Adding a line copies at most 0x50 bytes into the slot at the index and advances it. Entry i counts back from the newest: ring + 0x50·((index − i − 1) & 0x1f). The input line walks it with Up and Down (screen#input-line).

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.