Decompile func0f0aeea8

This commit is contained in:
Ryan Dwyer
2020-08-26 22:54:09 +10:00
parent 9cac53282d
commit be5329595a
3 changed files with 10 additions and 18 deletions
+6 -15
View File
@@ -3424,21 +3424,12 @@ glabel func0f0aeda4
/* f0aeea4: 00000000 */ nop
);
GLOBAL_ASM(
glabel func0f0aeea8
/* f0aeea8: 00047080 */ sll $t6,$a0,0x2
/* f0aeeac: 01c47023 */ subu $t6,$t6,$a0
/* f0aeeb0: 3c0f800a */ lui $t7,%hi(var8009da60)
/* f0aeeb4: 25efda60 */ addiu $t7,$t7,%lo(var8009da60)
/* f0aeeb8: 000e7100 */ sll $t6,$t6,0x4
/* f0aeebc: 44856000 */ mtc1 $a1,$f12
/* f0aeec0: 01cf1021 */ addu $v0,$t6,$t7
/* f0aeec4: 24180001 */ addiu $t8,$zero,0x1
/* f0aeec8: a0580005 */ sb $t8,0x5($v0)
/* f0aeecc: ac400000 */ sw $zero,0x0($v0)
/* f0aeed0: 03e00008 */ jr $ra
/* f0aeed4: e44c002c */ swc1 $f12,0x2c($v0)
);
void func0f0aeea8(s32 index, f32 arg1)
{
var8009da60[index].unk05 = 1;
var8009da60[index].unk00 = 0;
var8009da60[index].unk2c = arg1;
}
Gfx *func0f0aeed8(Gfx *gdl)
{
+1 -1
View File
@@ -17,7 +17,7 @@ u32 func0f0aeca8(void);
u32 func0f0aed3c(void);
u32 func0f0aed70(void);
u32 func0f0aeda4(void);
u32 func0f0aeea8(void);
void func0f0aeea8(s32 index, f32 arg1);
Gfx *func0f0aeed8(Gfx *gdl);
void func0f0aefb8(void);
u32 func0f0af0d4(void);
+3 -2
View File
@@ -6407,7 +6407,8 @@ struct mplockinfo {
struct var8009da60 {
s32 unk00;
u32 unk04;
u8 unk04;
u8 unk05;
u32 unk08;
u32 unk0c;
u32 unk10;
@@ -6417,7 +6418,7 @@ struct var8009da60 {
u32 unk20;
u32 unk24;
u32 unk28;
u32 unk2c;
f32 unk2c;
};
#endif