benilla-re systems structs docs

CGWorldFrame::ClassifyHoveredGameObject

function · ui · orchestration

Address
0x4826e0 · 90 bytes, up to 0x482739
Signature
void __thiscall (CGWorldFrame *this, CGGameObject_C *object)
Meaning
Sets the cursor mode a game object gives, or the custom cursor for 41
Confidence
verified, proof one
Finding
ui/worldcursor#corpses-and-game-objects

Finding: Corpses and game objects in ui: the pointer picture

A corpse that 0x5d6e20 says the player may loot shows Pickup or LootAll (and the unable forms) by the same loot rule as a unit, from the corpse's distance. Otherwise a corpse with flag bit 5 set, the player-corpse skin latch 0xb700e8 set and a corpse the player cannot assist gets the faction skin cursor by reach, as a player target does. Anything else shows the base mode. A game object shows the mode 0x5f8760 returns, the base mode for 0, and a custom cursor for 41 (objectlayer/gameobjects#cursor).

The derivation is in the doc.

Callers 1

Callees 5

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