TextureHasFileName
function · gx · orchestration
- Address
0x44ac70· 128 bytes, up to0x44acef- Signature
uint32_t __fastcall (void *texture, const char *name)- Meaning
- Returns whether a texture's name cut at its last dot equals a name without its three-byte extension
- Confidence
- verified, proof one
- Finding
- gx/textures#texture-name-match
Finding: Texture name match in gx: textures
0x44ac70(texture, name) answers whether a texture was made from a file of that name: 1 when
the name, split as Texture name split does (a three-byte extension four from the end stripped),
equals the texture's own name +0xc cut at its last . of any length, ignoring case, over at most
0x104 bytes; else 0. A null texture sets Storm error 0x57 and returns 0. The cut is made in the
texture's name and undone after the compare. Flags play no part.
The derivation is in the doc.
Callers 2
Callees 4
- TextureSplitExtension gx
- SStrCmpI storm
- SErrSetLastError storm
- strrchr crt
Calls and jumps by a bare address, from tables/calls.tsv.