QuadArrayReserve
function · ui · primitive
- Address
0x773280· 231 bytes, up to0x773366- Signature
void __thiscall (void *this, uint32_t extra, uint32_t round)- Meaning
- Grows the batch's quad array to hold extra more records, rounded to its step when asked
- 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.
Callers 1
Callees 3
- SMemAlloc storm
- SMemReAlloc storm
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.