benilla-re systems structs docs

s_typeCSimpleBatchedTexture

global · ui

Address
0x878e7c · 28 bytes, up to 0x878e97
Type
char[28]
Meaning
Holds the RTTI name of the batched quad record, passed to the allocator as its tag
Confidence
verified, proof two
Finding
ui/draworder#batch-construction

Finding: Batch construction in ui: draw order

A layer batch is 0x30 bytes. 0x772e80 constructs one: it zeroes the counts and the array, makes +0x20 an empty callback list (its head points at itself, +0x24 holds that address tagged with bit 0) and stores the vtable 0x81c7ac, whose slot 0 is 0x772ec0. The quad array is four dwords at +0x8: capacity, count +0xc, records +0x10 and a growth step +0x14. 0x773280(extra, round) grows it to hold extra more records, and 0x772ef0 destroys a batch: it empties it with 0x7731d0, unlinks the callback list head and frees the records.

The derivation is in the doc.