namespace SabreTools.Data.Models.SecuROM
{
///
/// Overlay data associated with SecuROM executables
///
///
/// All information in this file has been researched in a clean room
/// environment by using sample from legally obtained software that
/// is protected by SecuROM.
///
public sealed class AddD
{
///
/// "AddD"
///
public string Signature { get; set; } = string.Empty;
/// s
/// Entry count
///
public uint EntryCount { get; set; }
///
/// Version, null-terminated
///
/// Always 8 bytes?
public string Version { get; set; } = string.Empty;
///
/// Build number
///
/// 4 bytes
public string Build { get; set; } = string.Empty;
///
/// Unknown
///
/// 44 bytes
public byte[] Unknown1 { get; set; } = new byte[44];
///
/// Product ID?
///
///
/// 10 bytes, only present in 4.84.00.0054, 4.84.69.0037, 4.84.76.7966, 4.84.76.7968, 4.85.07.0009
///
public string ProductId { get; set; } = string.Empty;
///
/// Unknown
///
///
/// 58 bytes, only present in 4.84.00.0054, 4.84.69.0037, 4.84.76.7966, 4.84.76.7968, 4.85.07.0009
///
public byte[] Unknown2 { get; set; } = new byte[58];
///
/// Entry table
///
public AddDEntry[] Entries { get; set; } = [];
}
}