benilla-re systems structs docs

CommandBucketsResize

function · console · primitive

Address
0x640a00 · 316 bytes, up to 0x640b3b
Signature
void __thiscall (void *this, uint32_t count)
Meaning
Sets the bucket count, rounding the capacity up and making new buckets empty
Confidence
verified, proof one
Finding
console/commands#growth-twins

Finding: Growth twins in console: commands

The rest of the template: the rehash check 0x640780 (twin of 0x63e9f0), the list constructor 0x640970 (0x63e9c0), the terminator reset 0x6409f0 (0x63ec30), the chain drain 0x6409a0 (0x63ebe0), the count setter 0x640a00 (0x63ec40) and the reallocation 0x640b40 (0x63ee10). 0x640a00 holds a register differently from 0x63ec40 and is otherwise the same. 0x640570 sets a list's link offset: it unlinks every object, empties the terminator and stores the offset. 0x640160 empties the registry at shutdown: it unlinks every record from the list and frees each one still in a bucket through slot 0.

The derivation is in the doc.

Callers 2

Callees 3

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