benilla-re systems structs docs

PoiArrayGrow

function · minimap · primitive

Address
0x6db310 · 226 bytes, up to 0x6db3f1
Signature
void __thiscall (void *this, uint32_t extra, uint32_t round)
Meaning
Grows a pointer array by a count, rounded to a multiple of its granularity of at most 0x40
Confidence
verified, proof one
Finding
minimap/overview#array-and-list-helpers

Finding: Array and list helpers in minimap: overview

The rest of the templates: the list offset setter 0x6db490 (twin 0x640570), the list constructor 0x6dba10 (0x63e9c0), the chain drain 0x6dba40 (0x63ebe0), the terminator reset 0x6dba90 (0x63ec30), the bucket count setter 0x6dbaa0 (0x63ec40), the bucket reallocation 0x6dbbe0 (0x63ee10), the sizing helpers 0x6db6f0 (0x63edb0) and 0x6db730 (0x63edf0). 0x6db6f0 caps the granularity at 8, where 0x63edb0 caps it at 0x15. Three growable arrays use the same pattern: 0x6db280 sets the capacity of a pointer array, 0x6db310 grows it by a count to a multiple of its granularity (at most 0x40), 0x6db750 sets the capacity of the arrow record array (0x4c bytes each) and 0x6db590 frees it.

The derivation is in the doc.

Callers 1

Callees 3

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