Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpond committed Mar 27, 2023
1 parent bfeb846 commit d58b831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ void WINAPI modify_buffer()
{
memset((char*)skipads + 12, 0x31, 1); // 122 to 000
g_Logger.Log(L"adsEnabled patched!");
xpui_found = true;
}
const auto skipsentry = FindPattern((uint8_t*)buff_addr, buff_size, (BYTE*)"sentry.io", "xxxxxxxxx");
if (skipsentry)
Expand All @@ -176,7 +177,6 @@ void WINAPI modify_buffer()
}
g_Logger.Log(L"premium patched!");
}
xpui_found = true;
}

__declspec(naked) void hook_zip_buffer()
Expand Down

0 comments on commit d58b831

Please sign in to comment.