Decompile `func_8007FD10`
This commit is contained in:
parent
6a14ae87ed
commit
1bb8976741
|
|
@ -1,3 +1,19 @@
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
INCLUDE_ASM(const s32, "_ob_ambitious_fold", func_8007FD10);
|
/* 10110 8007FD10 */
|
||||||
|
f32 func_8007FD10(void) {
|
||||||
|
f64 var_f4;
|
||||||
|
s32 temp_s0;
|
||||||
|
s32 temp_s0_2;
|
||||||
|
s32 temp_s1;
|
||||||
|
|
||||||
|
temp_s0 = obGetCurrentTime();
|
||||||
|
temp_s1 = obGetCurrentTime();
|
||||||
|
temp_s0_2 = ((temp_s0 << 0x12) & 0x0C000000) | (temp_s1 << 0xF) | obGetCurrentTime();
|
||||||
|
var_f4 = (f64) temp_s0_2;
|
||||||
|
if (temp_s0_2 < 0) {
|
||||||
|
var_f4 += 4294967296.0;
|
||||||
|
}
|
||||||
|
return (f32) var_f4 * 2.3283064e-10f;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue