PasteInInputLine
function · console · primitive
- Address
0x63bee0· 397 bytes, up to0x63c06c- Signature
void __fastcall (const char *text)- Meaning
- Inserts text at the cursor, splicing head, text and tail, and rebuilds the string
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- console/screen#input-line
Finding: Input line in console: screen
The input line edits in place; every edit rebuilds its string (0x638d10). Backspace removes the byte
before the cursor above the floor; Delete removes the byte at the cursor, and at the end of the text it
lowers the length by one and changes no byte; Left and Right move the cursor between the floor and
the length. Text is inserted at the cursor, growing the buffer in 0x10 steps (0x638e90); a multi-byte
paste at a cursor inside the text splices head, paste and tail. Up and Down walk the history, 32
entries with index −1 for the empty line, by loading the entry as the text after the floor.
The derivation is in the doc.
Callers 2
Callees 9
- 0x4100f0 crt
- RebuildInputString console
- ReserveInputSpace console
- GetInputLine console
- SMemAlloc storm
- SMemFree storm
- SStrCopy storm
- SStrLen storm
- SStrPack storm
Calls and jumps by a bare address, from tables/calls.tsv.