split mevent_server

This commit is contained in:
PikalaxALT
2018-11-30 15:26:16 -05:00
parent f178d06946
commit 8a8e86fa4f
14 changed files with 645 additions and 681 deletions
+9
View File
@@ -0,0 +1,9 @@
#ifndef GUARD_CEREADER_TOOL_H
#define GUARD_CEREADER_TOOL_H
#include "global.h"
bool32 sub_815D794(u8 *);
u8 sub_815D6B4(u8 *);
#endif //GUARD_CEREADER_TOOL_H
+2
View File
@@ -5,4 +5,6 @@
extern bool8 gUnknown_3005ECC;
void sub_812B484(void);
#endif //GUARD_HELP_SYSTEM_H
+36
View File
@@ -1,4 +1,40 @@
#ifndef GUARD_MEVENT_SERVER_H
#define GUARD_MEVENT_SERVER_H
#include "global.h"
#define ME_SEND_BUF_SIZE 0x400
struct mevent_srv_sub
{
s32 unk_00;
u8 unk_04;
u8 unk_05;
u16 unk_06;
u16 unk_08;
u16 unk_0A;
u16 unk_0C;
u16 unk_0E;
u16 unk_10;
u16 unk_12;
u16 unk_14;
void * unk_18;
void * unk_1C;
u32 (*unk_20)(struct mevent_srv_sub *);
u32 (*unk_24)(struct mevent_srv_sub *);
};
struct send_recv_buff
{
u16 unk0;
u16 unk2;
u16 unk4;
};
u32 sub_8144844(struct mevent_srv_sub * svr);
u32 sub_8144850(struct mevent_srv_sub * svr);
void sub_814485C(struct mevent_srv_sub * svr, u32 a1, u32 a2);
void sub_8144888(struct mevent_srv_sub * svr, u32 a1, void * a2, u32 size);
void sub_81448AC(struct mevent_srv_sub * svr, u32 a1, void * a2);
#endif //GUARD_MEVENT_SERVER_H
+6
View File
@@ -0,0 +1,6 @@
#ifndef GUARD_MYSTERY_GIFT_MENU_H
#define GUARD_MYSTERY_GIFT_MENU_H
void sub_81422FC(void);
#endif //GUARD_MYSTERY_GIFT_MENU_H