mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 15:37:53 -05:00
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
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:
parent
b488755190
commit
879ca57b7f
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ intptr_t Addresser::followThunkFunction(intptr_t address) {
|
||||||
auto checkAddress = *reinterpret_cast<uintptr_t*>(address + 6 + offset);
|
auto checkAddress = *reinterpret_cast<uintptr_t*>(address + 6 + offset);
|
||||||
|
|
||||||
// only follow the thunk if it's not a hook handler
|
// 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;
|
address = checkAddress;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue