CGMinimapFrame::OnFrameUpdate
function · ui · orchestration
- Address
0x4eb040· 123 bytes, up to0x4eb0ba- Signature
void __thiscall (CGMinimapFrame *this, float elapsed)- Meaning
- Runs the base update, places the loaded player arrow, and feeds it the camera target's facing
- Confidence
- verified, proof one
- Finding
- ui/minimap#the-player-arrow-each-frame
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 0
None by a direct call or jump.
Callees 6
- ClntObjMgrObjectPtr objectlayer
- GetActiveCamera ui
- CGMinimapFrame::SetPlayerFacing ui
- CGMinimapFrame::PlacePlayerModel ui
- CM2Model::IsLoaded models
- CSimpleFrame::OnFrameUpdate ui
Calls and jumps by a bare address, from tables/calls.tsv.