CGObject_C::CGObject_C
function · objectlayer · primitive
- Address
0x6139a0· 292 bytes, up to0x613ac3- Signature
void * __thiscall (CGObject_C *this, void *fields, void *copy)- Meaning
- Zeroes the base members, stores the base vtable and links the object into the manager
- Confidence
- verified, proof one
- Finding
- objectlayer/objectbase#constructor-and-members
Finding: Constructor and members in objectlayer: the base object
0x6139a0(fields, copy) zeroes the base members, stores the base vtable 0x803640 and links the
object into the manager through 0x4643b0. The members, by offset: the manager links at +0x1c,
+0x24, +0x38 and +0x40; six empty watcher lists of 12 bytes from +0x48, one per base
field; the scale +0x90 and its factors +0x94, +0x98, +0x9c, all 1.0; the scale ease start
+0xa0 and from-value +0xa4; the missile and effect lists +0xac, +0xb0, +0xb4; the light
bits +0xb8; the height +0xbc, 1.0; the bounds +0xc0 to +0xd4; the models +0xd8, +0xdc;
the world node +0xe0; the flags +0xe4; the fade +0xec to +0xfc; the master alpha +0x100,
1.0; and the smoothed up vector +0x104 to +0x10c, (0, 0, 1).
The derivation is in the doc.
Callers 5
- CGDynamicObject_C::CGDynamicObject_C objectlayer
- CGCorpse_C::CGCorpse_C objectlayer
- CGItem_C::CGItem_C objectlayer
- CGGameObject_C::CGGameObject_C objectlayer
- CGUnit_C::CGUnit_C objectlayer
Callees 1
- ClntObjMgrInsertObject objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.