benilla-re systems structs docs

CompareTradeSkillHeaders

function · ui · primitive

Address
0x4fd540 · 265 bytes, up to 0x4fd648
Meaning
Orders profession headers by item class and subclass name
Confidence
verified, proof one
Finding
tradeskill/recipes#header-order
Test
ui::sortcmp_4fd540

Finding: Header order in tradeskill: recipes

The header comparator 0x4fd540 orders by item class ascending and, within a class, by the localized name of the ItemSubClass row of the group, case-blind. The name is +0x4c plus 4 for the locale, or +0x28 plus 4 for the locale when the first is empty. It returns 0 for two headers of the same class when either subclass row is missing. Rows of the table at 0xc0db90 are 0x74 bytes.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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