diff --git a/src/code/audio/code_801A4EB0.c b/src/code/audio/code_801A4EB0.c index d3461c8f5..441a70472 100644 --- a/src/code/audio/code_801A4EB0.c +++ b/src/code/audio/code_801A4EB0.c @@ -1,17 +1,33 @@ #include "global.h" -#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A4EB0.s") +void func_801A5680(u16 arg0); +void func_801A54D0(u16 arg0); + +void func_801A4EB0(void) { +} #pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A4EB8.s") #pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A4FD8.s") -#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A5080.s") +void func_801A5080(u16 arg0) { + if ((D_801D8E3C != 0) && (arg0 < 6)) { + func_801A5680(arg0); + } +} -#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A50C0.s") +void func_801A50C0(u16 arg0) { + if ((D_801D8E3C != 0) && (arg0 < 6)) { + func_801A54D0(arg0); + } +} -#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A5100.s") +u16 func_801A5100(void) { + return D_801D8E44; +} -#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A510C.s") +u8 func_801A510C(void) { + return D_801D8E3C; +} #pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A5118.s")