benilla-re systems structs docs

CGxFont::NewCodeDesc

function · font · primitive

Address
0x5cabd0 · 691 bytes, up to 0x5cae82
Signature
void * __thiscall (CGxFont *this, uint32_t code)
Meaning
Returns the cached glyph of a code, making and placing it when missing
Confidence
verified, proof one
Name from
the community database (idb)
Finding
font/glyphs#finding-or-making-a-glyph

Finding: Finding or making a glyph in font: glyph cache and atlas

0x5cabd0(code) returns the cached descriptor of a character code, making it when missing. A hit moves the descriptor to the front of the recency list. A miss rasterizes the glyph, places it in a page (making a page if needed, evicting the least recently used glyph when the pages are full) and enters it in the hash.

The derivation is in the doc.

Callers 6

Callees 16

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