benilla-re systems structs docs

s_violenceBlpReplaced

global · client

Address
0x86c420 · 4 bytes, up to 0x86c423
Type
const char *
Meaning
Holds the pointer to the BLP file name BloodSpurtSmall01.blp that levels 0 and 1 replace
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.