Files
SatyandClaude Opus 5.5 c790ecb4a0 Port Streaming/Storage/Transport/HTTP, Mopaq write path and missing-function batches
- Streaming: StreamingManager, Manifests, Storage (.part files, write queue),
  Transport (HTTP split download, throttle), Tracker/StartupReport, streaming
  filestack verbs (s_streamstack, StreamingOpen), RepairCache static
- URL: HttpRequest, InternetCallback, ReadResponseData, DownloadURL
- Mopaq write path: SFileCreateArchive/CreateFile/WriteFile, IOMpqWriteUnit,
  WriteArchiveChanges, RebuildHashTable, listfile acquire/release;
  SComp::Compress with RLE/zlib/bzip2/pkware compressors; MPQEncrypt::Encrypt
- LaunchChildProcessWithArguments, Debug::DefaultCallback/Breakpoint
- Earlier batches: ComSat, Battlenet Tumor, Glue/Ui/WowServices fixes,
  luaL_error returns in Script_ files

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-03 16:51:23 +02:00

14 lines
374 B
C++

#include "Engine/Source/ComSat/ComSatHash.h"
// VERIFY: a913c4f0 auto
// OFFSET: 0x00887330
uint32_t ComSat::Hash32(const void* data, uint32_t length, uint32_t seed) {
const uint8_t* bytes = static_cast<const uint8_t*>(data);
uint32_t hash = seed;
for (; length; length--) {
hash = (hash ^ *bytes) * 0x1000193;
bytes++;
}
return hash;
}