benilla-re systems structs docs

Script::GetNameForRace

function · glue · orchestration

Address
0x4713f0 · 94 bytes, up to 0x47144d
Signature
int __fastcall (lua_State *L)
Meaning
Returns the create character's race name and file string, or nil, nil
Confidence
verified, proof one
Name from
the community database (idb)
Finding
glue/create#query-functions

Finding: Query functions in glue: character create

These read no argument. Strings are the locale's column; a null string pushes nil.

functionaddressreturns
GetNameForRace0x4713f0character's race: name, +0x3c; nil, nil
GetFactionForRace0x471450first matching group: name, InternalName; nil, nil
GetAvailableRaces0x471520name, +0x3c per listed race
GetClassesForRace0x471560name, +0x38 per listed class
GetHairCustomization0x4715d0selected race's +0x70, else NORMAL
GetFacialHairCustomization0x471620selected race's +0x68 + 4·sex, else NORMAL
GetSelectedRace0x471680selected index + 1
GetSelectedSex0x4716b0character's sex + 1
GetSelectedClass0x4716e0class name, +0x38; nil, nil
GetCharacterCreateFacing0x471910facing in degrees
GetRandomName0x471980a name
HasCharCustomization0x4718201 or nil

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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