NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
ut_binaryFileFormat.h
1#ifndef NW4R_UT_BINARY_FILE_FORMAT_H
2#define NW4R_UT_BINARY_FILE_FORMAT_H
3#include <nw4r/types_nw4r.h>
4
5namespace nw4r {
6namespace ut {
7
9 ulong kind; // at 0x0
10 ulong size; // at 0x4
11};
12
14 ulong signature; // at 0x0
15 u16 byteOrder; // at 0x4
16 u16 version; // at 0x6
17 ulong fileSize; // at 0x8
18 u16 headerSize; // at 0xC
19 u16 dataBlocks; // at 0xE
20};
21
22bool IsValidBinaryFile(const BinaryFileHeader* pHeader, ulong signature,
23 u16 version, u16 minBlocks);
24
25} // namespace ut
26} // namespace nw4r
27
28#endif
Debugging library which includes various utilities used by the rest of nw4r.
Definition ut_list.cpp:4