benilla-re systems structs docs

BinderDialog

function · objectlayer · primitive

Address
0x5dfdc0 · 387 bytes, up to 0x5dff42
Meaning
Latches a binder in range and fires CONFIRM_BINDER, or sends the bind for a zero GUID
Confidence
verified, proof one
Finding
ui/gossip#the-innkeeper-bind

Finding: The innkeeper bind in ui: the gossip window

SMSG_BINDER_CONFIRM (opcode 0x2eb) is a bare u64 binder GUID, handled by an arm of 0x5e38c0 that calls the player's 0x5dfdc0. If the binder is within interaction range, the GUID is latched in 0xc4d7c0 and the event CONFIRM_BINDER (id 513) fires with the player's current area name: the sub-area's, else the zone's, else the global HOME_INN. Out of range, nothing happens. ConfirmBinder() calls the same function with a zero GUID, which re-checks the range against the latched GUID and sends opcode 0x1b5 (CMSG_BINDER_ACTIVATE: the latched GUID); with nothing latched or out of range it sends nothing. Nothing clears the latch.

The derivation is in the doc.

Callers 3

Callees 6

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