benilla-re systems structs docs

CGxStringBatch::Add

function · font · primitive

Address
0x5c8e40 · 251 bytes, up to 0x5c8f3a
Signature
void __thiscall (CGxStringBatch *this, void *string)
Meaning
Adds a string to the batch's run of its font
Confidence
verified, proof one
Finding
font/api#batches

Finding: Batches in font: fonts, strings and batches

A batch groups the strings drawn in one flush. GxuFontCreateBatch(a, b) takes a batch (0x34 bytes) from the free list 0xc2b844 or allocates one and sets bit 0 of its flags word at +8 from a (world space) and bit 1 from b (empty after drawing). 0x5c1e60(batch, string) adds a string, 0x5c1ef0(batch) draws it, 0x5c1f00 clears it and 0x5c1f70 returns it to the free list.

The derivation is in the doc.

Callers 1

Callees 4

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