benilla-re systems structs docs

CVarTableDeletingDtor

function · cvar · orchestration

Address
0x63e460 · 190 bytes, up to 0x63e51d
Signature
void * __thiscall (void *this, uint32_t flags)
Meaning
Unlinks the records and buckets, frees the vector and, with bit 0 of the argument, the table
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 0

None by a direct call or jump.

Callees 4

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