Skip to content

Commit

Permalink
Fix SHA3/RSA pattern not wildcarding offset
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Mar 6, 2025
1 parent e81b1ae commit 0edfc3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mods/IntegrityCheckBypass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ void IntegrityCheckBypass::restore_unencrypted_paks() {

// If this breaks... we'll fix it!
const auto game = utility::get_executable();
const auto sha3_code_start = utility::scan(game, "C5 F8 57 C0 C5 FC 11 84 24 ? ? ? ? C5 FC 11 84 24 ? ? ? ? C5 FC 11 84 24 ? ? ? ? C5 FC 11 84 24 ? ? ? ? C5 FC 11 44 24 60 48 C1 E9 ?");
const auto sha3_code_start = utility::scan(game, "C5 F8 57 C0 C5 FC 11 84 24 ? ? ? ? C5 FC 11 84 24 ? ? ? ? C5 FC 11 84 24 ? ? ? ? C5 FC 11 84 24 ? ? ? ? C5 FC 11 44 24 ? 48 C1 E9 ?");

if (!sha3_code_start) {
spdlog::error("[IntegrityCheckBypass]: Could not find sha3_rsa_code_start!");
Expand Down

0 comments on commit 0edfc3b

Please sign in to comment.