benilla-re systems structs docs

GetWorldStateValue

function · ui · orchestration

Address
0x4c5810 · 91 bytes, up to 0x4c586a
Signature
uint32_t __fastcall (uint32_t id)
Meaning
Returns the value stored for a world state id, or 0
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 5

Callees 0

None by a direct call or jump.

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