Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Dec 21, 2023
1 parent 9e91215 commit 64b9a8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shared/sdk/UObjectHashTables.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <unordered_set>
#include <unordered_map>

#include <spdlog/spdlog.h>
#include <utility/Scan.hpp>
Expand Down Expand Up @@ -182,7 +183,7 @@ FUObjectHashTables* FUObjectHashTables::get() {
analyze_fn(start_2, register_states);

if (found && register_states.contains(NDR_RCX)) {
const auto result = (UObjectHashTables*)register_states[NDR_RCX];
const auto result = (FUObjectHashTables*)register_states[NDR_RCX];
SPDLOG_INFO("[FUObjectHashTables::get] Found UObjectHashTables: 0x{:X} ({:x} rel)", (uintptr_t)result, (uintptr_t)result - (uintptr_t)core_uobject);
return result;
}
Expand Down

0 comments on commit 64b9a8c

Please sign in to comment.