benilla-re systems structs docs

SelectObjectByClick

function · ui · primitive

Address
0x4925d0 · 591 bytes, up to 0x49281e
Signature
void __stdcall (uint64_t guid)
Meaning
Offers the payload to the clicked object, then makes it the target
Confidence
verified, proof one
Finding
ui/mouseover#selecting-by-click

Finding: Selecting by click in ui: the world under the pointer

Selecting (0x4925d0, action 1) first offers a held payload to the clicked object, then makes it the target (0x493540). For a player, while no spell awaits a target, an item payload with a source container or a money payload is offered. A bag with items in it shows error 0x2b, and an empty bag equipped in a bag slot (0x13 to 0x16) error 0xe. A dead active player shows 0x7e. With a trade open, the trade partner gets the payload in the trade window and anyone else shows 0xc4; with none open the click asks to trade (opcode 0x116). For a unit that is the player's pet an item payload feeds it (ui/cursor#dropping-an-item-on-a-unit). Any unit also plays its greeting (objectlayer/unitnames#greetings-and-unit-sounds).

The derivation is in the doc.

Callers 2

Callees 13

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