benilla-re systems structs docs

RebuildSkillListThunk

function · ui · orchestration

Address
0x4d2c90 · 5 bytes, up to 0x4d2c94
Signature
void __cdecl (void)
Meaning
Jumps to 0x4d2cb0, which rebuilds the skill list
Confidence
verified, proof one
Finding
tradeskill/skills#rebuilding-the-list

Finding: Rebuilding the list in tradeskill: skills

0x4d2cb0 rebuilds the list from the local player and does nothing for another player object. It sets the collapse mask to all ones and zeroes the counts and the points, and leaves the selection. It walks the 128 skill slots and keeps a skill when its SkillLine row, its race-class row (0x6ddf90) and its category row exist and the race-class flags lack bit 0x2. A skill with rank 0 stays only when flag bit 0x1 is set, or when bit 0x4 is set and the player's level reaches the row's level (+0x14). Each kept skill becomes a row; the first skill of a category also adds the category and a header row. Last it orders the list and raises SKILL_LINES_CHANGED.

The derivation is in the doc.

Callers 1

Callees 1

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