benilla-re systems structs docs

FormatFontFlags

function · ui · primitive

Address
0x6f1ad0 · 85 bytes, up to 0x6f1b24
Signature
const char * __fastcall (uint32_t flags)
Meaning
Joins the names of the font flags set, OUTLINE, THICKOUTLINE and MONOCHROME in that order, with comma and space
Confidence
verified, proof one
Finding
ui/fontmethods#font-flags-text
Test
ui::format_font_flags_6f1ad0

Finding: Font flags text in ui: font accessors from Lua

GetFont's third value is the text FormatFontFlags(flags) (0x6f1ad0) builds: the names of the flags that share a bit with the argument, in the order of the table 0x811b10, OUTLINE (1), THICKOUTLINE (4) and MONOCHROME (2), joined by , , or the empty string for none. The text lives in the 64-byte static 0xceea60, which every call empties and rewrites, so a caller holds it only until the next call. FontString:GetFont passes the string's flags (0x772810) and the shared GetFont the font's +0x4c; each pushes the text with lua_pushstring.

The derivation is in the doc.

Callers 2

Callees 1

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