ClearOverrideLight
function · lighting · orchestration
- Address
0x6d4630· 11 bytes, up to0x6d463a- Signature
void __stdcall (void)- Meaning
- Stores −1 in the override light reference
- Confidence
- verified, proof one
- Finding
- lighting/daynight#override-light
Finding: Override light in lighting: day-night
Setting state +0x50 to a reference k switches the table to the light list's slot 0 reference k
the next frame, with no blend; −1 is the normal light. 0x6d4620(4) sets it for a ghost and
0x6d4630 clears it. With an override the table is that record's gather, keeping the location's
+0x64 to +0x8c, and the override's skybox column becomes the override skybox at weight 1.0. A
nonzero +0x4c names the LightParams record to use instead; nothing live sets it.
The derivation is in the doc.
Callers 1
- CGPlayer_C::UpdateGhostState objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.