benilla-re systems structs docs

FormatFontsPath

function · unassigned · orchestration

Address
0x42b650 · 31 bytes, up to 0x42b66e
Signature
void __fastcall (char *name, char *buffer, uint32_t size)
Meaning
Formats Fonts\<file name> into a buffer of a given size
Confidence
verified, proof one
Finding
core/time#file-name-helpers

Finding: File name helpers in core: time

The stretch from 0x42b530 to 0x42b6a0 holds a file of four file-name helpers, not part of TimeManager.cpp. 0x42b550 returns 1 for a string with a character of the set \*/:><|&+^?". 0x42b580 returns 1 for a file name with none of them whose part before its last dot differs, ignoring case, from nul, con, prn, aux, com1 to com9 and lpt1 to lpt9. 0x42b600(buffer, size) writes the Windows directory, a backslash if missing, and fonts\. 0x42b650 takes the file name in ecx, the buffer in edx and the size on the stack, and writes Fonts\<file name>. Only 0x42b650 is called from outside the stretch, by the fonts set-up at 0x442b00, which passes FRIZQT__.TTF (0x442b19).

The derivation is in the doc.

Callers 1

Callees 1

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