benilla-re systems structs docs

CVarBucketDestroy

function · cvar · orchestration

Address
0x63e910 · 176 bytes, up to 0x63e9bf
Signature
void * __thiscall (void *this, uint32_t flags)
Meaning
Unlinks every object of a bucket and its terminator and, with bit 0 of the argument, frees the bucket
Confidence
verified, proof two
Finding
cvar/containers#records-and-virtual-slots

Finding: Records and virtual slots in cvar: containers

The vtable has four slots. Slot 0 frees a record (0x63e2b0: the CVar destructor, then SMemFree). Slot 1 allocates a record (0x63e2e0: 0xc4 plus the extra size, zero-filled, link words cleared, and linked first in the bucket given). Slot 2 is the deleting destructor (0x63e460) and slot 3 clears the table (0x63e3a0): it unlinks every record from the list and the buckets, sets the mask to −1 and frees the bucket array. Neither frees the records themselves.

The derivation is in the doc.

Callers 1

Callees 1

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