benilla-re systems structs docs

SetCharSelectBackgroundFile

function · glue · orchestration

Address
0x472110 · 58 bytes, up to 0x472149
Signature
void __fastcall (const char *file)
Meaning
Loads a file into the model frame's scene and puts the select light callback 0x472150 on the new scene model
Confidence
verified, proof one
Finding
glue/selectghost#fill-callback-installs

Finding: Fill callback installs in glue: the select ghost look

0x472150 is installed as the light-fill callback of three models: the background scene (0x472144, from 0x472110), the character body (0x472bac) and the pet (0x472ebd). For a living selection it returns at 0x4722b2 and changes nothing. For a ghost it clears the model's light collector (0x71bc30 zeroes 436 bytes), so every authored light is discarded, and adds the one fixed directional light. A callback that 0x472110 installs replaces the scene model's fog callback 0x76d680, so the select background has no fog.

The derivation is in the doc.

Callers 1

Callees 1

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