benilla-re systems structs docs

PlaceBlips

function · minimap · primitive

Address
0x6d9a90 · 884 bytes, up to 0x6d9e03
Signature
void __cdecl ()
Meaning
Splits the candidates into in-range icons and at most 3 ranked direction arrows with bearings
Confidence
verified, proof one
Finding
ui/minimapblips#placing-the-blips

Finding: Placing the blips in ui: Minimap blips, arrows and dots

Each candidate with a nonzero position and no unmet world state is placed by its distance over the zoom radius R. At 0.8 or less it is in range: with flag bit 1 it joins the icon list, else it is dropped. Farther than 0.8 it is kept as a direction-arrow candidate. Of those candidates at most 3 are kept and sorted by rank, a signed compare with the lowest first, then by distance. A candidate farther than 694.444 yards is dropped, except the corpse record. The arrows' bearings come from atan2.

The derivation is in the doc.

Callers 4

Callees 4

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