From b662aac29dd42d3f4987f5c2867758c641c9f5b3 Mon Sep 17 00:00:00 2001 From: Cvolton Date: Tue, 12 Nov 2024 19:56:15 +0100 Subject: [PATCH] update messageboxfix to 2.2074 --- loader/src/hooks/MessageBoxFix.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/loader/src/hooks/MessageBoxFix.cpp b/loader/src/hooks/MessageBoxFix.cpp index 57d73cfc..a132a676 100644 --- a/loader/src/hooks/MessageBoxFix.cpp +++ b/loader/src/hooks/MessageBoxFix.cpp @@ -41,9 +41,9 @@ $execute { // hook them to call our own handler if (LoaderImpl::get()->isForwardCompatMode()) return; -#if GEODE_COMP_GD_VERSION == 22060 - const uintptr_t offset1 = 0x75d00; // member function in CCEGLView - const uintptr_t offset2 = 0x75d60; // static function +#if GEODE_COMP_GD_VERSION == 22074 + const uintptr_t offset1 = 0x75D90; // member function in CCEGLView + const uintptr_t offset2 = 0x75DF0; // static function (void) Mod::get()->hook( reinterpret_cast(geode::base::getCocos() + offset1),