Decompile func0002dc18

This commit is contained in:
Ryan Dwyer 2021-05-09 13:32:48 +10:00
parent 400d338a17
commit 7461bcf32e
2 changed files with 5 additions and 13 deletions

View File

@ -92,7 +92,7 @@ s32 cdTestAToB3(struct coord *arg0, s16 *arg1, struct coord *arg2, s16 *arg3, f3
u32 func0002da50(void);
u32 func0002dac8(void);
bool func0002db98(struct coord *viewpos, s16 *rooms, struct coord *targetpos, s32 arg3, u32 arg4);
u32 func0002dc18(struct coord *coord, s16 *room, struct coord *coord2, s32 arg3);
bool func0002dc18(struct coord *coord, s16 *rooms, struct coord *coord2, s32 arg3);
bool hasLineOfSight(struct coord *coord, s16 *room, struct coord *coord2, s16 *room2, s32 arg4, s32 arg5);
bool func0002dcd0(struct coord *arg0, s16 *rooms1, struct coord *arg2, s16 *rooms2, u32 arg4);
bool func0002dcfc(struct coord *pos, s16 *rooms, struct coord *pos2, s16 *rooms2, s16 *rooms3, u32 arg5, u32 arg6);

View File

@ -9976,18 +9976,10 @@ glabel func0002db98
/* 2dc14: 00000000 */ nop
);
GLOBAL_ASM(
glabel func0002dc18
/* 2dc18: 27bdffe0 */ addiu $sp,$sp,-32
/* 2dc1c: afbf001c */ sw $ra,0x1c($sp)
/* 2dc20: 240e001c */ addiu $t6,$zero,0x1c
/* 2dc24: 0c00b6e6 */ jal func0002db98
/* 2dc28: afae0010 */ sw $t6,0x10($sp)
/* 2dc2c: 8fbf001c */ lw $ra,0x1c($sp)
/* 2dc30: 27bd0020 */ addiu $sp,$sp,0x20
/* 2dc34: 03e00008 */ jr $ra
/* 2dc38: 00000000 */ nop
);
bool func0002dc18(struct coord *coord, s16 *rooms, struct coord *coord2, s32 arg3)
{
return func0002db98(coord, rooms, coord2, arg3, 0x1c);
}
GLOBAL_ASM(
glabel hasLineOfSight