DrainDyingEffects
function · objectlayer · primitive
- Address
0x61f680· 108 bytes, up to0x61f6eb- Signature
void __cdecl (void)- Meaning
- Releases dying effects whose models hold no live particles, and timed ones past their time
- Confidence
- verified, proof one
- Finding
- objectlayer/effects#stopping-and-draining
Finding: Stopping and draining in objectlayer: effects
0x6203e0 stops an effect: it moves it to the dying list, hides it, restores an animation-speed
override, stops its sound with a 0.15 s fade, drops its model callbacks and stops its chains. A
hidden model's emitters stop emitting, and each world frame 0x61f680 releases every dying effect
whose model is gone or has no emitter still emitting or holding a live particle, so a stopped
effect's particles finish their lives first. Shutdown releases every dying effect.
The derivation is in the doc.
Callers 1
Callees 4
- OsGetAsyncTimeMs core
- CEffect::Unlink objectlayer
- CEffect::Release objectlayer
- CM2Model::HasLiveParticles models
Calls and jumps by a bare address, from tables/calls.tsv.