CParticleEmitter2::vftable
global · models
- Address
0x81d83c· 44 bytes, up to0x81d867- Type
void *[11]- Meaning
- Holds the base particle emitter's virtual functions
- Confidence
- verified, proof one
- Finding
- models/particles#emitter-classes
Finding: Emitter classes in models: particles
A model emitter is built by its shape's constructor: the base constructor, zeroed shape fields and the shape's vtable. The three vtables share the base's first slots and differ in the spawn slot, the clone and deleting destructor, four shape setters and the rate setter.
| slot | base 0x81d83c | plane 0x81d888 | sphere 0x81d8b4 | spline 0x81d8e0 |
|---|---|---|---|---|
| 0 | 0x7b1dd0 | same | same | same |
| 1 | 0x7b2420 | same | same | same |
| 2 | 0x7b22b0 | 0x7b8890 | 0x7b8d70 | 0x7b9500 |
| 4 | pure | 0x7b87b0 | 0x7b8c90 | 0x7b9260 |
| 5 | 0x7b1470 | 0x7b87f0 | 0x7b8cd0 | 0x7b92a0 |
| 6 to 9 | pure | 0x7b8c10 to 0x7b8c40 | 0x7b9180 to 0x7b91d0 | 0x7b9970 to 0x7b9a50 |
| 10 | 0x7b4bf0 | same | same | 0x7b9a60 |
The derivation is in the doc.