mirror of
https://github.com/thepeacockproject/Peacock
synced 2024-11-22 22:12:45 +01:00
6245e91624
Co-authored-by: Tino Roivanen <tino.roivanen98@gmail.com> Co-authored-by: Govert de Gans <grappigegovert@hotmail.com> Co-authored-by: Gray Olson <gray@grayolson.com> Co-authored-by: Alexandre Sanchez <alex73630@gmail.com> Co-authored-by: Anthony Fuller <24512050+anthonyfuller@users.noreply.github.com> Co-authored-by: atampy25 <24306974+atampy25@users.noreply.github.com> Co-authored-by: David <davidstulemeijer@gmail.com> Co-authored-by: c0derMo <c0dermo@users.noreply.github.com> Co-authored-by: Jeevat Singh <jeevatt.singh@gmail.com> Signed-off-by: Reece Dunham <me@rdil.rocks>
64 lines
2.3 KiB
C#
64 lines
2.3 KiB
C#
namespace HitmanPatcher.PatchDefinitions
|
|
{
|
|
internal static class v2_71
|
|
{
|
|
internal static void AddVersions()
|
|
{
|
|
HitmanVersion.AddVersion("2.71.0.0-h1_dx11", 0x5D9DEA3E, v2_71_0_h1_dx11);
|
|
HitmanVersion.AddVersion("2.71.0.0-h1_dx12", 0x5D9DEA53, v2_71_0_h1_dx12);
|
|
}
|
|
|
|
private static readonly HitmanVersion v2_71_0_h1_dx11 = new HitmanVersion()
|
|
{
|
|
certpin = new[]
|
|
{
|
|
new Patch(0x0F33293, "75", "EB", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
authheader = new[]
|
|
{
|
|
new Patch(0x0B5A238, "75", "EB", MemProtection.PAGE_EXECUTE_READ),
|
|
new Patch(0x0B5A25C, "0F8486000000", "909090909090", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
configdomain = new[]
|
|
{
|
|
new Patch(0x2BBB5E8, "", "", MemProtection.PAGE_READWRITE, "configdomain")
|
|
},
|
|
protocol = new[]
|
|
{
|
|
new Patch(0x182D598, Patch.https, Patch.http, MemProtection.PAGE_READONLY),
|
|
new Patch(0x0B4EDA4, "0C", "0B", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
dynres_noforceoffline = new[]
|
|
{
|
|
new Patch(0x2BBBF28, "01", "00", MemProtection.PAGE_READWRITE)
|
|
}
|
|
};
|
|
|
|
private static readonly HitmanVersion v2_71_0_h1_dx12 = new HitmanVersion()
|
|
{
|
|
certpin = new[]
|
|
{
|
|
new Patch(0x0F32DF3, "75", "EB", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
authheader = new[]
|
|
{
|
|
new Patch(0x0B59D98, "75", "EB", MemProtection.PAGE_EXECUTE_READ),
|
|
new Patch(0x0B59DBC, "0F8486000000", "909090909090", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
configdomain = new[]
|
|
{
|
|
new Patch(0x2BD9CA8, "", "", MemProtection.PAGE_READWRITE, "configdomain")
|
|
},
|
|
protocol = new[]
|
|
{
|
|
new Patch(0x18486B8, Patch.https, Patch.http, MemProtection.PAGE_READONLY),
|
|
new Patch(0x0B4E904, "0C", "0B", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
dynres_noforceoffline = new[]
|
|
{
|
|
new Patch(0x2BDA5E8, "01", "00", MemProtection.PAGE_EXECUTE_READWRITE)
|
|
}
|
|
};
|
|
}
|
|
}
|