benilla-re systems structs docs

Script::ClosePetStables

function · ui · orchestration

Address
0x4cae40 · 8 bytes, up to 0x4cae47
Signature
int __fastcall (lua_State *L)
Meaning
Closes the stable window and returns nothing
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/stable#stable-requests

Finding: Stable requests in ui: the stable master window

StablePet() sends 0x270 with the GUID and nothing else, with no check but a stored master. UnstablePet(index) bails silently while the player has a charmed unit or a summoned pet, and sends 0x271 with the GUID and the pet number of the stabled pet at the 1-based index. BuyStableSlot() sends 0x272 with the GUID when a master is stored, the slot count is not 2, a price row exists for the next slot and the player's coinage covers it; each failed test is silent. ClosePetStables() closes the window and sends nothing.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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