FreeDoodadDef
function · terrain · orchestration
- Address
0x6a0840· 238 bytes, up to0x6a092d- Signature
void __thiscall (void *this)- Meaning
- Frees a doodad def's sound emitter and list nodes, destroys it and returns it to its pool
- Confidence
- verified, proof one
- Finding
- terrain/doodads#doodad-def-release
Finding: Doodad def release in terrain: doodad defs
0x6a0840 frees a def: it removes its sound emitter, unlinks its list nodes (+0x10, +0xb8
and +0xc0), destroys it through the first virtual slot and returns it to the pool.
The derivation is in the doc.
Callers 1
- CMapDoodadDef::Release terrain
Callees 2
- RemoveEmitter sound
- ObjectFree objectalloc
Calls and jumps by a bare address, from tables/calls.tsv.