CGDynamicObject_C::OnCreate
function · objectlayer · orchestration
- Address
0x5d5420· 283 bytes, up to0x5d553a- Signature
void __thiscall (CGDynamicObject_C *this, uint32_t time, void *movement, uint32_t flag)- Meaning
- Shows the object, sets the model callbacks, starts the area kit and the caster's far sight
- Confidence
- verified, proof one
- Finding
- objectlayer/dynamicobjects#creation
Finding: Creation in objectlayer: dynamic objects
The create hook 0x5d5420 runs the base Show, then, if there is a model, sets the model event
callback 0x5d5540 and the done callback 0x5d5580, both keyed by the object's GUID, and starts the
area kit (0x5d55c0). When the bytes field's low byte is 2, the caster is the active player and
the player's far-sight GUID is this object's, it starts far sight on the object.
The derivation is in the doc.
Callers 1
- ObjectCreateNotify objectlayer
Callees 7
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- DynamicObjectStartAreaKit objectlayer
- CGPlayer_C::StartFarSight objectlayer
- CGObject_C::Show objectlayer
- CM2Model::SetDoneCallback models
- CM2Model::SetEventCallback models
Calls and jumps by a bare address, from tables/calls.tsv.