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>
54 lines
2.0 KiB
C#
54 lines
2.0 KiB
C#
namespace HitmanPatcher.PatchDefinitions
|
|
{
|
|
internal static class v3_10
|
|
{
|
|
internal static void AddVersions()
|
|
{
|
|
HitmanVersion.AddVersion("3.10.0.0_dx12", 0x5FFECE18, v3_10_0_dx12);
|
|
HitmanVersion.AddVersion("3.10.0.0-h1_dx12", 0x60084611, v3_10_0_h1_dx12);
|
|
HitmanVersion.AddVersion("3.10.1.0_dx12", 0x600AB0F6, v3_10_1_dx12);
|
|
}
|
|
|
|
private static readonly HitmanVersion v3_10_0_dx12 = new HitmanVersion()
|
|
{
|
|
certpin = new[]
|
|
{
|
|
new Patch(0x0C9E55E, "0F85", "90E9", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
authheader = new[]
|
|
{
|
|
new Patch(0x0A10837, "75", "EB", MemProtection.PAGE_EXECUTE_READ),
|
|
new Patch(0x0A1085B, "0F8482000000", "909090909090", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
configdomain = new[]
|
|
{
|
|
new Patch(0x2AAB688, "", "", MemProtection.PAGE_READWRITE, "configdomain")
|
|
},
|
|
protocol = new[]
|
|
{
|
|
new Patch(0x194BB20, Patch.https, Patch.http, MemProtection.PAGE_READONLY),
|
|
new Patch(0x0A05694, "0C", "0B", MemProtection.PAGE_EXECUTE_READ),
|
|
new Patch(0x0A34850, "0C", "0B", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
dynres_noforceoffline = new[]
|
|
{
|
|
new Patch(0x2AAC008, "01", "00", MemProtection.PAGE_EXECUTE_READWRITE)
|
|
}
|
|
};
|
|
|
|
private static readonly HitmanVersion v3_10_0_h1_dx12 = v3_10_0_dx12;
|
|
|
|
private static readonly HitmanVersion v3_10_1_dx12 = new HitmanVersion()
|
|
{
|
|
certpin = new[]
|
|
{
|
|
new Patch(0x0C9E61E, "0F85", "90E9", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
authheader = v3_10_0_dx12.authheader,
|
|
configdomain = v3_10_0_dx12.configdomain,
|
|
protocol = v3_10_0_dx12.protocol,
|
|
dynres_noforceoffline = v3_10_0_dx12.dynres_noforceoffline
|
|
};
|
|
}
|
|
}
|