Decompile skySetStageNum

This commit is contained in:
Ryan Dwyer 2021-06-13 22:17:21 +10:00
parent 6f89090383
commit bcc85aa771
3 changed files with 9 additions and 10 deletions

View File

@ -6042,7 +6042,7 @@ glabel var7f1b75d0
/* f15c7f0: 55c0fff9 */ bnezl $t6,.L0f15c7d8
/* f15c7f4: 90590006 */ lbu $t9,0x6($v0)
.L0f15c7f8:
/* f15c7f8: 0fc597b9 */ jal func0f165ee4
/* f15c7f8: 0fc597b9 */ jal skySetStageNum
/* f15c7fc: 8fa40148 */ lw $a0,0x148($sp)
/* f15c800: 241900c8 */ addiu $t9,$zero,0xc8
/* f15c804: 3c018008 */ lui $at,%hi(var8007fc10)
@ -7104,7 +7104,7 @@ glabel var7f1b75d0
/* f15c5ac: 55c0fff9 */ bnezl $t6,.L0f15c594
/* f15c5b0: 90590006 */ lbu $t9,0x6($v0)
.L0f15c5b4:
/* f15c5b4: 0fc59729 */ jal func0f165ee4
/* f15c5b4: 0fc59729 */ jal skySetStageNum
/* f15c5b8: 8fa40148 */ lw $a0,0x148($sp)
/* f15c5bc: 241900c8 */ addiu $t9,$zero,0xc8
/* f15c5c0: 3c018008 */ lui $at,%hi(var8007fc10)
@ -8166,7 +8166,7 @@ glabel var7f1b75d0
/* f156f40: 55c0fff9 */ bnezl $t6,.NB0f156f28
/* f156f44: 90590006 */ lbu $t9,0x6($v0)
.NB0f156f48:
/* f156f48: 0fc581b9 */ jal func0f165ee4
/* f156f48: 0fc581b9 */ jal skySetStageNum
/* f156f4c: 8fa40148 */ lw $a0,0x148($sp)
/* f156f50: 241900c8 */ addiu $t9,$zero,0xc8
/* f156f54: 3c018008 */ lui $at,0x8008
@ -8600,7 +8600,7 @@ glabel var7f1b75d0
// }
//
// // 7f8
// func0f165ee4(stagenum);
// skySetStageNum(stagenum);
//
// var8007fc10 = 200;
//

View File

@ -495,11 +495,10 @@ glabel func0f165c4c
/* f165ee0: e440004c */ swc1 $f0,0x4c($v0)
);
GLOBAL_ASM(
glabel func0f165ee4
/* f165ee4: 03e00008 */ jr $ra
/* f165ee8: afa40000 */ sw $a0,0x0($sp)
);
void skySetStageNum(s32 stagenum)
{
// empty
}
void func0f165eec(s32 stagenum, bool arg1)
{

View File

@ -9,7 +9,7 @@ f32 func0f1657e4(void);
void func0f1657f8(void);
void func0f16598c(struct smallsky *sky);
void func0f165c4c(struct sky *sky);
void func0f165ee4(s32 stagenum);
void skySetStageNum(s32 stagenum);
void func0f165eec(s32 stagenum, bool arg1);
void func0f1660a4(f32 arg0);
Gfx *func0f1664a0(Gfx *gdl, u32 arg1);