benilla-re systems structs docs

s_vectorZ

global · ui

Address
0xcf4cf4 · 12 bytes, up to 0xcf4cff
Type
float[3]
Meaning
Holds the vector (0, 0, 1.0) that 0x76fab0 stores at start-up
Confidence
verified, proof one
Finding
ui/initstores#constant-tables

Finding: Constant tables in ui: stored constants, tables and object constructors

8 bodies store a table or a matrix of constants:

BodyStores
0x4804f0Stores the 4 × 4 identity matrix as 16 floats from 0xb4b2e8
0x4ea270Stores 24 floats from 0xbc7810 as eight triples: (0, 0, 0.5), (0.5, 0, 0), (0.5, 0, 1), (0.5, 1, 0), (0.5, 0.5, 1), (1, 1, 1), (0, 0.5, 0.5), (1, 0, 1)
0x4ea4d0Stores 38 floats from 0xbc8310: 1.0 at the word indices 6, 11, 16, 21, 22, 27, 32 and 37, 0.0 at the others
0x4ea790Stores the four corners (±h, ±h, 0) of a square as 12 floats from 0xbc81f8, h being the float at 0xbc762c
0x4ea850Stores the four corners (±h, ±h, 0) of a square as 12 floats from 0xbc8230, h being the float at 0xbc7630
0x506880Stores the 4 × 4 identity matrix as 16 floats from 0xbe0a50
0x5291d0Stores 7 colours from 0xc0d3c8 in item quality order: 0xff9d9d9d, 0xffffffff, 0xff1eff00, 0xff0070dd, 0xffa335ee, 0xffff8000, 0xffe6cc80
0x76fab0Stores the dwords 0, 0 and the float 1.0 at 0xcf4cf4, 0xcf4cf8 and 0xcf4cfc

The derivation is in the doc.