benilla-re systems structs docs

InitOptUseCount

function · cvar · orchestration

Address
0x688420 · 10 bytes, up to 0x688429
Signature
void __cdecl (void)
Meaning
Runs 0x688430 and registers the destructor 0x688460
Confidence
verified, proof two
Finding
cvar/overview#static-objects

Finding: Static objects in cvar: overview

The registry builds its table object with a slot function, call body; jmp register, and registers 0x63d0f0 as its exit destructor with _atexit. The body 0x63d020 leaves the table empty (containers#hash-table-object) and the destructor unlinks every record and frees the bucket vector. The options file builds a use count: its slot function 0x688420 calls 0x688430, which adds 1 to 0xc2a3c4 and jumps to 0x5b71c0 on the first use, and registers 0x688460, which subtracts 1 and jumps to 0x5b71d0 at the last.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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