Skip to content

Commit

Permalink
fixconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Veha0001 committed Dec 10, 2024
1 parent b592647 commit 7290ada
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions jap/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"Patcher": {
"dump_file": null,
"input_file": "GameAssembly.dll",
"output_file": "GameAssembly_patched.dll",
"patches": [
Expand Down
8 changes: 1 addition & 7 deletions jap/patch_so.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,7 @@ int main() {
"?? 8B 0D ?? ?? ?? ?? E8 ?? ?? ?? ?? C6 05 ?? ?? ?? ?? ?? 48 8B 05 ?? "
"?? ?? ?? 45 33 C0 8B D3 48 8B 88 ?? ?? ?? ?? 48 8B 49 ?? 48 83 C4 ?? "
"5B E9 ?? ?? ?? ?? CC CC CC CC CC 40 55 53",
"B8 85 47 DE 63 C3"},
{"48 83 EC ?? 80 3D ?? ?? ?? ?? ?? 75 ?? 8B 0D ?? ?? ?? ?? E8 ?? ?? ?? "
"?? C6 05 ?? ?? ?? ?? ?? 48 8B 0D ?? ?? ?? ?? F6 81 ?? ?? ?? ?? ?? 74 "
"?? 83 B9 ?? ?? ?? ?? ?? 75 ?? E8 ?? ?? ?? ?? 33 C9 E8 ?? ?? ?? ?? 84 "
"C0 0F 85",
"48 B8 01 00 00 00 00 00 00 00 C3"}};

"B8 85 47 DE 63 C3"}};
try {
patchBinary("GameAssembly.dll", "GameAssembly_patched.dll", byteSequences);
} catch (const std::runtime_error &e) {
Expand Down

0 comments on commit 7290ada

Please sign in to comment.