Decompile func0f1173e4

This commit is contained in:
Ryan Dwyer
2020-11-13 19:12:10 +10:00
parent c411db8db4
commit 68aa2680bf
2 changed files with 7 additions and 20 deletions
+5 -19
View File
@@ -765,27 +765,13 @@ glabel func0f117290
/* f1173d8: 352a0080 */ ori $t2,$t1,0x80
/* f1173dc: 03e00008 */ jr $ra
/* f1173e0: a04a02b8 */ sb $t2,0x2b8($v0)
/* f1173e4: 00047600 */ sll $t6,$a0,0x18
/* f1173e8: 000e7e03 */ sra $t7,$t6,0x18
/* f1173ec: 000fc080 */ sll $t8,$t7,0x2
/* f1173f0: 030fc023 */ subu $t8,$t8,$t7
/* f1173f4: 0018c080 */ sll $t8,$t8,0x2
/* f1173f8: 030fc023 */ subu $t8,$t8,$t7
/* f1173fc: 0018c080 */ sll $t8,$t8,0x2
/* f117400: 030fc021 */ addu $t8,$t8,$t7
/* f117404: 0018c080 */ sll $t8,$t8,0x2
/* f117408: 030fc023 */ subu $t8,$t8,$t7
/* f11740c: 3c19800a */ lui $t9,%hi(var800a2380)
/* f117410: 27392380 */ addiu $t9,$t9,%lo(var800a2380)
/* f117414: 0018c080 */ sll $t8,$t8,0x2
/* f117418: 03191021 */ addu $v0,$t8,$t9
/* f11741c: 904802b8 */ lbu $t0,0x2b8($v0)
/* f117420: afa40000 */ sw $a0,0x0($sp)
/* f117424: 3109ff7f */ andi $t1,$t0,0xff7f
/* f117428: 03e00008 */ jr $ra
/* f11742c: a04902b8 */ sb $t1,0x2b8($v0)
);
void func0f1173e4(s8 device)
{
var800a2380[device].unk2b8_01 = 0;
}
GLOBAL_ASM(
glabel func0f117430
/* f117430: 27bdffc8 */ addiu $sp,$sp,-56
+2 -1
View File
@@ -5141,7 +5141,8 @@ struct var800a2380 {
/*0x2ac*/ u32 unk2ac;
/*0x2b0*/ u32 unk2b0;
/*0x2b4*/ f32 unk2b4;
/*0x2b8*/ u8 unk2b8_01 : 5;
/*0x2b8*/ u8 unk2b8_01 : 1;
/*0x2b8*/ u8 unk2b8_02 : 4;
/*0x2b8*/ u8 unk2b8_06 : 1;
/*0x2b9*/ u8 unk2b9;
/*0x2ba*/ u8 unk2ba;