benilla-re systems structs docs

CGWorldFrame::OnUpdate

function · ui · orchestration

Address
0x481790 · 338 bytes, up to 0x4818e1
Signature
void __thiscall (CGWorldFrame *this, uint32_t time)
Meaning
Picks under the pointer and sets the cursor mode when the world is the mouse focus
Confidence
verified, proof one
Finding
ui/worldcursor#the-world-update

Finding: The world update in ui: the pointer picture

The world frame's update 0x481790 picks a cursor mode only while the frame under the mouse is the world frame (the frame manager's mouse focus equals the world frame). Over any other frame it writes no mode, and the frame's own script decides the picture. For the world it picks (0x481190) with the pointer position: a terrain hit goes to the reticle (0x4820f0), an object to the classifier 0x4828d0, and nothing, while a spell awaits a target, shows UnableCast (22) and clears the mouseover; with no spell it shows the base mode and clears the mouseover.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 17

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