benilla-re systems structs docs

CloseTabardFrame

function · ui · orchestration

Address
0x4f58a0 · 94 bytes, up to 0x4f58fd
Signature
void __cdecl ()
Meaning
Ends the designer preview, releases the vendor target and signals CLOSE_TABARD_FRAME, doing nothing with no GUID
Confidence
verified, proof one
Finding
ui/tabard#opening-and-closing

Finding: Opening and closing in ui: the guild tabard designer

The window opens only when the server sends MSG_TABARDVENDOR_ACTIVATE (0x1f2, 0x5e70c0): a u64 vendor GUID. No Lua function opens it. The handler 0x4f5840 stores the GUID in 0xbdcee8, switches the character component to the designer preview, makes the vendor the interaction target and signals OPEN_TABARD_FRAME (374). CloseTabardCreation() and the engine's interaction clear (out of range, another window, leaving the world) run 0x4f58a0, which does nothing without a stored GUID; otherwise it undoes the preview, releases the target and signals CLOSE_TABARD_FRAME (375). Closing sends nothing. GetTabardCreationCost() returns 100000 copper.

The derivation is in the doc.

Callers 3

Callees 5

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