NdsForge.NET 1.0.1
Read, validate, edit, compare, and build Nintendo DS and DSi images from .NET
Loading...
Searching...
No Matches
NdsLegacyArm7HookResult.cs
1namespace NdsForge;
2
4public sealed class NdsLegacyArm7HookResult
5{
12 internal NdsLegacyArm7HookResult(
13 byte[] image,
14 NdsRegion relocatedArm7,
15 NdsRegion hook,
16 NdsRegion headerBackup,
17 uint crc32)
18 {
19 Image = image;
20 RelocatedArm7 = relocatedArm7;
21 Hook = hook;
22 HeaderBackup = headerBackup;
23 Crc32 = crc32;
24 }
25
27 public ReadOnlyMemory<byte> Image { get; }
29 public NdsRegion RelocatedArm7 { get; }
31 public NdsRegion Hook { get; }
33 public NdsRegion HeaderBackup { get; }
35 public uint Crc32 { get; }
36}
NdsRegion RelocatedArm7
Locates the header-declared ARM7 region after relocation and expansion.
ReadOnlyMemory< byte > Image
Contains every transformed image byte plus the four-byte CRC correction word beyond declared used siz...
NdsRegion Hook
Locates the aligned caller hook executed through the patched ARM7 entrypoint.
NdsRegion HeaderBackup
Locates the original common header appended for hook code that needs to restore boot metadata.
uint Crc32
Records standard CRC32 of the completed physical output, including bytes beyond declared used size.
Identifies a bounded range of bytes in an image.
Definition NdsRegion.cs:11