From d846add67c84e72b4c3d2d3e0905511ef0fda60b Mon Sep 17 00:00:00 2001 From: BroGamer <64546358+BroGamer4256@users.noreply.github.com> Date: Sun, 10 Sep 2023 18:07:19 +1200 Subject: [PATCH] Add SSLVerify patch --- src/dllmain.cpp | 1 - src/patches/cn_jun_2023.cpp | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dllmain.cpp b/src/dllmain.cpp index b2ac2f0..c9670b9 100644 --- a/src/dllmain.cpp +++ b/src/dllmain.cpp @@ -66,7 +66,6 @@ GetGameVersion () { stream.close (); free (buf); - printf ("%llx\n", (u64)version); switch (version) { case GameVersion::JP_NOV_2020: case GameVersion::CN_JUN_2023: break; diff --git a/src/patches/cn_jun_2023.cpp b/src/patches/cn_jun_2023.cpp index d72e49b..1a69ac9 100644 --- a/src/patches/cn_jun_2023.cpp +++ b/src/patches/cn_jun_2023.cpp @@ -76,5 +76,8 @@ Init () { // Use TLS v1.2 WRITE_MEMORY (ASLR (0x140369662), u8, 0x10); + + // Disable SSLVerify + WRITE_MEMORY (ASLR (0x14034C181), u8, 0x00); } } // namespace patches::CN_JUN_2023