alk u can revert this if it's wrong
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled

This commit is contained in:
HJfod 2024-09-18 22:18:35 +03:00
parent b488755190
commit 879ca57b7f

View file

@ -151,7 +151,7 @@ intptr_t Addresser::followThunkFunction(intptr_t address) {
auto checkAddress = *reinterpret_cast<uintptr_t*>(address + 6 + offset);
// only follow the thunk if it's not a hook handler
if (GeodeFunctionTableAccess64(GetCurrentProcess(), reinterpret_cast<DWORD64>(checkAddress)) == nullptr) {
if (GeodeFunctionTableAccess64(GetCurrentProcess(), static_cast<DWORD64>(checkAddress)) == nullptr) {
address = checkAddress;
}
}