NamePlateSortKey
function · objectlayer · primitive
- Address
0x6089a0· 89 bytes, up to0x6089f8- Meaning
- Returns the squared distance of a screen point from (0.4, 0.3)
- Confidence
- verified, proof one
- Finding
- objectlayer/unitnames#nameplates
- Test
objectlayer::dist2_to_anchor_difftest
Finding: Nameplates in objectlayer: unit names and markers
0x60f600 runs each frame. A unit gets a plate when it is alive, selectable, not stealthed, in a
visible node, not the camera's own unit, on screen and within 20 yards of it; when enemy or
friendly plates are switched on for its side; and when it is no friendly totem and no enemy
flagged dead. Plates come from a free list and stay sorted by distance from the screen point
(0.4, 0.3).
The derivation is in the doc.
Callers 1
- SortNamePlate objectlayer
Callees 1
- _atexit crt
Calls and jumps by a bare address, from tables/calls.tsv.