diff --git a/loader/src/hooks/DynamicCastFix.cpp b/loader/src/hooks/DynamicCastFix.cpp index 3394d81c..2c325c33 100644 --- a/loader/src/hooks/DynamicCastFix.cpp +++ b/loader/src/hooks/DynamicCastFix.cpp @@ -9,10 +9,10 @@ $execute { // layers, which fail on user layers due to typeinfo not matching #if defined(GEODE_IS_INTEL_MAC) - void* dynamicCastAddr = reinterpret_cast(base::get() + 0x7dd5e7); + void* dynamicCastAddr = reinterpret_cast(base::get() + 0x7ba1d8); (void) Mod::get()->hook(dynamicCastAddr, &cast::typeinfoCastInternal, "__dynamic_cast"); #elif defined(GEODE_IS_ARM_MAC) - void* dynamicCastAddr = reinterpret_cast(base::get() + 0x6dfb10); + void* dynamicCastAddr = reinterpret_cast(base::get() + 0x6c8bcc); (void)Mod::get()->hook(dynamicCastAddr, &cast::typeinfoCastInternal, "__dynamic_cast"); #elif defined(GEODE_IS_ANDROID) void* handle = dlopen("libcocos2dcpp.so", RTLD_LAZY | RTLD_NOLOAD);