Decompile func0f117350

This commit is contained in:
Ryan Dwyer
2020-11-13 19:14:03 +10:00
parent b2e1ff0c9c
commit d91f8d9a00
+5 -18
View File
@@ -728,26 +728,13 @@ glabel func0f117290
/* f117344: afa40000 */ sw $a0,0x0($sp)
/* f117348: 03e00008 */ jr $ra
/* f11734c: ac252384 */ sw $a1,%lo(var800a2380+0x4)($at)
/* f117350: 00047600 */ sll $t6,$a0,0x18
/* f117354: 000e7e03 */ sra $t7,$t6,0x18
/* f117358: 000fc080 */ sll $t8,$t7,0x2
/* f11735c: 030fc023 */ subu $t8,$t8,$t7
/* f117360: 0018c080 */ sll $t8,$t8,0x2
/* f117364: 030fc023 */ subu $t8,$t8,$t7
/* f117368: 0018c080 */ sll $t8,$t8,0x2
/* f11736c: 030fc021 */ addu $t8,$t8,$t7
/* f117370: 0018c080 */ sll $t8,$t8,0x2
/* f117374: 030fc023 */ subu $t8,$t8,$t7
/* f117378: 0018c080 */ sll $t8,$t8,0x2
/* f11737c: 3c02800a */ lui $v0,%hi(var800a2380+0x2b8)
/* f117380: 00581021 */ addu $v0,$v0,$t8
/* f117384: 8c422638 */ lw $v0,%lo(var800a2380+0x2b8)($v0)
/* f117388: afa40000 */ sw $a0,0x0($sp)
/* f11738c: 0002cfc2 */ srl $t9,$v0,0x1f
/* f117390: 03e00008 */ jr $ra
/* f117394: 03201025 */ or $v0,$t9,$zero
);
s32 func0f117350(s8 device)
{
return var800a2380[device].unk2b8_01;
}
void func0f117398(s8 device)
{
var800a2380[device].unk2b8_01 = 1;