benilla-re systems structs docs

CloseStableWindow

function · ui · orchestration

Address
0x4cae10 · 48 bytes, up to 0x4cae3f
Signature
void __cdecl ()
Meaning
Clears the stable master and its interaction target and signals PET_STABLE_CLOSED, doing nothing with no master
Confidence
verified, proof one
Finding
ui/stable#closing-and-events

Finding: Closing and events in ui: the stable master window

Closing the window (0x4cae10) clears the master GUID and signals PET_STABLE_CLOSED (440); the list and counts stay. It does so through the interaction clear, which only acts when the stored target is the master, and puts nothing on the wire. A script close while the master is the target signals the event twice. The other events are PET_STABLE_UPDATE (438), signalled by result code 11 and by the creature arrival callback 0x4cb3b0, and PET_STABLE_UPDATE_PAPERDOLL (439), signalled by the callback 0x4cba50; all four carry no arguments and are signalled nowhere else.

The derivation is in the doc.

Callers 3

Callees 2

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