MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xStrHashCat

Function xStrHashCat

src/SB/Core/x/xString.cpp:37–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37U32 xStrHashCat(U32 prefix, const char* str)
38{
39 U32 hash;
40 U32 i;
41
42 while (i = *str, i != NULL)
43 {
44 str++;
45 hash = (i - (i & (S32)i >> 1 & 0x20) & 0xff) + hash * 0x83;
46 }
47
48 return hash;
49}
50
51char* xStrTok(char* string, const char* control, char** nextoken)
52{

Callers 3

load_modelFunction · 0.70
load_modelFunction · 0.50
load_modelFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected