pokeemerald/include/link_rfu.h

104 lines
1.9 KiB
C
Raw Normal View History

2017-11-11 04:08:17 +01:00
#ifndef GUARD_LINK_RFU_H
#define GUARD_LINK_RFU_H
// Exported type declarations
struct UnkLinkRfuStruct_02022B14
{
u8 unk_00_0:4;
u8 unk_00_4:1;
u8 unk_00_5:1;
u8 unk_00_6:2;
u8 filler_01[2];
u8 unk_03[4];
u16 unk_08_0:10;
u16 unk_09_2:6;
u8 unk_0a_0:7;
u8 unk_0a_7:1;
u8 unk_0b_0:1;
u8 unk_0b_1:7;
u8 unk_0c;
u8 unk_0d;
u8 filler_0e[8];
};
2017-11-17 14:44:54 +01:00
struct UnkLinkRfuStruct_02022B2C
{
u8 filler_00[16];
u8 unk_10;
u8 unk_11;
u16 unk_12;
u16 unk_14;
};
2017-11-17 05:37:09 +01:00
struct UnkRfuStruct_1 {
u8 unk_00;
u8 unk_01;
u8 unk_02;
2017-11-17 06:05:28 +01:00
vu8 unk_03;
2017-11-17 05:37:09 +01:00
u8 unk_04;
u8 unk_05;
u8 unk_06;
u8 unk_07;
u8 unk_08;
2017-11-17 14:44:54 +01:00
u8 unk_09;
u8 unk_0a;
u8 unk_0b;
u8 unk_0c;
2017-11-17 05:37:09 +01:00
u8 unk_0d;
2017-11-18 21:00:38 +01:00
u8 filler_0e[2];
u8 unk_10;
u8 filler_11[3];
u16 unk_14;
u8 filler_16[2];
2017-11-17 14:44:54 +01:00
u16 unk_18;
2017-11-18 21:00:38 +01:00
u16 unk_1a;
2017-11-19 02:55:57 +01:00
u8 filler_1c[2];
u16 unk_1e;
2017-11-18 21:00:38 +01:00
u16 *unk_20;
u8 unk_24;
u16 unk_26;
u16 unk_28[4];
u8 unk_30;
// aligned
2017-11-17 14:44:54 +01:00
u16 unk_32;
2017-11-18 21:00:38 +01:00
u16 unk_34[4];
2017-11-17 14:44:54 +01:00
struct UnkLinkRfuStruct_02022B2C *unk_3c;
2017-11-17 14:33:25 +01:00
void (*unk_40)(u8);
void (*unk_44)(void);
2017-11-17 05:37:09 +01:00
};
2017-11-11 04:08:17 +01:00
// Exported RAM declarations
2017-11-17 05:37:09 +01:00
extern struct UnkRfuStruct_1 gUnknown_03004140;
2017-11-11 04:08:17 +01:00
// Exported ROM declarations
u32 sub_800BEC0(void);
void sub_800E700(void);
void sub_800EDD4(void);
2017-11-11 04:34:23 +01:00
void sub_800F6FC(u8 who);
void sub_800F728(u8 who);
2017-11-11 04:08:17 +01:00
bool32 sub_800F7E4(void);
void sub_800F804(void);
void sub_800F850(void);
2017-11-11 04:34:23 +01:00
u8 sub_800FCD8(void);
bool32 sub_800FE84(const void *src, size_t size);
2017-11-11 04:08:17 +01:00
void Rfu_set_zero(void);
u8 sub_80104F4(void);
u8 rfu_get_multiplayer_id(void);
bool8 sub_8010100(u8 a0);
bool8 sub_8010500(void);
2017-11-13 04:09:11 +01:00
bool8 Rfu_IsMaster(void);
void task_add_05_task_del_08FA224_when_no_RfuFunc(void);
2017-11-13 04:44:20 +01:00
void sub_8010434(void);
2017-11-13 05:16:51 +01:00
void sub_800E604(void);
2017-11-13 07:01:27 +01:00
void sub_800E174(void);
void sub_800E6D0(void);
bool32 sub_8010EC0(void);
bool32 sub_8010F1C(void);
bool32 sub_800F0B8(void);
2017-11-13 07:12:34 +01:00
u32 sub_80124D4(void);
2017-11-14 14:44:32 +01:00
void RfuVSync(void);
2017-11-11 04:08:17 +01:00
#endif //GUARD_LINK_RFU_H