benilla-re systems structs docs

Script::ExpandTradeSkillSubClass

function · ui · primitive

Address
0x500140 · 123 bytes, up to 0x5001ba
Signature
int __fastcall (lua_State *L)
Meaning
Expands an item subclass header, or all of them
Confidence
verified, proof one
Name from
the community database (idb)
Finding
tradeskill/bindings#collapse-functions

Finding: Collapse functions in tradeskill: bindings

CollapseTradeSkillSubClass (0x5000c0) and ExpandTradeSkillSubClass (0x500140) take the index of a header row of the list. An index of 0 or below collapses or expands every group by setting the collapse mask to 0 or to all ones. Otherwise the row must be a header row, and its group's bit is cleared or set. A row that is not a header raises Bad sub class in CollapseTradeSkillSubClass or Bad skill line in ExpandTradeSkillSubClass. Both end in the mask setter 0x4fd750.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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