s_violenceBlpReplacements
global · client
- Address
0x86c418· 8 bytes, up to0x86c41f- Type
char *[2]- Meaning
- Holds the replacement file names for violence levels 0 and 1, the Low and Medium blood spurt
- Confidence
- verified, proof one
- Finding
- gx/textures#texture-basename-substitution
Finding: Texture basename substitution in gx: textures
0x44a310 replaces the file name of a BLP path before it opens it. When [0x905bd4] is non-null and the part of the path after its last backslash equals that string ignoring case, the part is replaced by [0x905bd8] in a 0x104-byte copy and the copy is opened. The compared part is the candidate with its .blp. 0x44b4e0(from = ecx, to = edx) stores the two pointers. The violence-level handler 0x6c5af0 calls it: at level 2 with both 0, so nothing is replaced; at level 0 or 1 with BloodSpurtSmall01.blp ([0x86c420]) and BloodSpurtSmall01_Low.blp or BloodSpurtSmall01_Medium.blp ([0x86c418] and [0x86c41c]).
The derivation is in the doc.