2025-09-26 12:09:34 -04:00
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
2025-09-26 13:06:18 -04:00
|
|
|
|
namespace SabreTools.Data.Models.SafeDisc
|
2025-09-26 12:09:34 -04:00
|
|
|
|
{
|
|
|
|
|
|
/// <see href="https://web.archive.org/web/20241008171855/http://blog.w4kfu.com/tag/safedisc"/>
|
|
|
|
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
|
|
|
|
public class EncryptedFileEntry
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 0xA8726B03
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public uint Signature1;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 0xEF01996C
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public uint Signature2;
|
|
|
|
|
|
|
|
|
|
|
|
public uint FileNumber;
|
|
|
|
|
|
|
|
|
|
|
|
public uint Offset1;
|
|
|
|
|
|
|
|
|
|
|
|
public uint Offset2;
|
|
|
|
|
|
|
|
|
|
|
|
public uint Unknown1;
|
|
|
|
|
|
|
|
|
|
|
|
public uint Unknown2;
|
|
|
|
|
|
|
|
|
|
|
|
/// <remarks>0x0D bytes</remarks>
|
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x0D)]
|
2025-10-30 20:44:16 -04:00
|
|
|
|
public byte[] Name = new byte[0x0D];
|
2025-09-26 12:09:34 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|