SortTradeSkillList
function · ui · primitive
- Address
0x4fd180· 510 bytes, up to0x4fd37d- Meaning
- Applies the filters, marks row visibility and sorts the headers and rows
- Confidence
- verified, proof one
- Finding
- tradeskill/recipes#filter-and-visibility
Finding: Filter and visibility in tradeskill: recipes
0x4fd180 recomputes the displayed count and the visible flags and takes one flag. A set flag first derives each header's shown flag from the subclass mask and its collapsed flag from the collapse mask. It counts the members of each header whose slot bit passes the slot mask 0x84dd64. A recipe row is hidden when its slot bit fails, its group is not shown, its group has no members or its group is collapsed;
a header row is hidden when its group is not shown or empty. Each hidden row reduces the displayed count, which starts as the full count. Last it sorts the headers with 0x4fd540 and the rows with 0x4fd380.
The derivation is in the doc.
Callers 4
- BuildTradeSkillList ui
- SetTradeSkillTypeFilter ui
- SetTradeSkillSlotFilter ui
- SetTradeSkillExpandedMask ui
Callees 1
- _qsort crt
Calls and jumps by a bare address, from tables/calls.tsv.