benilla-re systems structs docs

FindOrCreateFontObject

function · ui · primitive

Address
0x783870 · 325 bytes, up to 0x7839b4
Meaning
Returns the font object of a name, ignoring case, creating one when its flag is nonzero
Confidence
verified, proof one
Finding
ui/framexml#the-elements-of-a-file

Finding: The elements of a file in ui: loading the interface from toc and XML files

The root's tag is not checked. Each child is: Include, whose file is appended to the including file's directory and loaded through 0x6ede10, so .. and .lua work; Script, whose file, used as written when it holds a backslash and appended to the directory otherwise, runs as a Lua file with no collapse, and whose body, when not empty, then runs as the chunk <path>:<Scripts>; Font, a named font; or a frame element, registered as a template when its virtual is true and created otherwise. Nothing limits nesting or detects an include cycle. An including path with no \, or a directory of 0x104 bytes or more, makes Include load a stale buffer, a fault of the client.

The derivation is in the doc.

Callers 12

Callees 8

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