benilla-re systems structs docs

s_fontFaceTable

global · unassigned

Address
0xc4ba7c · 40 bytes, up to 0xc4baa3
Type
uint32_t[10]
Meaning
Holds the open font faces, a hash table by path with buckets at +0x1c and mask at +0x24
Confidence
verified, proof one
Finding
font/freetype#opening-a-face

Finding: Opening a face in font: the FreeType calls

0x5d0060(path, library) returns a handle to the face of a font path, or 0. A null library or a null or empty path returns 0. A path already open, matched by its SStrHashHT hash and then SStrCmpI without a length limit, returns its handle with a reference added. Otherwise the whole file is read with SFile::Load flags 3, a face is made from that memory with face index 0, and the unic charmap is selected; a failure unloads the file and returns 0, and a face made before a failed selection is not released. A new record keeps the file, the face and the path in the table 0xc4ba7c, and its handle is returned with a reference added.

The derivation is in the doc.