mirror of
https://github.com/thepeacockproject/Peacock
synced 2025-03-27 11:12:44 +01:00

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>
62 lines
2.2 KiB
C#
62 lines
2.2 KiB
C#
namespace HitmanPatcher.PatchDefinitions
|
|
{
|
|
internal static class v1_15
|
|
{
|
|
internal static void AddVersions()
|
|
{
|
|
HitmanVersion.AddVersion("1.15.0.0_dx11", 0x5F8ED8B9, v1_15_0_dx11);
|
|
HitmanVersion.AddVersion("1.15.0.0_dx12", 0x5F8ED8D0, v1_15_0_dx12);
|
|
}
|
|
|
|
private static readonly HitmanVersion v1_15_0_dx11 = new HitmanVersion()
|
|
{
|
|
certpin = new[]
|
|
{
|
|
new Patch(0x0CD744C, "0F85", "90E9", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
authheader = new[]
|
|
{
|
|
new Patch(0x09C3925, "0F84B3000000", "909090909090", MemProtection.PAGE_EXECUTE_READ),
|
|
new Patch(0x09C3935, "0F84A3000000", "909090909090", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
configdomain = new[]
|
|
{
|
|
new Patch(0x273C628, "", "", MemProtection.PAGE_READWRITE, "configdomain")
|
|
},
|
|
protocol = new[]
|
|
{
|
|
new Patch(0x14DD458, "68", "61", MemProtection.PAGE_READONLY) // this is just stupid
|
|
},
|
|
dynres_noforceoffline = new[]
|
|
{
|
|
new Patch(0x273CAA8, "01", "00", MemProtection.PAGE_READWRITE)
|
|
}
|
|
};
|
|
|
|
private static readonly HitmanVersion v1_15_0_dx12 = new HitmanVersion()
|
|
{
|
|
certpin = new[]
|
|
{
|
|
new Patch(0x0CD7C6C, "0F85", "90E9", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
authheader = new[]
|
|
{
|
|
new Patch(0x09C4C45, "0F84B3000000", "909090909090", MemProtection.PAGE_EXECUTE_READ),
|
|
new Patch(0x09C4C55, "0F84A3000000", "909090909090", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
configdomain = new[]
|
|
{
|
|
new Patch(0x2744B28, "", "", MemProtection.PAGE_READWRITE, "configdomain")
|
|
},
|
|
protocol = new[]
|
|
{
|
|
new Patch(0x14E44B8, "68", "61", MemProtection.PAGE_READONLY) // this is just stupid
|
|
},
|
|
dynres_noforceoffline = new[]
|
|
{
|
|
new Patch(0x2744FA8, "01", "00", MemProtection.PAGE_READWRITE)
|
|
}
|
|
};
|
|
}
|
|
}
|