s_charFacialHairRows
global · dbc
- Address
0xc0df28· 4 bytes, up to0xc0df2b- Type
uint32_t- Meaning
- Holds the CharacterFacialHairStyles.dbc rows, 0x28 bytes each
- Confidence
- verified, proof one
- Finding
- charactermodel/customization#facial-hair
Finding: Facial hair in charactermodel: customization
0x478660(style, detail) takes a facial hair style from 0 to the count of 0x47a4c0 inclusive, stores +0x30, and looks the style up in [0xc0df28] (0x478740: race +0, sex +4, style +8). A row sets the bases +0x148 = +0x18 + 0x64, +0x150 = +0x1c + 0x12c
and +0x14c = +0x20 + 0xc8 and marks the geosets dirty. When the row has a nonzero geoset and the section 3 cells for group 9 and 8 are not both set, it binds the hair texture of variation 1 with 0x478220(1). Unless baked and with the detail flag, it makes
the section 2 cells (sub 0 for group 9, sub 1 for group 8).
The derivation is in the doc.