diff --git a/src/Image.h b/src/Image.h index 0f4eccb1..a0938ee8 100644 --- a/src/Image.h +++ b/src/Image.h @@ -3,15 +3,14 @@ #include "RED4ext/Api/v0/FileVer.hpp" #include "RED4ext/Api/SemVer.hpp" - struct Image { void Initialize(); - static std::tuple GetSupportedVersion() noexcept { return std::make_tuple(2, 2000); } + static std::tuple GetSupportedVersion() noexcept { return std::make_tuple(2, 21); } uintptr_t base_address; mem::region TextRegion; - RED4ext::v0::FileVer FileVersion{0,0,0,0}; + RED4ext::v0::FileVer FileVersion{0, 0, 0, 0}; RED4ext::v0::SemVer SemVersion{0, 0, 0, 0}; }; diff --git a/src/reverse/Addresses.h b/src/reverse/Addresses.h index 0a377b00..b29adb0d 100644 --- a/src/reverse/Addresses.h +++ b/src/reverse/Addresses.h @@ -24,7 +24,7 @@ constexpr uint32_t CPatches_OptionsInit = 4089777341UL; // Config::IConfigVa #pragma endregion #pragma region CPhotoMode -constexpr uint32_t CPhotoMode_SetRecordID = 4241565651UL; // +constexpr uint32_t CPhotoMode_SetRecordID = 4052428712UL; // #pragma endregion #pragma region CRenderGlobal @@ -64,9 +64,8 @@ constexpr uint32_t CWinapi_ClipToCenter = 261693736UL; // input::InputSystemWin3 #pragma endregion #pragma region gameIGameSystem -constexpr uint32_t gameIGameSystem_Initialize = - 385618721UL; // -> should probably be 3114931869 (spawn::Set::Initialize) but that implies we do something weird overall with this func atm - // The above would require CET changes as that one wants game instance to be passed at a2+80 +constexpr uint32_t gameIGameSystem_Initialize = 385618721UL; // -> should probably be 3114931869 (spawn::Set::Initialize) but that implies we do something weird + // overall with this func atm The above would require CET changes as that one wants game instance to be passed at a2+80 constexpr uint32_t gameIGameSystem_UnInitialize = 3313306514UL; // spawn::Set::Deinitialize constexpr uint32_t gameIGameSystem_Spawn = 2509382878UL; // spawn::Set::SpawnObject constexpr uint32_t gameIGameSystem_Despawn = 3168866665UL; // spawn::Set::DespawnObject diff --git a/vendor/RED4ext.SDK b/vendor/RED4ext.SDK index c1c08c47..78c3e9df 160000 --- a/vendor/RED4ext.SDK +++ b/vendor/RED4ext.SDK @@ -1 +1 @@ -Subproject commit c1c08c4762d5e05e396c390dce354e1979fcdc48 +Subproject commit 78c3e9df2885437e4cc71cc5e49320fd34bf883b