InitCharacterComponents
function · charactermodel · primitive
- Address
0x476020· 1686 bytes, up to0x4766b5- Signature
bool __cdecl (void)- Meaning
- Makes the component pool and the tables, then builds the CharSections grid and the facial hair counts
- 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.
Callers 1
- WowClientInit client
Callees 6
- 0x404130 client
- TextureAllocMips gx
- ObjectAllocAddHeap objectalloc
- ResetCharLoadCounters charactermodel
- CharPathPrefixStub charactermodel
- SMemAlloc storm
Calls and jumps by a bare address, from tables/calls.tsv.