From d4ba1d723e4c6fa9a7b21d66adcca734e4f5f32c Mon Sep 17 00:00:00 2001 From: gijs Date: Thu, 19 Oct 2023 19:10:19 +0200 Subject: [PATCH] Decompile `func_8007FD10` --- src/_ob_ambitious_fold.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/_ob_ambitious_fold.c b/src/_ob_ambitious_fold.c index 0e9882e..2ef42e0 100644 --- a/src/_ob_ambitious_fold.c +++ b/src/_ob_ambitious_fold.c @@ -3,13 +3,12 @@ /* 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(); + temp_s0_2 = + ((obGetCurrentTime() << 0x12) & 0x0C000000) | + (obGetCurrentTime() << 0xF) | + obGetCurrentTime(); var_f4 = (f64) temp_s0_2; if (temp_s0_2 < 0) { var_f4 += 4294967296.0;