benilla-re systems structs docs

Md5Granularity

function · minimap · primitive

Address
0x6db6f0 · 57 bytes, up to 0x6db728
Signature
uint32_t __thiscall (void *this, uint32_t size)
Meaning
Returns the largest power of two not above a size (1 for 0), or stores and returns 8 for 8 and up
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 0

None by a direct call or jump.

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