benilla-re systems structs docs

s_hitTestValueTargets

global · ui

Address
0x480d00 · 16 bytes, up to 0x480d0f
Type
uint32_t[4]
Meaning
Holds the jump targets of 0x480c90 for unit, game object, corpse and other types
Confidence
verified, proof one
Finding
ui/worldpick#the-candidate-filters

Finding: The candidate filters in ui: the world pick

0x480a50 walks the list and runs 0x480780(node, flags) on each node. A node that passes is registered as a hit-test instance (0x480d90, for the model and its children) and the scene ray (0x7089c0) then returns the nearest hit's node. 0x480780 admits a unit with flag 0x8 and a player with 0x10, and sends both to 0x480610. It admits a game object with 0x4 and a corpse with 0x40, each also needing 0x6e62e0 or 0x6e6260 respectively while a spell awaits a target. Every other type is refused.

The derivation is in the doc.