mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 07:27:59 -05:00
update messageboxfix to 2.2074
This commit is contained in:
parent
c197e2913c
commit
b662aac29d
1 changed files with 3 additions and 3 deletions
|
@ -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<void*>(geode::base::getCocos() + offset1),
|
||||
|
|
Loading…
Reference in a new issue