1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-23 07:21:19 +00:00

Decompile code_801067F0, 80106860, 801068B0 (#89)

* Decompile code_801067F0, 80106860, 801068B0

* clang format

* Remove unnecessary casts
This commit is contained in:
Synray 2020-04-23 01:59:25 -07:00 committed by GitHub
parent 0a59863457
commit 4d3d264624
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 61 additions and 159 deletions

13
src/code/code_801067F0.c Normal file
View file

@ -0,0 +1,13 @@
#include <ultra64.h>
#include <global.h>
// fmodf? unused
f32 func_801067F0(f32 arg0, f32 arg1) {
s32 sp4;
if (arg1 == 0.0f) {
return 0.0f;
}
sp4 = arg0 / arg1;
return arg0 - (sp4 * arg1);
}