Attempt to decompile func0f08e9e4
This commit is contained in:
parent
d090a9a713
commit
bed043c776
|
|
@ -46325,6 +46325,22 @@ glabel var7f1ab170
|
|||
/* f08ea4c: 00601025 */ or $v0,$v1,$zero
|
||||
);
|
||||
|
||||
// Goal ASM loads the address of cam_pos an extra time for no reason
|
||||
//bool func0f08e9e4(struct coord *arg)
|
||||
//{
|
||||
// f32 x = arg->x - g_Vars.currentplayer->cam_pos.x;
|
||||
// f32 y = arg->y - g_Vars.currentplayer->cam_pos.y;
|
||||
// f32 z = arg->z - g_Vars.currentplayer->cam_pos.z;
|
||||
// f32 aggregate = x * x + y * y + z * z;
|
||||
// bool result = true;
|
||||
//
|
||||
// if (aggregate > 1024000000) {
|
||||
// result = false;
|
||||
// }
|
||||
//
|
||||
// return result;
|
||||
//}
|
||||
|
||||
GLOBAL_ASM(
|
||||
glabel func0f08ea50
|
||||
/* f08ea50: 27bdff18 */ addiu $sp,$sp,-232
|
||||
|
|
|
|||
|
|
@ -314,7 +314,7 @@ u32 func0f08e5a8(void);
|
|||
u32 func0f08e6bc(void);
|
||||
u32 func0f08e794(void);
|
||||
u32 func0f08e8ac(void);
|
||||
u32 func0f08e9e4(void);
|
||||
bool func0f08e9e4(struct coord *arg);
|
||||
void func0f08ea50(struct doorobj *door);
|
||||
bool func0f08ed74(struct doorobj *door);
|
||||
u32 func0f08f11c(void);
|
||||
|
|
|
|||
Loading…
Reference in New Issue