summaryrefslogtreecommitdiff
path: root/include/unk_0205FA2C.h
blob: 418c7077ac92293f1af6d7d806b5965befd290af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#ifndef POKEDIAMOND_UNK_0205FA2C_H
#define POKEDIAMOND_UNK_0205FA2C_H

#include "global.h"
#include "MI_memory.h"
#include "bag.h"
#include "heap.h"
#include "party.h"
#include "player_data.h"
#include "script.h"
#include "unk_020286F8.h"
#include "unk_02029FB0.h"
#include "unk_0202A8F4.h"
#include "unk_0204639C.h"
#include "unk_0206BB28.h"
#include "unk_02031480.h"

struct UnkPlayerStruct1_0205FA2C
{
    /* 0x00 */ struct PlayerParty *player_party;
    /* 0x04 */ struct Bag *bag;
    u32 unk08;
    /* 0x0c */ struct Options *options;
    u32 unk10[4];
    u8 unk20;
    u8 unk21;
    u8 unk22;
    u8 unk23;
    u32 unk24[2];
    u8 unk2c[6];
    u8 unk32 : 4;
    u8 unk322 : 4;
    u8 unk33;
    u32 unk34[3];
};

struct UnkPlayerStruct2_0205FA2C
{
    /* 0x00 */ struct PlayerParty *player_party;
    /* 0x04 */ struct Options *options;
    u32 unk08;
    u32 unk0c;
    u8 unk10;
    u8 unk11;
    u8 unk12;
    /* 0x04 */ u8 party_count;
    u8 unk14;
    u8 unk15[3];
    u16 unk18;
    u16 unk1a;
    /* 0x1c */ BOOL IsNatDex;
    void *unk20;
    u32 unk24;
    u32 unk28;
    u32 unk2c;
};

struct UnkCallbackStruct1_0205FA2C
{
    u32 unk00;
    u32 unk04;
    u8 unk08;
    u8 unk09;
    u8 unk0a;
    u8 unk0b;
    u8 unk0c;
    u8 unk0d;
    u8 unk0e[6];
    void **unk14;
};

struct UnkCallbackStruct2_0205FA2C
{
    u32 unk00;
    u32 unk04;
    u32 *unk08;
    u32 unk0c;
    u16 unk10;
    u16 unk12;
    u16 unk14;
};

u32 FUN_0205FA2C(
    struct UnkCallbackStruct1_0205FA2C *param0, struct UnkSavStruct80 *param1, u32 heap_id);
u32 FUN_0205FAD8(
    struct UnkCallbackStruct1_0205FA2C *param0, struct UnkSavStruct80 *param1);
u32 FUN_0205FB34(
    struct UnkCallbackStruct1_0205FA2C *param0, struct UnkSavStruct80 *param1, u32 heap_id);
u32 FUN_0205FBC0(
    struct UnkCallbackStruct1_0205FA2C *param0, struct UnkSavStruct80 *param1);
int FUN_0205FBE8(struct UnkStruct_0204639C *param0);
void FUN_0205FC50(struct UnkStruct_0204639C *param0,
    void **param1,
    u8 param2,
    u8 param3,
    u8 param4,
    u8 param5,
    u8 param6,
    u8 param7);

u32 FUN_0205FC9C(
    struct UnkCallbackStruct2_0205FA2C *param0, struct UnkSavStruct80 *param1);
u32 FUN_0205FCC4(
    struct UnkCallbackStruct2_0205FA2C *param0, struct UnkSavStruct80 *param1);
int FUN_0205FCE8(struct UnkStruct_0204639C *param0);
void FUN_0205FD38(struct UnkStruct_0204639C *param0, u16 param1, u16 param2, u16 param3);

int FUN_0205FD70(struct UnkStruct_0204639C *param0);
void FUN_0205FDDC(struct UnkStruct_0204639C *param0, u16 param1, u16 param2);

u32 FUN_0205FE10(struct SaveBlock2 *sav2);
u32 FUN_0205FF5C(struct SaveBlock2 *sav2);
void FUN_02060044(u16 **param0, u32 *param1);
u32 FUN_02060064(u32 param0);
u32 FUN_02060070(u32 param0);
u32 FUN_0206007C(struct SaveBlock2 *sav2);
u32 FUN_020600A0(struct SaveBlock2 *sav2);
u32 FUN_020600DC(struct SaveBlock2 *sav2);
BOOL FUN_02060144(u32 **param0);

#endif // POKEDIAMOND_UNK_0205FA2C_H