SelectCreateRace
function · glue · orchestration
- Address
0x470cf0· 318 bytes, up to0x470e2d- Signature
void __fastcall (uint32_t index)- Meaning
- Selects a race list index: redraws for that race, takes class index 0, builds and teaches names
- Confidence
- verified, proof one
- Finding
- glue/create#reset-and-selection
Finding: Reset and selection in glue: character create
ResetCharCustomize needs a frame: it calls 0x7130a0(0) on the frame's model, draws a random
record, sets class 1, builds, stores the list index of the character's race (−1 if absent), and
the name generator learns the character's race and sex. Race index i off the list or already
selected does nothing; else i is stored, the record drawn for that race with the character's
sex, class index 0 of the old list selected, the character built, and the generator learns race
i with the character's sex. Sex s of 3 or more, or the character's, does nothing; else it
draws and builds for the character's race, and the generator learns the selected race with s.
The derivation is in the doc.
Callers 2
Callees 4
- DrawCreateCustomizations glue
- BuildCreateCharacter glue
- SelectCreateClass glue
- LearnNameGenRows glue
Calls and jumps by a bare address, from tables/calls.tsv.