benilla-re systems structs docs

ResetTradeSkillState

function · ui · orchestration

Address
0x4fc750 · 33 bytes, up to 0x4fc770
Signature
void __cdecl (void)
Meaning
Zeroes the selection, the row and header counts, the last built line and the repeat spell
Confidence
verified, proof one
Finding
tradeskill/recipes#list-state

Finding: List state in tradeskill: recipes

The window keeps its state in TradeSkillFrame.cpp's globals. The two arrays hold a capacity, a count, a data pointer and a granularity; the list never shrinks its arrays.

addressholds
0xbddfb8the row array: capacity, count 0xbddfbc, data 0xbddfc0, granularity 0xbddfc4
0xbddff8the header array: capacity, count 0xbddffc, data 0xbde000, granularity 0xbde004
0xbde040the skill line of the open window, 0 when closed
0xbde044the selected spell id, 0 for none
0xbde048the count of pending item requests
0xbde04cthe full count of rows, header rows included
0xbde050the count of headers
0xbde054the displayed count
0xbde058the inventory slot bits of the rows built for the open line
0xbde05c, 0xbde060the repeat spell and the repeat count
0xbde064the skill line of the last build
0x84dd60, 0x84dd64, 0x84dd68the masks: subclass filter, slot filter, collapse; all start as 0xffffffff

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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