s_piParticleRegistry
global · models
- Address
0x81d810· 4 bytes, up to0x81d813- Type
const float- Meaning
- Holds pi, which the particle registry 2 pi initializer doubles at start-up
- Confidence
- verified, proof one
- Finding
- camera#object-files-and-initializers
Finding: Object files and initializers in camera
The code is two object files, each opening its run of static initializers in the C runtime's table
with +∞: the property machinery from 0x7abbc0 through 0x7ac5d0, and the class from 0x7ac5f0
through 0x7adf70. Seven run from consecutive slots 0x82d978 to 0x82d990: the first file's
0x7abbc0 (+∞ into 0xcf572c), 0x7ac5a0 (2π into 0xcf5734) and 0x7ac5c0 (1/2π into
0xcf5730); then the second file's 0x7ac5f0 (+∞ into 0xcf573c), 0x7adf20 (2π into
0xcf5744), 0x7adf40 (1/2π into 0xcf5740) and 0x7ac610 (π/2 into 0xcf5738). Each is a
jmp thunk to its body 16 bytes on. The next slot holds 0x7adf90 (+∞ into 0xcf5748), which
opens the particle registry's file.
The derivation is in the doc.