s_charHairGeosetsRows
global · dbc
- Address
0xc0df78· 4 bytes, up to0xc0df7b- Type
uint32_t- Meaning
- Holds the CharHairGeosets.dbc rows, 0x18 bytes each
- Confidence
- verified, proof one
- Finding
- charactermodel/customization#hair
Finding: Hair in charactermodel: customization
0x4784c0(style) applies a hair style: it needs 0x477c20(3, style, hairColor), stores +0x34, sets the first geoset base +0x144 to the CharHairGeosets value of 0x478540 (the row of the race, sex and style, minimum 1, 1 when no row), makes the section 3 cells for
the style (sub 1 for group 9, sub 2 for group 8) unless baked, applies the hair colour (0x4783f0 with the detail flag clear), and marks +0x08 and +0x0a. 0x4783f0(colour, detail) stores +0x20 after
its own gate, binds the hair texture, and remakes the hair and facial hair cells with the new colour. 0x478220(variation) binds the section 3 row's first texture name as replaceable type 6.
The derivation is in the doc.