BlizzardObject::Initialize
function · spell · primitive
- Address
0x6eb930· 405 bytes, up to0x6ebac4- Signature
void __thiscall (BlizzardObject *this, const float *position, const char *path, float radius, float rate)- Meaning
- Stores position, radius, path and the spellEffectLevel-scaled rate and creates the world object with its box
- Confidence
- verified, proof one
- Finding
- spell/visuals#emitter-initialization
- Test
spell::spellvisual_quality_scale_difftest
Finding: Emitter initialization in spell: visuals
0x6eb930(position, path, radius, rate) copies the position to +0x110, the radius to +0x11c
and the path (at most 0x104 bytes) to +0x08, and stores at +0x124 the rate scaled by the
spellEffectLevel record's integer at +0x28: ×0.33 at 0, ×0.66 at 1, unchanged otherwise or
with no record. It creates a world object with the draw callback 0x6eb840 and the emitter as
argument, stores it at +0x10c, and sets its transform to a translation to the position and its
box to (−r, −r, −r) to (r, r, r) with centre 0.5·((−r) + r) per axis.
The derivation is in the doc.
Callers 1
- CreateBlizzardObject spell
Callees 5
- SetVector3 spline
- ScaleVector3 objectlayer
- SStrCopy storm
- CreateWorldCallbackObject terrain
- SyncLightNode terrain
Calls and jumps by a bare address, from tables/calls.tsv.