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),