Skip to content

Commit

Permalink
Fix OffsetToGameSceneNode pattern not being unique after recent game …
Browse files Browse the repository at this point in the history
…update on Windows
  • Loading branch information
danielkrupinski committed Jan 24, 2025
1 parent 8e5a280 commit 8c9598d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/MemoryPatterns/Windows/EntityPatternsWindows.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ struct EntityPatterns {
[[nodiscard]] static consteval auto addClientPatterns(auto clientPatterns) noexcept
{
return clientPatterns
.template addPattern<OffsetToGameSceneNode, CodePattern{"48 8B 8B ? ? ? ? 48 8B D7 48 8B 5C"}.add(3).read()>()
.template addPattern<OffsetToGameSceneNode, CodePattern{"C3 48 8B 8B ? ? ? ? 48 8B D7 48"}.add(4).read()>()
.template addPattern<OffsetToHealth, CodePattern{"D9 ? ? C7 81 ? ? ? ? 00 00 00 00 48 8D 15"}.add(5).read()>()
.template addPattern<OffsetToLifeState, CodePattern{"0F B6 81 ? ? ? ? 3B C2"}.add(3).read()>()
.template addPattern<OffsetToTeamNumber, CodePattern{"80 BB ? ? ? ? 03 75"}.add(2).read()>()
Expand Down

0 comments on commit 8c9598d

Please sign in to comment.