ConsoleWriteA
function · console · orchestration
- Address
0x63cd00· 74 bytes, up to0x63cd49- Signature
void __cdecl (const char *format, uint32_t class, ...)- Meaning
- Formats a message into 1024 bytes and writes it in a colour class
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- console/screen#writing-and-executing
Finding: Writing and executing in console: screen
ConsoleWrite (0x63cb50, text in ecx, class in edx) does nothing without text, a device (0xc4ec1c) or a
font (0xc4ec34). Under the lock it links a new line behind the input line (at the head with none) and evicts past 0x100 lines.
0x63cd00 and 0x63cd50 format into 1024 bytes and write with a class or with 0. ConsoleCommandExecute (0x63ce00, line in ecx, history flag in edx)
skips leading spaces, records the line in the history when the flag is set and it is new, and calls the command's handler with
the name and the rest. An unknown name goes to the fallback pointer 0xc518a4, which nothing sets, then to a command run, which nothing registers,
and otherwise writes Unknown command.
The derivation is in the doc.
Callers 24
- NotifyHandler client
- ErrorDisplayMinLevelCallback client
- ErrorDisplayMaxLevelCallback client
- CCommand_WorldTeleport unassigned
- CCommand_HeapUsage unassigned
- CCommand_ObjUsage objectlayer
- CGGameUI::DisplayError ui
- PublishGossipGreeting ui
- CheckCVarRange uicamera
- ReverseWhoisResponseHandler net
- HandleQuestUpdate objectlayer
- HandleTrainerMessage objectlayer
- CvarResetCommandHandler cvar
- CvarDefaultCommandHandler cvar
- OnWeatherDensityChanged lighting
- HandleDistCullOption cvar
- HandleMaxLightsOption cvar
- HandleFrillDensityOption cvar
- ReceiveNewGameSpeed unassigned
- ReceiveNewTimeSpeed unassigned
- ReceiveGameTimeUpdate unassigned
- ReceiveServerTime unassigned
- ReceiveNewGameTime unassigned
- FindSpellIdByName spell
Callees 2
- ConsoleWrite console
- SStrVPrintf storm
Calls and jumps by a bare address, from tables/calls.tsv.