MCPcopy Create free account
hub / github.com/cemu-project/Cemu / generateHashFromRawRPXData

Function generateHashFromRawRPXData

src/Cafe/CafeSystem.cpp:91–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89MPTR _entryPoint = MPTR_NULL;
90
91uint32 generateHashFromRawRPXData(uint8* rpxData, sint32 size)
92{
93 uint32 h = 0x3416DCBF;
94 for (sint32 i = 0; i < size; i++)
95 {
96 uint32 c = rpxData[i];
97 h = (h << 3) | (h >> 29);
98 h += c;
99 }
100 return h;
101}
102
103bool ScanForRPX()
104{

Callers 2

LoadMainExecutableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected