benilla-re systems structs docs

CVarTableClear

function · cvar · orchestration

Address
0x63e3a0 · 189 bytes, up to 0x63e45c
Signature
void __thiscall (void *this)
Meaning
Unlinks every record, sets the mask to -1 and frees the bucket vector
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 3

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