pub fn nwscript_string_hash_bytes(bytes: &[u8]) -> i32
Returns the exact NWScript runtime hash for a cooked byte string.
NWScript
Upstream computes this as XXH32(bytes, 0) ^ XXH32("", 0, 0).
XXH32(bytes, 0) ^ XXH32("", 0, 0)