benilla-re systems structs docs

HandleStableResultPacket

function · ui · primitive

Address
0x4cacb0 · 232 bytes, up to 0x4cad97
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Reads a stable result code: shows the money error, asks for the list again or signals PET_STABLE_UPDATE
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/stable#the-result-message

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

SMSG_STABLE_RESULT (0x273) carries one byte. Code 1 shows ERR_NOT_ENOUGH_MONEY. Codes 8 and 9 ask for the list again. Code 10 adds 1 to the slot count and asks again. Code 11 signals PET_STABLE_UPDATE (438). Every other code, including the generic stable error 6, does nothing. The request is MSG_LIST_STABLED_PETS with the stable master GUID, sent only while a master is stored.

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.