SStrLower
function · storm · boundary
- Address
0x64b480· 19 bytes, up to0x64b492- Meaning
- Lowercases a string in place through _strlwr
- Confidence
- verified, proof one
- Finding
- gx/textures#texture-name-split
Finding: Texture name split in gx: textures
0x449590(name, buffer, &split) copies the name into the 0x104-byte buffer (SStrCopy, at most 0x103 bytes) and sets split to the dot when the byte four from the end is ., else to the end of the copy; a copy shorter than four bytes has no dot. At a dot it lowercases the three bytes after it (0x64b480, _strlwr), writes 0 over the dot, and returns 0 when they are tga and 1 for every other three bytes, blp included. With no dot at that place it returns 1 and strips nothing: Foo.jpeg keeps its extension, Foo has none. The extension is not checked beyond its length: Foo.bmp becomes Foo.
The derivation is in the doc.
Callers 3
Callees 1
- __strlwr crt
Calls and jumps by a bare address, from tables/calls.tsv.