func_8025276C() match

This commit is contained in:
Banjo Kazooie
2023-01-08 18:03:29 -06:00
parent 08dfc93d17
commit db4c83055f
4 changed files with 37 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
# banjo (97.7499%) # banjo (97.7837%)
<img src="./progress/progress_total.svg"> <img src="./progress/progress_total.svg">

View File

@@ -9,7 +9,7 @@
</mask> </mask>
<g mask="url(#anybadge_1)"> <g mask="url(#anybadge_1)">
<path fill="#555" d="M0 0h44v20H0z"/> <path fill="#555" d="M0 0h44v20H0z"/>
<path fill="#0fe000" d="M44 0h67v20H44z"/> <path fill="#0ee000" d="M44 0h67v20H44z"/>
<path fill="url(#b)" d="M0 0h111v20H0z"/> <path fill="url(#b)" d="M0 0h111v20H0z"/>
</g> </g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
@@ -17,7 +17,7 @@
<text x="22.0" y="14">core1</text> <text x="22.0" y="14">core1</text>
</g> </g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">96.5630%</text> <text x="78.5" y="15" fill="#010101" fill-opacity=".3">96.7959%</text>
<text x="77.5" y="14">96.5630%</text> <text x="77.5" y="14">96.7959%</text>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -17,7 +17,7 @@
<text x="75.0" y="14">Banjo-Kazooie (us.v10)</text> <text x="75.0" y="14">Banjo-Kazooie (us.v10)</text>
</g> </g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">97.7499%</text> <text x="184.5" y="15" fill="#010101" fill-opacity=".3">97.7837%</text>
<text x="183.5" y="14">97.7499%</text> <text x="183.5" y="14">97.7837%</text>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -403,7 +403,37 @@ void mlMtx_apply_vec3s(s16 dst[3], s16 src[3]) {
dst[2] = (spC[2] >= 0.0) ? spC[2] + 0.5 : spC[2] - 0.5; dst[2] = (spC[2] >= 0.0) ? spC[2] + 0.5 : spC[2] - 0.5;
} }
#pragma GLOBAL_ASM("asm/nonmatchings/core1/code_13990/func_8025276C.s") void func_8025276C(s32 arg0[3], s32 arg1[3], s32 arg2[3], s32 arg3[3]) {
s32 var_t0;
s32 j;
f32 sp48[8][3];
f32 *ptr = sp48[0];
for(var_t0 = 0; var_t0 < 8; var_t0++){
ptr[0] = (var_t0 & 1) ? arg3[0] : arg2[0];
ptr[1] = (var_t0 & 2) ? arg3[1] : arg2[1];
ptr[2] = (var_t0 & 4) ? arg3[2] : arg2[2];
ptr+=3;
}
for(var_t0 = 0; var_t0 < 8; var_t0++){
func_8025235C(sp48[var_t0], sp48[var_t0]);
}
for(var_t0 = 0; var_t0< 3; var_t0++){
arg0[var_t0] = arg1[var_t0] = sp48[0][var_t0];
}
for(var_t0 = 1; var_t0 < 8; var_t0++){
for(j = 0; j < 3; j++){
if(sp48[var_t0][j] < arg0[j]){
arg0[j] = sp48[var_t0][j];
} else if (arg1[j] < sp48[var_t0][j]){
arg1[j] = sp48[var_t0][j];
}
}
}
}
void mlMtxTranslate(f32 x, f32 y, f32 z) { void mlMtxTranslate(f32 x, f32 y, f32 z) {
f32 *temp_t6; f32 *temp_t6;