benilla-re systems structs docs

CGGameObject_C::Deactivate

function · objectlayer · orchestration

Address
0x5f7e40 · 63 bytes, up to 0x5f7e7e
Meaning
Deactivates a game object: the handler's slot 26, or cancels the record request, then the object's
Confidence
verified, proof one
Finding
objectlayer/gameobjects#object-slots

Finding: Object slots in objectlayer: game objects

Deactivation runs the handler's slot 26 once the record is there, else cancels the record request, then the object's own. Reactivation runs the object's own, then the handler's slot 25 and, with a model, 0x613e10; without the record it passes the GUID to 0x468270 again. The model path is the display row's, none for types 11, 14 and 15, whose world entity carries the model. Slot 23 returns whether the floatingTooltip column is set. 0x5f8c90(x) hands the world object at +0xe0 to AnimateMapEntityLightThunk.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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