summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRémi Calixte <remicalixte.rmc@gmail.com>2021-07-27 21:30:10 +0200
committerRémi Calixte <remicalixte.rmc@gmail.com>2021-07-27 21:30:10 +0200
commita46463e4c6ca40cfc96dd47a7a28c11275a22ea6 (patch)
tree9650e92bbc70f0729119edb2346cc3c931f95d21 /include
parent68d7aa47cc52ef822220e0e35890863d7cad479f (diff)
decompile unk_02005CFC.s
Diffstat (limited to 'include')
-rw-r--r--include/pokemon.h2
-rw-r--r--include/proto.h4
-rw-r--r--include/unk_020040F4.h5
-rw-r--r--include/unk_02005CFC.h19
4 files changed, 23 insertions, 7 deletions
diff --git a/include/pokemon.h b/include/pokemon.h
index d107bf85..ec3ac77a 100644
--- a/include/pokemon.h
+++ b/include/pokemon.h
@@ -294,7 +294,7 @@ void Party_SpreadPokerus(struct PlayerParty * party);
BOOL Pokemon_HasPokerus(struct Pokemon * pokemon);
BOOL Pokemon_IsImmuneToPokerus(struct Pokemon * pokemon);
void Pokemon_UpdateArceusForme(struct Pokemon * pokemon);
-void FUN_02069FB0(u32 r7, u32 r5, u32 r4, u32 r6, u32 sp18, u32 sp1C, u32 sp20);
+void FUN_02069FB0(u32 r7, u32 r5, u16 r4, u32 r6, u32 sp18, u32 sp1C, u32 sp20);
void FUN_0206A014(struct Pokemon * pokemon, struct PlayerData * a1, u32 pokeball, u32 a3, u32 encounterType, u32 heap_id);
void FUN_0206A094(struct Pokemon * pokemon, u32 a1, u32 a2);
BOOL FUN_0206A13C(struct Pokemon * pokemon, u32 a1);
diff --git a/include/proto.h b/include/proto.h
index 7af3f19d..43ed28ac 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -11,10 +11,6 @@ int TrainerClass_GetGenderOrTrainerCount(int x);
int FUN_02014C3C(u8);
void FUN_02014C54(int, int, struct UnkStruct_02069038 *, u8);
u32 IsNighttime(void); // is day or night
-int FUN_02005F14(int);
-void FUN_02005E80(int);
-void FUN_02005E90(int, int, int, int);
-void FUN_020056AC(int, int, int, int, int);
void FUN_020808AC(struct BoxPokemon *, struct PlayerData *, int, u32, u32);
#endif //POKEDIAMOND_PROTO_H
diff --git a/include/unk_020040F4.h b/include/unk_020040F4.h
index 413e853f..f82ec034 100644
--- a/include/unk_020040F4.h
+++ b/include/unk_020040F4.h
@@ -2,6 +2,7 @@
#define POKEDIAMOND_UNK_020040F4_H
#include "global.h"
+#include "SPI_mic.h"
struct WaveArcInfo
{
@@ -65,8 +66,8 @@ u8 FUN_020048D0(u16 param0);
u32 GF_SndPlayerGetSeqNo(u32 *param0);
u32 FUN_020048F4(u16 param0);
u16 FUN_02004900(u32 param0);
-u32 GF_MIC_StartAutoSampling(u32 param0);
-u32 GF_MIC_StopAutoSampling(u32 param0);
+u32 GF_MIC_StartAutoSampling(struct MIC_SamplingData *param0);
+u32 GF_MIC_StopAutoSampling();
u32 GF_MIC_DoSamplingAsync(u32 param0, u32 param1, u32 param2, u32 param3);
void *FUN_02004930(u32 param0);
BOOL FUN_02004984(u32 param0);
diff --git a/include/unk_02005CFC.h b/include/unk_02005CFC.h
new file mode 100644
index 00000000..7b5f73e2
--- /dev/null
+++ b/include/unk_02005CFC.h
@@ -0,0 +1,19 @@
+#ifndef POKEDIAMOND_UNK_02005CFC_H
+#define POKEDIAMOND_UNK_02005CFC_H
+
+#include "global.h"
+#include "sav_chatot.h"
+
+BOOL FUN_02005CFC();
+BOOL FUN_02005D20(struct SaveChatotSoundClip *param0);
+u32 FUN_02005D48(struct SaveChatotSoundClip *param0, u32 param1, s32 param2, s32 param3);
+void FUN_02005DFC();
+u32 FUN_02005E28();
+void FUN_02005E64();
+void FUN_02005E6C(struct SaveChatotSoundClip *param0);
+void FUN_02005E80(u8 param0);
+void FUN_02005E90(struct SaveChatotSoundClip *param0, u32 param1, s32 param2, s32 param3);
+u32 FUN_02005EE0(struct SaveChatotSoundClip *param0);
+u32 FUN_02005F14(s32 param0);
+
+#endif // POKEDIAMOND_UNK_02005CFC_H