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; } }