Skip to content

Commit

Permalink
Fix address for opcode handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
wopss committed Jan 31, 2024
1 parent 9503a43 commit 5260968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/RED4ext/Addresses.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ constexpr uintptr_t Memory_PoolStorage_OOM = 0x141FE8DA4 - ImageBase; // 48 83 E
#pragma endregion

#pragma region OpcodeHandlers
constexpr uintptr_t OpcodeHandlers = 0x143332C50 - ImageBase; // 4C 8D 05 ? ? ? ? 48 8D 0D ? ? ? ? 4C 89 9B ? ? ? ?, expected: 2, index: 1, offset: 3
constexpr uintptr_t OpcodeHandlers = 0x1432F2C50 - ImageBase; // 4C 8D 05 ? ? ? ? 48 8D 0D ? ? ? ? 4C 89 9B ? ? ? ?, expected: 2, index: 0, offset: 3
#pragma endregion

#pragma region ResourceDepot
Expand Down
2 changes: 1 addition & 1 deletion scripts/patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_groups() -> List[Group]:
]),

Group(name='OpcodeHandlers', pointers=[
Item(pattern='4C 8D 05 ? ? ? ? 48 8D 0D ? ? ? ? 4C 89 9B ? ? ? ?', offset=3, expected=2, index=1)
Item(pattern='4C 8D 05 ? ? ? ? 48 8D 0D ? ? ? ? 4C 89 9B ? ? ? ?', offset=3, expected=2, index=0)
]),

Group(name='CGameEngine', pointers=[
Expand Down

0 comments on commit 5260968

Please sign in to comment.