mirror of
https://github.com/thepeacockproject/Peacock
synced 2025-02-23 03:35:25 +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 vScpc
|
|
{
|
|
internal static void AddVersions()
|
|
{
|
|
HitmanVersion.AddVersion("1.0.1.0-h1_dx11_sniper", 0x5B31107D, v1_0_1_h1_dx11_scpc);
|
|
HitmanVersion.AddVersion("1.0.1.0-h1_dx12_sniper", 0x5B311189, v1_0_1_h1_dx12_scpc);
|
|
}
|
|
|
|
private static readonly HitmanVersion v1_0_1_h1_dx11_scpc = new HitmanVersion()
|
|
{
|
|
certpin = new[]
|
|
{
|
|
new Patch(0x0E32B46, "75", "EB", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
authheader = new[]
|
|
{
|
|
new Patch(0x0A964F5, "0F84B3000000", "909090909090", MemProtection.PAGE_EXECUTE_READ),
|
|
new Patch(0x0A96505, "0F84A3000000", "909090909090", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
configdomain = new[]
|
|
{
|
|
new Patch(0x2AA4948, "", "", MemProtection.PAGE_READWRITE, "configdomain")
|
|
},
|
|
protocol = new[]
|
|
{
|
|
new Patch(0x16A5260, "68", "61", MemProtection.PAGE_READONLY)
|
|
},
|
|
dynres_noforceoffline = new[]
|
|
{
|
|
new Patch(0x2AA4E48, "01", "00", MemProtection.PAGE_READWRITE)
|
|
}
|
|
};
|
|
|
|
private static readonly HitmanVersion v1_0_1_h1_dx12_scpc = new HitmanVersion()
|
|
{
|
|
certpin = new[]
|
|
{
|
|
new Patch(0x0E31486, "75", "EB", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
authheader = new[]
|
|
{
|
|
new Patch(0x0A95685, "0F84B3000000", "909090909090", MemProtection.PAGE_EXECUTE_READ),
|
|
new Patch(0x0A95695, "0F84A3000000", "909090909090", MemProtection.PAGE_EXECUTE_READ)
|
|
},
|
|
configdomain = new[]
|
|
{
|
|
new Patch(0x2AB5F08, "", "", MemProtection.PAGE_READWRITE, "configdomain")
|
|
},
|
|
protocol = new[]
|
|
{
|
|
new Patch(0x16B6270, "68", "61", MemProtection.PAGE_READONLY)
|
|
},
|
|
dynres_noforceoffline = new[]
|
|
{
|
|
new Patch(0x2AB6408, "01", "00", MemProtection.PAGE_READWRITE)
|
|
}
|
|
};
|
|
}
|
|
}
|