Skip to content

Commit

Permalink
Patch S1DataDB::UnpackArchive() to crash by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Aug 26, 2023
1 parent 377b304 commit 2559500
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tools/patcher/ClientPatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ await PatchAsync(
// details without user consent, so patch it.
await PatchAsync("S1LagLogDataSendingThread::SendReport", 0x7ff69b78e860, static asm => asm.ret());

// The symbiote will hook this function in order to know when it can free its memory-backed FArchive. Make sure
// that the unhooked version of the function just causes a crash.
await PatchAsync("S1DataDB::UnpackArchive", 0x7ff69b884ac0, static asm => asm.ud2());

// Disable launching the damage meter application and serving messages from the named pipe.
await PatchAsync("S1TeraAddOnPipeBase::Connect", 0x7ff69b9444e0, static asm => asm.ret());
await PatchAsync("S1TeraAddOnManager::Initialize", 0x7ff69b9459e0, static asm => asm.ret());
Expand Down

0 comments on commit 2559500

Please sign in to comment.