SStrHashHT
function · storm · primitive
- Address
0x64b3f0· 100 bytes, up to0x64b453- Signature
uint32_t __stdcall (const char *s)- Meaning
- Hashes a string folded to upper case with / read as \ through bjhash with initial value 0
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- storm/mount#hash-table-string-hash
- Test
storm::str_hash_ht
Finding: Hash-table string hash in storm: mounting the archives
SStrHashHT (0x64b3f0) copies at most the first 1023 bytes of a string, raising a to z by 0x20 and turning
/ into \, and returns bjhash(copy, length, 0). bjhash (0x64b1d0) is Bob Jenkins' lookup2: a and b
start at 0x9e3779b9 and c at the initial value; each 12-byte block adds three little-endian words and mixes;
then c gains the length, the last 0 to 11 bytes are added (c from its second byte up), and a last mix returns c.
The derivation is in the doc.
Callers 75
- 0x41b520 base
- 0x41b730 base
- 0x41b8c0 base
- 0x41b9a0 base
- 0x41ba60 base
- 0x41bc60 base
- 0x41bde0 base
- 0x41c2e0 base
- 0x41e030 base
- 0x41e180 base
- ProfileAddValue unassigned
- ProfileFindKey unassigned
- 0x445730 unassigned
- 0x445860 unassigned
- TextBlockGenerateFont unassigned
- SndInterfacePlayInterfaceSound sound
- SetSoundDefFiles sound
- BuildUiSoundTable sound
- AddFlatSavedVariable ui
- MaskProfanity ui
- MatchSpam ui
- CopyBindingSet ui
- LoadBindingsXml ui
- SetKeyBinding ui
- ExecuteBinding ui
- RunBindingCommand ui
- CBindings::LookupAction ui
- ScanAddOns ui
- RegisterAddOn ui
- SetAddOnMetadata ui
- GetAddOnTitle ui
- GetAddOnNotes ui
- GetAddOnURL ui
- GetAddOnMetadataValue ui
- GetAddOnRequiredDeps ui
- IsAddOnUpdateAvailable ui
- GetAddOnEnableState ui
- IsAddOnLoadOnDemandByName ui
- IsAddOnLoadedByName ui
- CanLoadAddOn ui
- 0x51e990 ui
- SetAddOnEnableState ui
- LoadCharacterAddOnState ui
- LoadAddOnByName ui
- SetPortraitTexture ui
- CGxDevice::LoadShaders gx
- 0x595480 gx
- OpenFontFace unassigned
- ConsoleCommandExecute console
- CVar::Register cvar
- CVar::Lookup cvar
- CVar::LookupVisible cvar
- ParseCommand console
- ConsoleCommandRegister console
- ConsoleCommandUnregister console
- ConsoleCommandComplete console
- ConsoleCommandHelp console
- IndexLooseFolder storm
- SFileResolveOpen storm
- 0x64b800 storm
- ReadZipDirectoryEntry storm
- 0x668470 storm
- InternSkybox lighting
- LoadMd5Catalog minimap
- LoadInteriorTile minimap
- BuildTilePath minimap
- CreateFrameFromXML ui
- RegisterXMLTemplate ui
- FindXMLTemplate ui
- FrameXML::RegisterFactory ui
- FrameScriptRegisterMethods ui
- FrameScriptPushMethod ui
- FindOrCreateFontObject ui
- CFontObject::LoadXML ui
- SoundFileCacheOpen os
Callees 1
- bjhash storm
Calls and jumps by a bare address, from tables/calls.tsv.