GameTooltipAnchor
function · ui · orchestration
- Address
0x52fe90· 300 bytes, up to0x52ffbb- Meaning
- Anchors a tooltip to its owner by its mode
- Confidence
- verified, proof one
- Finding
- ui/tooltip#setowner-and-the-anchor-modes
Finding: SetOwner and the anchor modes in ui: GameTooltip, the widget
SetOwner(owner, anchor, x, y) clears the tooltip, restores full alpha and stores the owner, the
mode and the offsets, which it converts from script units. The anchor names give the modes and the
point of the tooltip set to a point of the owner, offset by x and y:
| name | mode | tooltip point | owner point |
|---|---|---|---|
ANCHOR_LEFT, and an absent or unknown name | 0 | BOTTOMRIGHT | TOPLEFT |
ANCHOR_RIGHT | 1 | BOTTOMLEFT | TOPRIGHT |
ANCHOR_BOTTOMLEFT | 2 | TOPRIGHT | BOTTOMLEFT |
ANCHOR_BOTTOMRIGHT | 3 | TOPLEFT | BOTTOMRIGHT |
ANCHOR_TOPLEFT | 4 | BOTTOMLEFT | TOPLEFT |
ANCHOR_TOPRIGHT | 5 | BOTTOMRIGHT | TOPRIGHT |
ANCHOR_CURSOR | 6 | (next entry) | |
ANCHOR_NONE | 7 | all points cleared | |
ANCHOR_PRESERVE | 8 | points kept |
The derivation is in the doc.
Callers 2
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.