benilla-re systems structs docs

TradeSkillRowsSetCapacity

function · ui · primitive

Address
0x5008f0 · 133 bytes, up to 0x500974
Signature
void __thiscall (void *this, uint32_t capacity)
Meaning
Reallocates the recipe row pointer array to a capacity, copying the pointers that fit
Confidence
verified, proof one
Finding
tradeskill/recipes#records

Finding: Records in tradeskill: recipes

A row is 0x20 bytes under the file's path, and a header is 0x14 bytes. A header row of the list is a row whose spell id is -1 and whose class and subclass name its group.

row offsetholds
+0the spell id, or -1 for a header row
+4the difficulty, 0 to 3
+8, +0xcthe class and subclass of the created item; for a header row, of the group
+0x10the inventory slot bit of the created item
+0x14the item level of the created item
+0x18the available count
+0x1cthe visible flag
header offsetholds
+0, +4the item class and subclass
+8the count of member rows that pass the slot filter
+0xc1 when the subclass filter shows the group
+0x101 when the group is collapsed

The derivation is in the doc.

Callers 1

Callees 3

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