Yet more assorted matches (#278)

* Yet more assorted matches

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
This commit is contained in:
Tyler McGavran
2022-11-29 20:03:40 -05:00
committed by GitHub
parent a753895359
commit eeab33814d
31 changed files with 737 additions and 2065 deletions
+8 -23
View File
@@ -133,31 +133,16 @@ UNUSED void *sm64_vec3f_set(Vec3f dest, f32 x, f32 y, f32 z) {
return &dest;
}
#ifdef MIPS_TO_C
//generated by m2c commit 3b40ab93768f52ac241c5ae84ef58ef6bc4cb1de
void func_802B5350(f32 (*arg0)[4], f32 (*arg1)[4]) {
f32 (*var_a2)[4];
f32 (*var_v1)[4];
f32 temp_f6;
s32 var_v0;
void func_802B5350(Mat4 arg0, Mat4 arg1) {
s32 row;
s32 column;
var_a2 = arg0;
var_v0 = 0;
var_v1 = arg1;
do {
var_v0 += 1;
var_v1 += 0x10;
var_v1->unk-10 = (f32) var_a2[0][0];
temp_f6 = var_a2[0][1];
var_a2 += 0x10;
var_v1->unk-C = temp_f6;
var_v1->unk-8 = (f32) var_a2->unk-8;
var_v1->unk-4 = (f32) var_a2->unk-4;
} while (var_v0 != 4);
for (row = 0; row < 4; row++) {
for (column = 0; column < 4; column++) {
arg1[row][column] = arg0[row][column];
}
}
}
#else
GLOBAL_ASM("asm/non_matchings/math_util/func_802B5350.s")
#endif
// mtxf_copy
void func_802B5398(s32 *dest, s32 *src, s32 arg2) {