diff --git a/shared/sdk/REContext.hpp b/shared/sdk/REContext.hpp index 24d0efd12..4e89e91a8 100644 --- a/shared/sdk/REContext.hpp +++ b/shared/sdk/REContext.hpp @@ -42,6 +42,7 @@ class VM : public regenny::via::clr::VM { class VM { #endif public: + static inline uint32_t s_tdb_version{0}; static VM* get(); public: diff --git a/src/mods/Hooks.cpp b/src/mods/Hooks.cpp index bbae15ecd..cb792f168 100644 --- a/src/mods/Hooks.cpp +++ b/src/mods/Hooks.cpp @@ -852,7 +852,11 @@ void Hooks::global_application_entry_hook_internal(void* entry, const char* name return original(entry); } - { + const auto should_allow_ignore = sdk::VM::s_tdb_version >= 73 ? + (hash != 0x76b8100bec7c12c3 && hash != 0x9f63c0fc4eea6626) : + true; + + if (should_allow_ignore) { std::shared_lock _{m_application_entry_data_mutex}; if (m_ignored_application_entries.contains(hash)) {