diff --git a/include/hud.h b/include/hud.h index c26f373b..dbc0e53b 100644 --- a/include/hud.h +++ b/include/hud.h @@ -13,6 +13,7 @@ typedef struct UnkStruct_func_80095350 { void func_800612B8(void*, u16, void*); void func_800613C4(void*); +void func_80084E78(s32*, s32*, s32*, s32, s32, f32, f32, f32, f32, f32, f32); void func_80085944(void); void func_8008A4DC(void); void func_8008B044(void); @@ -55,6 +56,8 @@ extern s32 D_1011D90; extern s32 D_1011E60; extern s32 D_1013170; extern s32 D_1013570; +extern s32 D_1013580; +extern s32 D_1013700; extern s32 D_30013E0; extern s32 D_80137E64; diff --git a/src/main/hud.c b/src/main/hud.c index 77625b98..2530b057 100644 --- a/src/main/hud.c +++ b/src/main/hud.c @@ -42,7 +42,9 @@ void func_8008566C(f32 arg0, f32 arg1, f32 arg2, f32 arg3) { func_8009D994(&D_80137E64, &D_10030D0, 8, 12, arg0, arg1, arg2, arg3); } -#pragma GLOBAL_ASM("asm/us/nonmatchings/main/hud/func_800856C0.s") +void func_800856C0(f32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4) { + func_80084E78(&D_80137E64, &D_1013580, &D_1013700, 0x30, 0xC, arg0, arg1, arg2, arg3, 48.0f * arg4, 8.0f); +} #pragma GLOBAL_ASM("asm/us/nonmatchings/main/hud/func_80085740.s")