CParticleEmitter2::AddChild
function · models · orchestration
- Address
0x7b5d80· 26 bytes, up to0x7b5d99- Signature
void __thiscall (CParticleEmitter2 *this, CParticleEmitter2 *child)- Meaning
- Appends a child emitter to an emitter's inline slots, with no bound
- Confidence
- verified, proof one
- Finding
- models/particles#emitter-model-loads
Finding: Emitter model loads in models: particles
The model's initializer gives an emitter its record's models. A record naming a model (+0x1c)
calls SetModel(scene, path): for a scene and a non-empty path it stores the scene at +0x94,
creates the instance at +0x90 and, once one exists, sets +0x28, which turns the emitter to
model particles (Model particles). A record naming a child model (+0x24) calls
LoadChildModel, which creates that instance at +0x98 and makes OnChildModelLoaded its loaded
callback. Once loaded, the callback appends the first min(count, 4) of the child model's
emitters to the four child slots at +0x80 and enables each. A spline record passes its points to
the curve at +0x2a8.
The derivation is in the doc.
Callers 1
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.