benilla-re systems structs docs

WorldClickGround

function · ui · orchestration

Address
0x492c90 · 73 bytes, up to 0x492cd8
Signature
void __thiscall (void *this)
Meaning
Clears a payload by action, then tries the ground cast or the ground click
Confidence
verified, proof one
Finding
ui/mouseover#payloads-on-the-world

Finding: Payloads on the world in ui: the world under the pointer

The object leg clears a preview payload (kinds 5, 7, 9) with ClearCursor(1, 1), leaves any other payload alone, then selects (action 1) or interacts (action 4) with the object. The ground leg clears any payload on action 4 and only a preview payload on action 1. It then tries a ground-targeted cast (action 1) and otherwise runs the click handler 0x5e0320: for action 4 it walks the active mover to the point; for action 1 it asks to confirm destroying an item payload that has a source container, leaving it held, and otherwise deselects the target.

The derivation is in the doc.

Callers 1

Callees 3

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