BuildCreateRaceList
function · glue · primitive
- Address
0x470430· 513 bytes, up to0x470630- Signature
void __cdecl (void)- Meaning
- Zeroes the frame and facing and rebuilds the race list from ChrRaces: Alliance races, then Horde
- Confidence
- verified, proof one
- Finding
- glue/create#the-race-list
Finding: The race list in glue: character create
At every glue start the list is rebuilt from ChrRaces in file order, Alliance races first,
then Horde. A row with flag bit 0 (+0x04) is skipped. For each FactionGroup row, in file
order, with a nonzero mask index whose bit the row's faction template (+0x08) holds in its
group mask (+0x0c), a case-insensitive match of the group's InternalName with Alliance
(first pass) or Horde (second) appends the race id, so a race matching two groups appears
twice. The shift takes the index mod 32.
The derivation is in the doc.
Callers 1
- CGlueMgr::Resume glue
Callees 4
- 0x4368c0 unassigned
- GrowableArrayChunk glue
- RoundUpToChunk glue
- SStrCmpI storm
Calls and jumps by a bare address, from tables/calls.tsv.