benilla-re systems structs docs

CGGameObject_C::GetCursor

function · objectlayer · primitive

Address
0x5f8760 · 46 bytes, up to 0x5f878d
Meaning
Returns cursor 0x29 for an interactable object whose record names a cursor, 0 if not, else the handler's cursor
Confidence
verified, proof one
Finding
objectlayer/gameobjects#cursor

Finding: Cursor in objectlayer: game objects

The cursor over a game object is 0 when it is not interactable. A record cursor name gives the custom cursor 41, drawn from Interface\Cursor\<name>.blp, or Unable<name>.blp when not usable. Otherwise a lock with a LockType cursor name gives that cursor, or its Unable form when the lock is no key and the object is not usable; without one, Interact or UnableInteract.

The derivation is in the doc.

Callers 1

Callees 1

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