CompareSkillRows
function · ui · primitive
- Address
0x4d3070· 332 bytes, up to0x4d31bb- Meaning
- Orders skill rows by visibility, category, header, learned state and name
- Confidence
- verified, proof one
- Finding
- tradeskill/skills#order-and-visibility
- Test
ui::sortcmp_4d3070
Finding: Order and visibility in tradeskill: skills
0x4d2ed0 orders the list and sets the visible flags. A category is collapsed when its bit in 0xb731c8 is clear, with the bit taken from its position in the category array. A header row is always visible; a skill row is visible unless its category is collapsed. The visible count starts as the row count and loses one for each hidden row. The categories sort by the sort field (+0x28) of the SkillLineCategory row, ascending.
The rows sort with 0x4d3070: the visible rows first, then by category position, the header first in its category, trained skills before untrained ones, and the localized skill name case-blind.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
- SStrCmpI storm
Calls and jumps by a bare address, from tables/calls.tsv.