benilla-re systems structs docs

CGxString::SetColor

function · font · orchestration

Address
0x5ccb40 · 61 bytes, up to 0x5ccb7c
Signature
void __thiscall (CGxString *this, const uint32_t *color)
Meaning
Stores the main colour and limits the shadow alpha to it
Confidence
verified, proof one
Finding
font/api#string-setters

Finding: String setters in font: fonts, strings and batches

Three small functions change a string. 0x5ccb10(&pos) stores a new position (3 floats at +0x20) and recomputes the anchor with 0x5cdf70. 0x5ccb40(&color) stores the main colour at +0x2c and lowers the shadow alpha byte +0x33 to the colour's alpha. 0x5cd650(&offset, &color) stores the shadow colour and offsets.

The derivation is in the doc.

Callers 1

Callees 1

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