benilla-re systems structs docs

HandleListStabledPetsPacket

function · ui · primitive

Address
0x4cab10 · 413 bytes, up to 0x4cacac
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Reads the stable master and pet records, keeps the stabled ones in the array and signals PET_STABLE_SHOW
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/stable#the-list-message

Finding: The list message in ui: the stable master window

MSG_LIST_STABLED_PETS (0x26f) carries a u64 stable master GUID, a u8 pet count, a u8 slot count, and per pet a u32 pet number, u32 creature entry, u32 level, a name of at most 0x50 bytes, a u32 loyalty and a u8 slot. A pet whose slot byte has bit 1 clear is the summoned pet: it is copied to 0xb72058 and removed from the array count. The others are kept in wire order. Every message makes the sender the interaction target when it differs, clears the selection and signals PET_STABLE_SHOW (437), even for an empty or truncated list. The window opens only this way.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

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