diff --git a/src/game/camdraw.c b/src/game/camdraw.c index 913702131..f42a5bd5e 100644 --- a/src/game/camdraw.c +++ b/src/game/camdraw.c @@ -4254,21 +4254,17 @@ void func0f14f4b8(struct var8007f8e0 *arg0) } } -GLOBAL_ASM( -glabel func0f14f4e4 -/* f14f4e4: ac800028 */ sw $zero,0x28($a0) -/* f14f4e8: ac80002c */ sw $zero,0x2c($a0) -/* f14f4ec: 00001025 */ or $v0,$zero,$zero -/* f14f4f0: 24031000 */ addiu $v1,$zero,0x1000 -.L0f14f4f4: -/* f14f4f4: 8c8e0024 */ lw $t6,0x24($a0) -/* f14f4f8: 01c27821 */ addu $t7,$t6,$v0 -/* f14f4fc: 24420001 */ addiu $v0,$v0,0x1 -/* f14f500: 1443fffc */ bne $v0,$v1,.L0f14f4f4 -/* f14f504: a1e00000 */ sb $zero,0x0($t7) -/* f14f508: 03e00008 */ jr $ra -/* f14f50c: 00000000 */ nop -); +void func0f14f4e4(struct var8007f8e0 *arg0) +{ + s32 i; + + arg0->unk028 = 0; + arg0->unk02c = 0; + + for (i = 0; i < 64 * 64; i++) { + arg0->unk024[i] = 0; + } +} GLOBAL_ASM( glabel func0f14f510 diff --git a/src/include/game/camdraw.h b/src/include/game/camdraw.h index 82efcc083..13b04f936 100644 --- a/src/include/game/camdraw.h +++ b/src/include/game/camdraw.h @@ -73,7 +73,7 @@ void func0f14ef50(f32 *arg0); s32 func0f14f008(s32 index); Gfx *func0f14f07c(Gfx *gdl, s32 headorbodynum, s32 x1, s32 y1, s32 x2, s32 y2); void func0f14f4b8(struct var8007f8e0 *arg0); -u32 func0f14f4e4(void); +void func0f14f4e4(struct var8007f8e0 *arg0); void func0f14f510(u32 arg0); u32 func0f14f700(void); u32 func0f14f76c(struct var8007f8e0 *arg0, s32 arg1); diff --git a/src/include/types.h b/src/include/types.h index 28b6daf76..7229a9635 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -7422,8 +7422,8 @@ struct var8007f8e0 { // perfect head? /*0x004*/ struct textureconfig unk004; /*0x010*/ struct textureconfig unk010; /*0x01c*/ u8 *unk01c; - /*0x028*/ u8 *unk020; - /*0x028*/ u32 unk024; + /*0x020*/ u8 *unk020; + /*0x024*/ u8 *unk024; /*0x028*/ u32 unk028; /*0x02c*/ u32 unk02c; /*0x030*/ f32 unk030;