benilla-re systems structs docs

ParticleRegistryGet

function · models · primitive

Address
0x7ae010 · 382 bytes, up to 0x7ae18d
Meaning
Returns the particle emitter registry, creating it and the 128-entry noise table on first use
Confidence
verified, proof one
Finding
models/cache#noise-table
Test
models::noise_table_randf01_difftest

Finding: Noise table in models: the cache

Initialization fills the 128 floats at 0xcf58f0 with uniform values in [0, 1): it seeds a generator state from (rand() << 16) | (rand() & 0xffff), advances it 128 times, and for each 32-bit output u stores asfloat((u & 0x7fffff) | 0x3f800000) − 1.0. The particle registry fills the same table the same way when it is created first.

The derivation is in the doc.

Callers 1

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.