benilla-re systems structs docs

ChrRacesGetFileName

function · dbc · orchestration

Address
0x5764f0 · 6 bytes, up to 0x5764f5
Signature
const char * __cdecl ()
Meaning
Returns the path of the ChrRaces table file
Confidence
verified, proof one
Finding
spell/tables#startup-build-of-the-indexes

Finding: Startup build of the indexes in spell: tables

SpellTableInitialize runs once, called from ClientInitializeGame (0x401570). It walks SkillRaceClassInfo.dbc in row order and adds one race-class node per run of consecutive rows with equal skill line (+0x04): the node's hash is the skill line, +0x18 the run's first row and +0x1c its length. It does the same over SkillCostsData.dbc, keyed by +0x04, into the cost index. Then, for every CharBaseInfo.dbc row whose race byte (+0x00) is an id ChrRaces.dbc holds, it offers every SkillLineAbility.dbc row to 0x6ddbe0 with that race and the row's class byte (+0x01). A key that reappears after another key starts a second node.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.