s_localeHandle
global · crt
- Address
0x883b08· 4 bytes, up to0x883b0b- Type
int32_t- Meaning
- Holds the locale handle the C runtime's character functions test, 0 for the C locale; nothing writes it
- Confidence
- verified, proof two
- Finding
- storm/format#name-hash
Finding: Name hash in storm: the archive format
A name hashes to a value of type 0 to 3. The state is two dwords, 0x7fed7fed and 0xeeeeeeee. For each byte c of
the name, upper-cased by toupper (0x41089b) with / turned into \: first = table[type·0x100 + c] ^ (first + second), then second = c + second·0x21 + first + 3. The value is first. Type 0 picks the slot (& (count − 1)),
types 1 and 2 are name hashes A and B, type 3 is a key.
The derivation is in the doc.