benilla-re systems structs docs

OutputTime

function · storm · host

Address
0x65a840 · 228 bytes, up to 0x65a923
Signature
void __fastcall (void *log, int stamp)
Meaning
Writes the local-time stamp of a log line, or as many spaces when stamp is 0, unless the log has no stamps
Confidence
verified, proof one
Name from
the community database (idb)
Finding
storm/log#writing-a-log-line

Finding: Writing a log line in storm: text logs

SLogVWrite(id, format, args) finds the record, opens its file if it has to, and builds the line in the buffer: the time stamp, the indent, the text from vsprintf, and "\r\n". The stamp is "%u/%u %02u:%02u:%02u.%03u " of month, day, hour, minute, second and millisecond from GetLocalTime, made again only when GetTickCount has changed since the last stamp of any log. The indent is +0x11c spaces, at most 128. Storm option 5 sends the line to OutputDebugStringA. A buffer at 0xc000 bytes or more is flushed. Nothing bounds the text: a line that carries the position past 0x10000 writes past the record.

The derivation is in the doc.

Callers 3

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.