CGGameObject_C::~CGGameObject_C
function · objectlayer · primitive
- Address
0x5f7780· 287 bytes, up to0x5f789e- Meaning
- Tears a game object down: record request, handler, transport link and watcher lists
- Confidence
- verified, proof one
- Finding
- objectlayer/gameobjects#the-game-object
Finding: The game object in objectlayer: game objects
The constructor builds the object part, 20 empty watcher lists at +0x118, an identity world
matrix at +0x218, an empty world box at +0x260, and copies the update's position and facing
into GAMEOBJECT_POS_X to GAMEOBJECT_FACING. +0x27c takes GAMEOBJECT_STATE; with update flag
0x2, +0x278 takes the block's last u32 minus the time. It then builds the type handler at
+0x210. The destructor cancels a pending record request, deletes the handler, unlinks the
transport link +0x208 and the lists, and runs the object's.
| member | holds |
|---|---|
+0x210 | the type handler |
+0x214 | the record, once it arrives |
+0x280 | an animation event waiting for the model |
+0x284 | 1 when the object collides |
The derivation is in the doc.
Callers 1
- CGGameObject_C::DeletingDestructor objectlayer
Callees 2
- 0x558bf0 dbcache
- CGObject_C::~CGObject_C objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.