ObjectConstruct
function · objectlayer · orchestration
- Address
0x466a20· 180 bytes, up to0x466ad3- Signature
void __fastcall (uint32_t time, CGObject_C *object, void *movement)- Meaning
- Runs the class constructor for the object's type id, 1 to 7, and the common post-construct 0x613e10
- Confidence
- verified, proof one
- Finding
- objectlayer/update#creating-an-object
Finding: Creating an object in objectlayer: update
The create pass looks the GUID up, reactivating it when it was released (manager). An existing
object is updated by 0x466350: a unit applies the block's movement through 0x5ff070, with
whether it is the active player; any other type reads and drops the movement fields. Its values
are then written (Writing the values). A new object is allocated for its type, its field array
zeroed, its type id and mask stored, its values written, and its class constructor run with the
time and the movement block; it then joins the manager's object list.
The derivation is in the doc.
Callers 1
- ObjectCreateBlock objectlayer
Callees 8
- CGDynamicObject_C::CGDynamicObject_C objectlayer
- CGCorpse_C::CGCorpse_C objectlayer
- CGContainer_C::CGContainer_C objectlayer
- CGItem_C::CGItem_C objectlayer
- CGPlayer_C::CGPlayer_C objectlayer
- CGGameObject_C::CGGameObject_C objectlayer
- CGUnit_C::CGUnit_C objectlayer
- CGObject_C::CreateNode objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.