benilla-re systems structs docs

CompareSetBonuses

function · ui · primitive

Address
0x52e5c0 · 76 bytes, up to 0x52e60b
Signature
int __cdecl (const uint8_t *a, const uint8_t *b)
Meaning
Orders two item set bonus slots by the members they need, then by slot number
Confidence
verified, proof one
Finding
ui/tooltipitemreq#set-bonus-lines

Finding: Set bonus lines in ui: Item requirement, spell and set lines

After the members comes a second blank line and the bonuses. The set has eight bonus slots, each a spell and a count of members needed; they are shown in order of that count, equal counts in slot order. A bonus is ITEM_SET_BONUS in green with the text when the set's skill is met and the player has at least that many members, else ITEM_SET_BONUS_GRAY in gray with the count and the text. Both wrap.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 0

None by a direct call or jump.

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