SortReputationList
function · ui · primitive
- Address
0x4d5c40· 380 bytes, up to0x4d5dbb- Signature
void __cdecl ()- Meaning
- Counts children, sorts headers and rows, recounts the visible rows and signals UPDATE_FACTION
- Confidence
- verified, proof one
- Finding
- ui/reputation#sorting-and-counts
Finding: Sorting and counts in ui: the reputation list
0x4d5c40 counts the children of each header (entries with the header's key and no header bit; an inactive entry counts
under -1), sorts the header objects, then gives each entry its header's position in the sorted array. The visible count is
the entry count less every child of a collapsed header and less every header with no children. The entries are sorted last
and UPDATE_FACTION (372) is signalled. Headers with children come first, ordered by the localized name; a header without
a row comes after one with a row; two without rows order by the larger key first. Rows order by header position, a collapsed
child after everything, the header row before its children, then children by name.
The derivation is in the doc.
Callers 5
- RebuildReputationList ui
- HandleSetFactionVisiblePacket ui
- HandleSetFactionStandingPacket ui
- SetFactionInactiveFlag ui
- SetHeaderExpanded ui
Callees 3
- IsEntryInactive ui
- FrameScript_SignalEvent ui
- _qsort crt
Calls and jumps by a bare address, from tables/calls.tsv.