Decompile func00033820

This commit is contained in:
Ryan Dwyer
2021-11-11 21:12:30 +10:00
parent d57cbec37c
commit 9a5cf9efe0
6 changed files with 109 additions and 418 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ void func00033090(struct sndstate *handle);
u32 func00033100(void);
u16 sndpCountStates(s16 *numfreeptr, s16 *numallocedptr);
void func00033378(void *fn);
u32 func00033390(void);
struct sndstate *func00033390(s32 arg0, struct var80099024 *arg1);
void func00033634(void *fn);
bool audioIsPlaying(struct sndstate *handle);
struct sndstate *func00033820(s32 arg0, s16 soundnum, s32 arg2, s32 arg3, f32 arg4, s32 arg5, s32 arg6, struct sndstate **handle);
struct sndstate *func00033820(s32 arg0, s16 soundnum, u16 arg2, u8 arg3, f32 arg4, u8 arg5, u8 arg6, struct sndstate **handleptr);
void audioStop(struct sndstate *handle);
void func00033bc0(struct sndstate *handle);
void func00033db0(void);
+1 -1
View File
@@ -18,7 +18,7 @@ u32 snd0000efa8(void);
u32 snd0000f0d4(void);
u32 snd0000f228(void);
void sndSetSoundMode(s32 mode);
u32 snd0000f49c(void);
struct var80099024 *snd0000f49c(u16 soundnum);
void seqInit(struct seqinstance *seq);
void sndInit(void);
bool sndIsMp3(u16 soundnum);
+14 -2
View File
@@ -2138,10 +2138,10 @@ struct sndstate {
/*0x08*/ struct sndstate_08 *unk08;
/*0x0c*/ N_ALVoice voice;
/*0x28*/ u32 unk28;
/*0x2c*/ u32 unk2c;
/*0x2c*/ f32 unk2c;
/*0x30*/ struct sndstate **unk30;
/*0x34*/ u32 unk34;
/*0x38*/ u32 unk38;
/*0x38*/ s16 unk38;
/*0x3c*/ u32 unk3c;
/*0x40*/ u8 unk40;
/*0x41*/ u8 unk41;
@@ -2150,6 +2150,7 @@ struct sndstate {
/*0x44*/ u8 flags;
/*0x45*/ u8 playing;
#if VERSION >= VERSION_NTSC_1_0
/*0x46*/ u16 soundnum;
/*0x48*/ u32 unk48;
#endif
};
@@ -7400,4 +7401,15 @@ struct asistream {
bool (*unk847c)(struct asistream *stream);
};
struct var80099024_04 {
u8 unk00;
u8 unk01;
u8 unk02;
};
struct var80099024 {
u32 unk00;
struct var80099024_04 *unk04;
};
#endif