benilla-re systems structs docs

Script::BuyStableSlot

function · ui · primitive

Address
0x4cb080 · 334 bytes, up to 0x4cb1cd
Signature
int __fastcall (lua_State *L)
Meaning
Sends the buy-slot request when a slot remains and the coinage covers the price
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 5

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