benilla-re systems structs docs

AllocateSkillList

function · ui · primitive

Address
0x4d2ab0 · 326 bytes, up to 0x4d2bf5
Meaning
Allocates the skill list rows and category headers and clears the list state
Confidence
verified, proof one
Finding
tradeskill/skills#list-state

Finding: List state in tradeskill: skills

The skill list keeps a row array and a category array, each a capacity, a count and a data pointer, and seven words of state.

addressholds
0xb73184the row array: capacity, count 0xb73188, data 0xb7318c
0xb73168the category array: capacity, count 0xb7316c, data 0xb73170
0xb731b8the count of rows, headers included
0xb731bcthe count of categories
0xb731c0the count of visible rows
0xb731c4the selected skill line, 0 for none
0xb731c8the collapse mask: a clear bit collapses the category at that position
0xb731cca flag that would hide untrained skills; nothing sets it
0xb731d0the skill points the unaccepted skill-ups cost

A row is 0x14 bytes: the skill line (0 for a header), the category, the visible flag, the untrained flag and the points chosen. A category is 0xc bytes: the category id and its collapsed flag.

The derivation is in the doc.

Callers 1

Callees 5

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