Decompile currentPlayerSetAutoAimY

This commit is contained in:
Ryan Dwyer 2020-02-29 23:01:35 +10:00
parent 397b220031
commit d45e342fc9
3 changed files with 6 additions and 9 deletions

View File

@ -8230,7 +8230,7 @@ glabel func0f0bd904
/* f0bdc38: 8e6b0288 */ lw $t3,0x288($s3)
/* f0bdc3c: 0fc549e9 */ jal optionsGetAutoAim
/* f0bdc40: 8d640070 */ lw $a0,0x70($t3)
/* f0bdc44: 0fc31e88 */ jal func0f0c7a20
/* f0bdc44: 0fc31e88 */ jal currentPlaySetAutoAimY
/* f0bdc48: 00402025 */ or $a0,$v0,$zero
/* f0bdc4c: 8e6c0288 */ lw $t4,0x288($s3)
/* f0bdc50: 0fc549e9 */ jal optionsGetAutoAim

View File

@ -183,13 +183,10 @@ glabel func0f0c7a00
/* f0c7a1c: 8dc20114 */ lw $v0,0x114($t6)
);
GLOBAL_ASM(
glabel func0f0c7a20
/* f0c7a20: 3c0e800a */ lui $t6,0x800a
/* f0c7a24: 8dcea244 */ lw $t6,-0x5dbc($t6)
/* f0c7a28: 03e00008 */ jr $ra
/* f0c7a2c: adc40124 */ sw $a0,0x124($t6)
);
void currentPlaySetAutoAimY(bool enabled)
{
g_Vars.currentplayer->autoyaimenabled = enabled;
}
bool currentPlayerIsAutoAimYEnabled(void)
{

View File

@ -5,7 +5,7 @@
u32 func0f0c79f0(void);
u32 func0f0c7a00(void);
u32 func0f0c7a20(void);
void currentPlaySetAutoAimY(bool enabled);
bool currentPlayerIsAutoAimYEnabled(void);
u32 func0f0c7a8c(void);
u32 func0f0c7af0(void);