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
5
namespace
nw4r {
6
namespace
ut
{
7
8
struct
BinaryBlockHeader
{
9
ulong kind;
// at 0x0
10
ulong size;
// at 0x4
11
};
12
13
struct
BinaryFileHeader
{
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
22
bool
IsValidBinaryFile(
const
BinaryFileHeader
* pHeader, ulong signature,
23
u16 version, u16 minBlocks);
24
25
}
// namespace ut
26
}
// namespace nw4r
27
28
#endif
nw4r::ut
Debugging library which includes various utilities used by the rest of nw4r.
Definition
ut_list.cpp:4
nw4r::ut::BinaryBlockHeader
Definition
ut_binaryFileFormat.h:8
nw4r::ut::BinaryFileHeader
Definition
ut_binaryFileFormat.h:13
include
lib
nw4r
ut
ut_binaryFileFormat.h
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2