FindFacialHairRow
function · charactermodel · primitive
- Address
0x478740· 66 bytes, up to0x478781- Signature
void * __thiscall (void *this)- Meaning
- Returns the facial hair style row of the race, sex and style, or null
- Confidence
- verified, proof one
- Finding
- charactermodel/customization#facial-hair
- Test
charactermodel::region_record_lookup
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.
Callers 2
- SetCharacterFacialHair charactermodel
- UnequipCharacterSlot charactermodel
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.