benilla-re systems structs docs

InitShardPool

function · spell · orchestration

Address
0x6eb810 · 15 bytes, up to 0x6eb81e
Signature
void __cdecl (void)
Meaning
Initializes the shard pool 0xcee8f0 for 0x20-byte elements, 32 per block, through 0x760390
Confidence
verified, proof one
Finding
spell/visuals#static-lists-and-pools

Finding: Static lists and pools in spell: visuals

Four static initializers build the emitter list 0xcee96c and the chain list 0xcee94c, each a link offset of 0 and a terminator link whose previous-link pointer is itself and whose next is its own address with bit 0 set, and the emitter pool 0xcee928 (0x144-byte elements, 8 per block) and shard pool 0xcee8f0 (0x20 bytes, 32 per block). Each registers a destructor with _atexit: a list's unlinks every node, leaving its memory, then the terminator; a pool's calls 0x7603f0. 0x6ec410 and 0x6ec450, registered for two initializers that zero a dword, return.

The derivation is in the doc.

Callers 1

Callees 1

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