benilla-re systems structs docs

GxuFontCreateBatch

function · unassigned · orchestration

Address
0x5c1d60 · 243 bytes, up to 0x5c1e52
Signature
void * __fastcall (uint8_t world, uint8_t clear)
Meaning
Takes a batch from the free list or allocates one and sets its two flags
Confidence
verified, proof one
Name from
the community database (idb)
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 6

Callees 4

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