benilla-re systems structs docs

InitDayNightLightList

function · lighting · orchestration

Address
0x6cebb0 · 10 bytes, up to 0x6cebb9
Meaning
Runs 0x6cebc0, then registers an exit hook through 0x6cebe0; a static initializer
Confidence
verified, proof one
Finding
lighting/overview#static-objects

Finding: Static objects in lighting: overview

The day-night file's initializers build its statics: the light state, the sky colour, cloud, star, night and unused tracks (celestial#static-tracks), the skybox table, the sky dome, the cloud object's octaves, the light list, the four disc records, the two glares, the star object, and the five DBC stores. The shadow file's clear the ramp texture buffer, its decal geometry lists and the decal colour, and store its two box ratios. Each pair is call body; jmp registrar, the registrar passing an exit hook to _atexit.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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