Skip to content

Commit

Permalink
Post 37112 GW update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon committed Apr 7, 2021
1 parent fba1176 commit ab04aeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dependencies/GWCA
5 changes: 2 additions & 3 deletions GWToolboxdll/Modules/GameSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -649,16 +649,15 @@ void GameSettings::Initialize() {
}

{
uintptr_t found = GW::Scanner::Find(
"\x5F\x6A\x00\xFF\x75\xE4\x6A\x4C\xFF\x75\xF8", "xxxxxxxxxxx", -0x44);
uintptr_t found = GW::Scanner::Find("\x5F\x6A\x00\xFF\x75\xE4\x6A\x4C\xFF\x75\xF8", "xxxxxxxxxxx", -0x44);
printf("[SCAN] TomePatch = %p\n", (void *)found);
if (found) {
tome_patch.SetPatch(found, "\x75\x1E\x90\x90\x90\x90\x90", 7);
}
}

{
uintptr_t found = GW::Scanner::Find("\xF7\x40\x0C\x10\x00\x02\x00\x75", "xxxxxxxx", +7);
uintptr_t found = GW::Scanner::Find("\xF7\x40\x0C\x10\x00\x02\x00\x75", "xxxxxx??", +7);
printf("[SCAN] GoldConfirmationPatch = %p\n", (void *)found);
if (found) {
gold_confirm_patch.SetPatch(found, "\x90\x90", 2);
Expand Down

0 comments on commit ab04aeb

Please sign in to comment.