benilla-re systems structs docs

s_componentPool

global · charactermodel

Address
0xb42720 · 4 bytes, up to 0xb42723
Type
void *
Meaning
Holds the character component pool record: the pool and a constructed flag byte
Confidence
verified, proof one
Finding
charactermodel/component#pool-and-statics

Finding: Pool and statics in charactermodel: component

0x476020 runs once at start-up. It allocates the 8-byte pool record, creates the pool of 0x4e4-byte blocks (0x20 to a chunk) and stores it in 0xb42720, stores the end of each path buffer (0xb422f0 for 0xb42510, 0xb42508 for 0xb42618), fills the ten group handlers and the ten choosers, creates the composite target table 0xb422d8 (0x44af90(5, 256, 256)), resets the load counters (0x475f20), then builds the CharSections grid and the facial hair count table (customization#grid-build). It returns 0 when the density test of the grid build fails. 0x4766e0 frees the grid, the table, the composite target table and the pool at shutdown.

The derivation is in the doc.