benilla-re systems structs docs

s_stableSlotCount

global · ui

Address
0xb7224c · 4 bytes, up to 0xb7224f
Type
uint32_t
Meaning
Holds the number of stable slots the player owns
Confidence
verified, proof one
Finding
ui/stable#stable-state

Finding: Stable state in ui: the stable master window

The state is a summoned-pet record, an array of stabled-pet records and a few cells. A record is 0x64 bytes: the pet number (+0), the level (+4), the creature entry (+8), the loyalty row id (+0xc), the name (+0x10, 0x50 bytes) and the wire slot byte (+0x60). The summoned pet is at 0xb72058 and the array of three at 0xb720c8. The stable master's GUID is 0xb72240, the number of records in the array 0xb72248, the number of slots owned 0xb7224c, and the selected pet's number 0xb72250 (-1 for the summoned pet, 0 for none). The array is never cleared, and nothing bounds its length.

The derivation is in the doc.