Skip to content

Commit

Permalink
alk u can revert this if it's wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Sep 18, 2024
1 parent b488755 commit 879ca57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/src/utils/addresser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 879ca57

Please sign in to comment.