Decompile func0f116db0

This commit is contained in:
Ryan Dwyer 2020-11-13 18:44:51 +10:00
parent f1f5fb1da3
commit f06caec53b
2 changed files with 5 additions and 20 deletions

View File

@ -464,25 +464,10 @@ glabel func0f116cd4
/* f116dac: 00601025 */ or $v0,$v1,$zero
);
GLOBAL_ASM(
glabel func0f116db0
/* f116db0: 00047600 */ sll $t6,$a0,0x18
/* f116db4: 000e7e03 */ sra $t7,$t6,0x18
/* f116db8: 000fc080 */ sll $t8,$t7,0x2
/* f116dbc: 030fc023 */ subu $t8,$t8,$t7
/* f116dc0: 0018c080 */ sll $t8,$t8,0x2
/* f116dc4: 030fc023 */ subu $t8,$t8,$t7
/* f116dc8: 0018c080 */ sll $t8,$t8,0x2
/* f116dcc: 030fc021 */ addu $t8,$t8,$t7
/* f116dd0: 0018c080 */ sll $t8,$t8,0x2
/* f116dd4: 030fc023 */ subu $t8,$t8,$t7
/* f116dd8: 0018c080 */ sll $t8,$t8,0x2
/* f116ddc: 3c01800a */ lui $at,%hi(var800a2380+0x10)
/* f116de0: 00380821 */ addu $at,$at,$t8
/* f116de4: afa40000 */ sw $a0,0x0($sp)
/* f116de8: 03e00008 */ jr $ra
/* f116dec: ac252390 */ sw $a1,%lo(var800a2380+0x10)($at)
);
void func0f116db0(s8 device, s32 value)
{
var800a2380[device].unk010 = value;
}
GLOBAL_ASM(
glabel func0f116df0

View File

@ -25,7 +25,7 @@ bool func0f116b5c(s8 device);
void func0f116bdc(s8 device, u8 *arg1, u8 *arg2);
u16 func0f116c54(s8 device);
u32 func0f116c94(s8 device);
void func0f116db0(s8 arg0, s32 arg1);
void func0f116db0(s8 device, s32 value);
s32 func0f116df0(s8 device, struct pakdata **arg1);
s32 func0f116e84(s8 device, u16 company_code, u32 game_code, char *game_name, char *ext_name);
bool func0f116fa0(s8 arg0, s32 arg1);