From d57baf0c2231303622ade07a3ea1df2d795fd73c Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Fri, 19 Jun 2020 10:06:32 -0400 Subject: nutdata.c --- include/msg_data.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/msg_data.h (limited to 'include/msg_data.h') diff --git a/include/msg_data.h b/include/msg_data.h new file mode 100644 index 00000000..debacc79 --- /dev/null +++ b/include/msg_data.h @@ -0,0 +1,20 @@ +#ifndef POKEDIAMOND_MSG_DATA_H +#define POKEDIAMOND_MSG_DATA_H + +struct MsgData +{ + u16 unk0; + u16 unk2; + u16 unk4; + u16 unk6; + union { + u16 * raw; + NARC * narc; + } data; +}; + +struct MsgData * NewMsgDataFromNarc(u32 type, u32 narcId, u32 msgId, u32 heapno); +u16 * FUN_0200A914(struct MsgData *, u32); +void DestroyMsgData(struct MsgData *); + +#endif //POKEDIAMOND_MSG_DATA_H -- cgit v1.2.3