From 879ca57b7fe4aeff033ca6d759b23333a88ba21f Mon Sep 17 00:00:00 2001 From: HJfod <60038575+HJfod@users.noreply.github.com> Date: Wed, 18 Sep 2024 22:18:35 +0300 Subject: [PATCH] alk u can revert this if it's wrong --- loader/src/utils/addresser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/src/utils/addresser.cpp b/loader/src/utils/addresser.cpp index c7427a685..2aa08084a 100644 --- a/loader/src/utils/addresser.cpp +++ b/loader/src/utils/addresser.cpp @@ -151,7 +151,7 @@ intptr_t Addresser::followThunkFunction(intptr_t address) { auto checkAddress = *reinterpret_cast(address + 6 + offset); // only follow the thunk if it's not a hook handler - if (GeodeFunctionTableAccess64(GetCurrentProcess(), reinterpret_cast(checkAddress)) == nullptr) { + if (GeodeFunctionTableAccess64(GetCurrentProcess(), static_cast(checkAddress)) == nullptr) { address = checkAddress; } }