summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAkira Akashi <rubenru09@aol.com>2021-07-22 23:43:13 +0100
committerGitHub <noreply@github.com>2021-07-22 23:43:13 +0100
commita917f956c984513f7ef3a5f22f42d9527331b9af (patch)
tree51f167244be136b5d8d78a81270cb2f8f1655d0c /include
parent02b617600e93c9bf01d9bd0b836c2768048807da (diff)
parent72e5e5f9cb87c37d278bf3dde2ac5630498b87bb (diff)
Merge pull request #432 from remicalixte/unk_020051F4
decompile unk_020051F4.s
Diffstat (limited to 'include')
-rw-r--r--include/sound.h3
-rw-r--r--include/unk_020040F4.h18
-rw-r--r--include/unk_020051F4.h45
3 files changed, 56 insertions, 10 deletions
diff --git a/include/sound.h b/include/sound.h
index aa2f1641..11053cd6 100644
--- a/include/sound.h
+++ b/include/sound.h
@@ -63,7 +63,8 @@ BOOL GF_Snd_LoadSeqEx(int seqNo, u32 loadFlag);
BOOL GF_Snd_LoadWaveArc(int waveArcNo);
BOOL GF_Snd_LoadBank(int bankNo);
u32 * GetSoundPlayer(int playerNo);
-u32 FUN_02004018(u32 a0);
+int FUN_02004018(u32 a0);
void DoSoundUpdateFrame(void);
+void FUN_02003CE8(int);
#endif //POKEDIAMOND_SOUND_H
diff --git a/include/unk_020040F4.h b/include/unk_020040F4.h
index 641decb7..413e853f 100644
--- a/include/unk_020040F4.h
+++ b/include/unk_020040F4.h
@@ -19,7 +19,7 @@ struct UnkStruct_020040F4_1
u32 unk18;
s32 unk1c;
u32 unk20;
- u32 unk24;
+ s32 unk24;
};
struct UnkStruct_020040F4_2
@@ -55,7 +55,7 @@ void FUN_02004738();
int FUN_02004748(s32 param0);
void FUN_020047C8(u8 param0, u8 param1);
void FUN_02004810();
-void GF_SndPlayerMoveVolume(int playerNo, u32 param1, u32 param2);
+void GF_SndPlayerMoveVolume(int playerNo, s32 param1, s32 param2);
void GF_SndPlayerSetInitialVolume(int playerNo, s32 param1);
void FUN_02004858(u32 param0, int playerNo);
void FUN_0200488C(u16 param0, u16 param1);
@@ -64,7 +64,7 @@ u16 GF_SndPlayerCountPlayingSeqByPlayerNo(int playerNo);
u8 FUN_020048D0(u16 param0);
u32 GF_SndPlayerGetSeqNo(u32 *param0);
u32 FUN_020048F4(u16 param0);
-u16 FUN_02004900(u16 param0);
+u16 FUN_02004900(u32 param0);
u32 GF_MIC_StartAutoSampling(u32 param0);
u32 GF_MIC_StopAutoSampling(u32 param0);
u32 GF_MIC_DoSamplingAsync(u32 param0, u32 param1, u32 param2, u32 param3);
@@ -73,11 +73,11 @@ BOOL FUN_02004984(u32 param0);
void FUN_02004A04(u32 param0);
u32 FUN_02004A6C(struct UnkStruct_020040F4_1 *param0, u32 param1);
void FUN_02004AAC(u32 param0);
-void FUN_02004ABC(u32 param0);
+BOOL FUN_02004ABC(u32 param0);
void FUN_02004ACC(u32 param0, u32 param1);
void FUN_02004AE4(u32 param0, u32 param1);
void FUN_02004AF8(u32 param0, s32 param1);
-u32 FUN_02004B30(u32 param0, s32 param1, u32 param2, u32 param3, u32 param4);
+u32 FUN_02004B30(u32 param0, s32 param1, s32 param2, u32 param3, u32 param4);
void FUN_02004C1C(u8 *param0, u32 param1);
void FUN_02004C3C(u32 param0);
BOOL GF_SndCaptureIsActive();
@@ -87,11 +87,11 @@ void GF_SndCaptureSetReverbVolume(u32 param0, u32 param1);
void FUN_02004CB4();
void GF_SndCaptureStopEffect();
void FUN_02004D04(s32 param0);
-void GF_SndPlayerSetTrackPitch(int playerNo, u32 param1, u32 param2);
-void FUN_02004D34(u16 param0, u32 param1, u32 param2);
-void GF_SndPlayerSetTrackPan(int playerNo, u32 param1, u32 param2);
+void GF_SndPlayerSetTrackPitch(int playerNo, u32 param1, s32 param2);
+void FUN_02004D34(u16 param0, u32 param1, s32 param2);
+void GF_SndPlayerSetTrackPan(int playerNo, u32 param1, s32 param2);
void GF_SndSetMonoFlag(u32 param0);
-void FUN_02004D74(u32 param0);
+void FUN_02004D74(s32 param0);
void FUN_02004D84(u32 param0);
u16 FUN_02004D94();
u8 *FUN_02004DB4();
diff --git a/include/unk_020051F4.h b/include/unk_020051F4.h
new file mode 100644
index 00000000..05be8db7
--- /dev/null
+++ b/include/unk_020051F4.h
@@ -0,0 +1,45 @@
+#ifndef POKEDIAMOND_UNK_020051F4_H
+#define POKEDIAMOND_UNK_020051F4_H
+
+#include "global.h"
+
+
+u32 FUN_020051F4(u16 param0);
+u32 FUN_0200521C(u16 param0);
+void FUN_0200526C(u16 param0, int playerNo);
+u32 FUN_02005288(u16 param0, u32 param1, int playerNo);
+u32 FUN_020052B8(u16 param0, u32 param1, int playerNo);
+u32 FUN_02005308(u32 param0, u16 param1);
+void FUN_02005350(u16 param0, u32 param1);
+void FUN_02005374();
+void FUN_0200538C(s32 param0, u16 param1, u32 param2);
+void FUN_020053CC(s32 param0, s32 param1);
+u16 FUN_02005404();
+u16 FUN_02005410(u16 param0);
+void FUN_0200541C();
+void FUN_02005454();
+u32 FUN_020054A8(u16 param0, u32 param1);
+u32 PlaySE(u16 param0);
+void FUN_020054F0(u32 param0, u32 param1);
+void FUN_020054F8(s32 param0, u32 param1);
+u16 FUN_02005508(u16 param0);
+BOOL FUN_02005514();
+void FUN_02005530(u16 param0, u32 param1, u32 param2);
+void FUN_0200554C(u32 param0);
+u32 FUN_02005578(u16 species);
+void FUN_02005614(u32 param0);
+BOOL FUN_02005670();
+u32 FUN_020056AC(u32 param0, u16 param1, s32 param2, s32 param3, u32 param4);
+void FUN_02005AC8(u32 param0, int playerNo, s32 param2);
+void FUN_02005AE0(u32 param0, u32 param1);
+void FUN_02005B2C(u32 param0, s32 *param1);
+void FUN_02005BA0();
+u32 FUN_02005BC8(u16 param0, s32 param1);
+void FUN_02005BF8(u32 param0, s32 param1, s32 param2, s32 param3, u32 param4);
+u32 PlaySound(u16 param0);
+BOOL FUN_02005C74();
+void FUN_02005CA0(u32 param0);
+BOOL FUN_02005CBC();
+void FUN_02005CEC(u16 param0);
+
+#endif //POKEDIAMOND_UNK_020051F4_H