benilla-re systems structs docs

InitFailedTextureColourThunk

function · gx · orchestration

Address
0x447bf0 · 10 bytes, up to 0x447bf9
Signature
void __cdecl (void)
Meaning
Calls 0x447c00, then jumps to 0x447c10; a static initializer
Confidence
verified, proof one
Finding
gx/textures#texture-load-failure

Finding: Texture load failure in gx: textures

When both candidates fail, 0x449d90 calls 0x44a0e0 with log, the word texture and the caller's original name, and returns the solid texture of colour [0x90582c]: an 8 by 8 texture of format 2 (0x44a900), the colour 0xff00ff00. [0x90582c] is zero until the static initializer 0x447bf0 calls 0x447c00, which stores 0xff00ff00, and nothing else writes it. 0x44a0e0 calls log slot +0xc with severity 3 and the format Error loading %s file "%s": %s\n, the last Storm error text as the third argument, then clears the Storm error with SErrSetLastError(0) (0x44a124). CStatus::Add raises the status's highest severity to 3. The name in the message is the argument as the caller wrote it, extension included, not the stripped name.

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.