InitConColours
function · console · orchestration
- Address
0x638a50· 10 bytes, up to0x638a59- Signature
void __cdecl (void)- Meaning
- Runs 0x638a60 and registers the destructor 0x638ac0
- Confidence
- verified, proof one
- Finding
- console/overview#static-objects
Finding: Static objects in console: overview
The screen file builds eight statics with its own slots, each a slot function that calls a body and registers an
exit destructor with _atexit: the console's lock (0xc4e64c), the line list (empty, with its sentinel), the
colour table, the two fixed device-format records (640 × 480 and 800 × 600), the working record and the last-good
record (constructed by 0x5898d0) and the device-mode list header; a ninth slot is a bare thunk that stores
the panel height, line count · font size. The registry builds its command table object. The destructors free
the lines and the mode-list buffer; the others delete the lock or the table, or do nothing.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- InitConColoursBody console
- InitConColoursAtExit console
Calls and jumps by a bare address, from tables/calls.tsv.