ConsoleScreenInitialize
function · console · primitive
- Address
0x63b460· 352 bytes, up to0x63b5bf- Signature
void __cdecl (void)- Meaning
- Sets the scale factors, loads the font, creates the two layers, registers the handlers and the 13 commands
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- console/screen#start-up-and-shutdown
- Test
console::console_scale_init_difftest
Finding: Start-up and shutdown in console: screen
ConsoleScreenInitialize (0x63b460, at context start) reads the window rectangle, makes the scale
factors, loads Fonts\ARIALN.ttf, creates the two layers, registers the eight handlers and the 13 console
commands, installs the confirm-close callback, runs ver and creates the text batch. 0x63c9b0 undoes
it: it clears the callback, unregisters the handlers, closes the font and layers, and frees all lines,
the batch and the input string. The confirm-close callback 0x63c9a0 closes the context and answers 0.
The derivation is in the doc.
Callers 1
- ClientContextStart client
Callees 11
- MultiplyByScreenScaleY screencoord
- EventSetConfirmCloseCallback core
- ScrnLayerCreate unassigned
- ScrnPerfEnable unassigned
- TextBlockGenerateFont unassigned
- GxCapsDrawRect gx
- GxuFontCreateBatch unassigned
- RegisterConsoleHandlers console
- ConsoleCommandExecute console
- ConsoleCommandRegister console
- SStrCopy storm
Calls and jumps by a bare address, from tables/calls.tsv.