benilla-re systems structs docs

OnTradeSkillItemRecord

function · ui · orchestration

Address
0x4fdc30 · 21 bytes, up to 0x4fdc44
Signature
uint32_t __stdcall (void *record, bool ready)
Meaning
Rebuilds the trade skill window's list when an item template arrives
Confidence
verified, proof one
Finding
ui/spellbook#recipe-icons

Finding: Recipe icons in ui: the spell book

GetTradeSkillIcon (0x4fdae0) reads EffectItemType[0] (+0x19c) of the recipe spell without testing its effect and shows that item's icon; it gives nil when the type is 0 or the template is unknown, and never shows the spell's own icon. GetCraftIcon (0x4f7160) shows the recipe spell's own SpellIconID and never reads the item type. The windows differ: the trade skill window shows what a recipe makes, the craft window the spell.

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.