benilla-re systems structs docs

CSimpleFontString::GetFontPath

function · ui · orchestration

Address
0x772790 · 18 bytes, up to 0x7727a1
Signature
const char * __thiscall (CSimpleFontString *this)
Meaning
Returns the path of the engine font, or 0 without one
Confidence
verified, proof one
Finding
ui/fonttext#font-string-members

Finding: Font string members in ui: font string internals

A FontString's own state changes go through small members. SetFont(name, height, flags, force) (0x7714f0, ret 0x10) returns 1 and skips the load when force is 0, the current path (0x772790) equals the name ignoring case, the height is within 2^-22 and the flags (0x772810) are equal. Otherwise, for a height other than 0, it builds a font from the name, flags and height times the layout scale +0x7c with TextBlockGenerateFont and returns 0 when none results. It then stores the height at +0xe4, closes the built string +0xf8 and the old font, stores the new font at +0xe0 and, when there is one, zeroes the measures +0xfc and +0x100, clears flag 1 at +0x60 and calls CLayoutFrame::Resize(0).

The derivation is in the doc.

Callers 3

Callees 1

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