benilla-re systems structs docs

CGxString::SetShadow

function · font · primitive

Address
0x5cd650 · 64 bytes, up to 0x5cd68f
Signature
void __thiscall (CGxString *this, const float *offset, const uint32_t *color)
Meaning
Stores the shadow colour and offsets and turns the shadow on
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.