SStrChrRCopy
function · storm · boundary
- Address
0x64a450· 43 bytes, up to0x64a47a- Signature
char * __fastcall (const char *string, char c)- Meaning
- Returns the last occurrence of a character in a string, or 0 (a second copy of 0x64a420)
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- gx/textures#texture-file-name-builders
Finding: Texture file name builders in gx: textures
Callers that build a texture file name themselves do not all split it. 0x449610 splits the name with 0x449590 and then always appends .blp, so Foo.tga opens Foo.blp. 0x44b320(name, buffer, type, size) copies the name, cuts it at its last dot of any length (at the end when it has none), and appends .BLP for type 1 and returns 2, or .TGA for type 2 and returns 1; type 0 returns 0 with the copy uncut, and another type returns itself with the cut and no suffix. The builders that format a name append .blp to whatever they are given, with no split: a name ending in .tga gives <name>.tga.blp.
The derivation is in the doc.
Callers 26
- MovementInit client
- SaveInstallPath client
- OsGetTimeString core
- 0x42b0d0 os
- 0x42b3d0 unassigned
- 0x42b470 unassigned
- CutAtLastDot gx
- TexturePickAlternateFilename gx
- ApplyCreatureDisplay charactermodel
- SplitSpellNameAndResolve ui
- ConsoleCommandHelp console
- IndexLooseFolder storm
- SFile::OpenEx storm
- 0x64c0e0 storm
- 0x64d100 storm
- 0x64d960 storm
- 0x654f20 storm
- 0x65a370 storm
- 0x65a3e0 storm
- 0x66b5f0 storm
- LoadAreaTextures terrain
- BuildInteriorName minimap
- CheckTocSignature ui
- 0x6f1270 unassigned
- CSimpleTexture::GetFileName ui
- OpenFallLog collision
Callees 1
- SErrSetLastError storm
Calls and jumps by a bare address, from tables/calls.tsv.