benilla-re systems structs docs

CGMinimapFrame::PlacePlayerModel

function · ui · primitive

Address
0x4ee100 · 104 bytes, up to 0x4ee167
Signature
void __thiscall (CGMinimapFrame *this)
Meaning
Sets the player arrow's position to half its width and height
Confidence
verified, proof one
Finding
ui/minimap#the-player-arrow-each-frame
Test
ui::glue_4dc_4ee100_half_pair, ui::minimap_arrow_centre

Finding: The player arrow each frame in ui: Minimap, the widget

CGMinimapFrame's frame update (0x4eb040, slot 14) runs the base update, then two steps. When the player arrow child at +0x338 holds a model that has loaded, 0x4ee100 places the arrow at half its own width and height: its position +0x390 becomes (w·0.5, h·0.5, 0), from the child's layout slots 7 (width) and 8 (height), each product rounded to a float. Then, when the camera's target GUID (+0x88 of the active camera) names an object, 0x4eb8e0 takes that object's facing, slot 6, as a float: it stores it in the minimap's +0x33c (−10000.0 from the constructor) and in the arrow's facing +0x39c, unchanged. With no such object both keep their last value.

The derivation is in the doc.

Callers 2

Callees 0

None by a direct call or jump.

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