Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Update Game.cpp #312

Merged
merged 2 commits into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Kanan/Game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace kanan {
}

// Find the games global entity list pointer.
auto entityListAddress = scan("client.exe", "48 8B 0D ? ? ? ? E8 ? ? ? ? 48 85 C0 0F 84 ? ? ? ? 48 8B 0D ? ? ? ? 48 8B 91 60 01 00 00 E8 ? ? ? ?");
auto entityListAddress = scan("client.exe", "48 8B ? ? ? ? ? E8 ? ? ? ? 48 85 ? 0F 84 ? ? ? ? 48 8B ? ? ? ? ? 48 8B ? ? ? ? ? E8 ? ? ? ? 48 85");

if (entityListAddress) {
do {
Expand Down
6 changes: 3 additions & 3 deletions Kanan/Patches.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
"category": "Quality of Life",
"patches": [
{
"pattern": "76 ? 4C 8B ? ? ? ? ? 48 89",
"pattern": "76 ? 4C 8B ? ? ? ? ? 48 89 ? ? E8 ? ? ? ? 4C 8B",
"patch": "EB"
}
]
Expand Down Expand Up @@ -1369,8 +1369,8 @@
},
{
"pattern": "F3 48 ? ? ? C3 F3 0F",
"offset": 10,
"patch": "6A 04 E1 02"
"offset": 6,
"patch": "F3 0F 10 C6 90 90 90 90"
}
]
},
Expand Down