From b36463359383c1cf645ca91f85df354524264a7e Mon Sep 17 00:00:00 2001 From: Octavian Dima Date: Sat, 19 Feb 2022 13:26:26 +0100 Subject: [PATCH] Update for the new 1.5 patch --- deps/red4ext.sdk | 2 +- src/red4ext.dll/Addresses.hpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deps/red4ext.sdk b/deps/red4ext.sdk index b116ecbb..617d6878 160000 --- a/deps/red4ext.sdk +++ b/deps/red4ext.sdk @@ -1 +1 @@ -Subproject commit b116ecbb723b23e25acc41a7a72bbef0988dfd41 +Subproject commit 617d6878b42197f6ff0fd04a7f39c62ddcb1ba96 diff --git a/src/red4ext.dll/Addresses.hpp b/src/red4ext.dll/Addresses.hpp index 99c8a5d6..e5e02d8c 100644 --- a/src/red4ext.dll/Addresses.hpp +++ b/src/red4ext.dll/Addresses.hpp @@ -14,22 +14,22 @@ namespace Addresses constexpr uintptr_t ImageBase = 0x140000000; #pragma region CGameApplication -constexpr uintptr_t CGameApplication_Run = 0x140A67120 - ImageBase; // 48 89 5C 24 08 57 48 83 EC 20 48 8B D9 33 FF 90, expected: 3, index: 0 +constexpr uintptr_t CGameApplication_Run = 0x140A67400 - ImageBase; // 48 89 5C 24 08 57 48 83 EC 20 48 8B D9 33 FF 90, expected: 3, index: 0 #pragma endregion #pragma region CInitializationState -constexpr uintptr_t CInitializationState_Run = 0x140A68A90 - ImageBase; // 48 83 EC 28 48 8B 05 ? ? ? ? 4C 8B C2 8B 88 F8 00 00 00, expected: 1, index: 0 +constexpr uintptr_t CInitializationState_Run = 0x140A68D70 - ImageBase; // 48 83 EC 28 48 8B 05 ? ? ? ? 4C 8B C2 8B 88 F8 00 00 00, expected: 1, index: 0 #pragma endregion #pragma region CRunningState -constexpr uintptr_t CRunningState_Run = 0x140A68BD0 - ImageBase; // 40 53 48 83 EC 20 48 8B 0D ? ? ? ? 48 8B DA E8 ? ? ? ? 84 C0, expected: 1, index: 0 +constexpr uintptr_t CRunningState_Run = 0x140A68EB0 - ImageBase; // 40 53 48 83 EC 20 48 8B 0D ? ? ? ? 48 8B DA E8 ? ? ? ? 84 C0, expected: 1, index: 0 #pragma endregion #pragma region CShutdownState -constexpr uintptr_t CShutdownState_Run = 0x140A68CE0 - ImageBase; // 48 89 6C 24 18 56 48 83 EC 30 48 8B 0D ? ? ? ?, expected: 1, index: 0 +constexpr uintptr_t CShutdownState_Run = 0x140A68FC0 - ImageBase; // 48 89 6C 24 18 56 48 83 EC 30 48 8B 0D ? ? ? ?, expected: 1, index: 0 #pragma endregion #pragma region Global -constexpr uintptr_t Global_Main = 0x140191B50 - ImageBase; // 40 53 48 81 EC ? ? ? ? FF 15 ? ? ? ? E8 ? ? ? ? E8 ? ? ? ?, expected: 1, index: 0 +constexpr uintptr_t Global_Main = 0x140191BD0 - ImageBase; // 40 53 48 81 EC ? ? ? ? FF 15 ? ? ? ? E8 ? ? ? ? E8 ? ? ? ?, expected: 1, index: 0 #pragma endregion } // namespace Addresses