NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
NWC24Utils.h
1#ifndef RVL_SDK_NWC24_UTILS_H
2#define RVL_SDK_NWC24_UTILS_H
3#include <types.h>
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8typedef struct NWC24Data {
9 const void* ptr; // at 0x0
10 u32 size; // at 0x4
11} NWC24Data;
12
13typedef struct NWC24Date {
14 u16 year; // at 0x0
15 u8 month; // at 0x2
16 u8 day; // at 0x3
17 u8 hour; // at 0x4
18 u8 sec; // at 0x5
19 u8 min; // at 0x6
20 u8 BYTE_0x7;
21} NWC24Date;
22
23void NWC24Data_Init(NWC24Data* data);
24void NWC24Data_SetDataP(NWC24Data* data, const void* ptr, u32 size);
25void NWC24Date_Init(NWC24Date* date);
26void NWC24iConvIdToStr(u64 addr, char* out);
27
28#ifdef __cplusplus
29}
30#endif
31#endif