func_8024BE8() match, core1/code_3A70.c done
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# banjo (97.0502%)
|
||||
# banjo (97.1239%)
|
||||
|
||||
<img src="./progress/progress_total.svg">
|
||||
|
||||
|
@@ -151,7 +151,7 @@ segments:
|
||||
- [0xF1C1F0, c, code_2FA0] #DONE
|
||||
- [0xF1C410, c, code_31C0] #DONE
|
||||
- [0xF1C4A0, c, code_3250] #DONE
|
||||
- [0xF1CCC0, c, code_3A70]
|
||||
- [0xF1CCC0, c, code_3A70] #DONE
|
||||
- [0xF1E8A0, c, code_5650]
|
||||
- [0xF202E0, c, code_7090] #DONE
|
||||
- [0xF20500, c, code_72B0] #DONE
|
||||
|
@@ -9,7 +9,7 @@
|
||||
</mask>
|
||||
<g mask="url(#anybadge_1)">
|
||||
<path fill="#555" d="M0 0h44v20H0z"/>
|
||||
<path fill="#12e000" d="M44 0h67v20H44z"/>
|
||||
<path fill="#0fe000" d="M44 0h67v20H44z"/>
|
||||
<path fill="url(#b)" d="M0 0h111v20H0z"/>
|
||||
</g>
|
||||
<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>
|
||||
</g>
|
||||
<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.0549%</text>
|
||||
<text x="77.5" y="14">96.0549%</text>
|
||||
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">96.5630%</text>
|
||||
<text x="77.5" y="14">96.5630%</text>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
@@ -17,7 +17,7 @@
|
||||
<text x="75.0" y="14">Banjo-Kazooie (us.v10)</text>
|
||||
</g>
|
||||
<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.0502%</text>
|
||||
<text x="183.5" y="14">97.0502%</text>
|
||||
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">97.1239%</text>
|
||||
<text x="183.5" y="14">97.1239%</text>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -202,53 +202,27 @@ void func_802424D4(Gfx **gfx, Mtx **mtx, Vtx **vtx, f32 arg3[3], f32 arg4[3], f3
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef NONMATCHING
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core1/code_3A70/func_80242BE8.s")
|
||||
#else
|
||||
void func_80242BE8(Gfx **gfx, Vtx **arg1, f32 arg2[2][2][2][3], s32 arg3[3], s32 *arg4, s32 arg5) {
|
||||
void func_80242BE8(Gfx **gfx, Vtx **arg1, f32 arg2[2][2][2][3], s32 arg3[3], s32 *arg4, s32 arg5)
|
||||
{
|
||||
f32 sp84[3];
|
||||
f32 *temp_a0;
|
||||
f32 *var_v0;
|
||||
f32 temp_f12;
|
||||
f32 var_f18;
|
||||
s32 temp_a2;
|
||||
s32 var_a2;
|
||||
s32 var_a3;
|
||||
s32 var_t2;
|
||||
s32 var_v1;
|
||||
void *temp_v0;
|
||||
void *temp_v0_10;
|
||||
void *temp_v0_11;
|
||||
void *temp_v0_12;
|
||||
void *temp_v0_13;
|
||||
void *temp_v0_14;
|
||||
void *temp_v0_15;
|
||||
void *temp_v0_16;
|
||||
void *temp_v0_2;
|
||||
void *temp_v0_3;
|
||||
void *temp_v0_4;
|
||||
void *temp_v0_5;
|
||||
void *temp_v0_6;
|
||||
void *temp_v0_7;
|
||||
void *temp_v0_8;
|
||||
void *temp_v0_9;
|
||||
|
||||
#define var_v0 ((f32*)((u8*)arg2 + (i << 2) * sizeof(f32[3]) + (j << 1) * sizeof(f32[3]) + k * sizeof(f32[3])))
|
||||
s32 i;
|
||||
s32 j;
|
||||
s32 k;
|
||||
func_8024C5CC(sp84);
|
||||
gSPDisplayList((*gfx)++, D_80275880);
|
||||
var_t2 = 0;
|
||||
if (arg5){
|
||||
gSPSetGeometryMode((*gfx)++, G_CULL_BACK);
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
gSPSetGeometryMode((*gfx)++, G_CULL_FRONT);
|
||||
}
|
||||
gSPVertex((*gfx)++, *arg1, 8, 0);
|
||||
for(var_t2 = 0; var_t2 < 2; var_t2++){
|
||||
for(var_a3 = 0; var_a3 < 2; var_a3++){
|
||||
for(var_v1 = 0; var_v1 < 2; var_v1++){
|
||||
(*arg1)->v.ob[0] = arg2[var_t2][var_a3][var_v1][0] - sp84[0];
|
||||
(*arg1)->v.ob[1] = arg2[var_t2][var_a3][var_v1][1] - sp84[1];
|
||||
(*arg1)->v.ob[2] = arg2[var_t2][var_a3][var_v1][2] - sp84[2];
|
||||
for(i = 0; i < 2; i++){
|
||||
for(j = 0; j < 2; j++){
|
||||
for(k = 0; k < 2; k++){
|
||||
(*arg1)->v.ob[0] = var_v0[0] - sp84[0];
|
||||
(*arg1)->v.ob[1] = var_v0[1] - sp84[1];
|
||||
(*arg1)->v.ob[2] = var_v0[2] - sp84[2];
|
||||
(*arg1)->v.flag = 0;
|
||||
(*arg1)->v.tc[0] = 0;
|
||||
(*arg1)->v.tc[1] = 0;
|
||||
@@ -260,19 +234,19 @@ void func_80242BE8(Gfx **gfx, Vtx **arg1, f32 arg2[2][2][2][3], s32 arg3[3], s32
|
||||
}
|
||||
}
|
||||
}
|
||||
#undef var_v0
|
||||
gDPPipeSync((*gfx)++);
|
||||
gDPSetPrimColor((*gfx)++, 0, 0, arg3[0], arg3[1], arg3[2], *arg4);
|
||||
gDPSetPrimColor((*gfx)++, 0, 0, arg3[0], arg3[1], arg3[2], arg4[0]);
|
||||
gSP2Triangles((*gfx)++, 7, 3, 5, 0, 5, 3, 1, 0);
|
||||
gSP1Quadrangle((*gfx)++, 6, 4, 0, 2, 0);
|
||||
|
||||
gDPPipeSync((*gfx)++);
|
||||
gDPSetPrimColor((*gfx)++, 0, 0, arg3[0], arg3[1], arg3[2], *arg4);
|
||||
gDPSetPrimColor((*gfx)++, 0, 0, arg3[0], arg3[1], arg3[2], arg4[1]);
|
||||
gSP1Quadrangle((*gfx)++, 7, 6, 2, 3, 0);
|
||||
gSP2Triangles((*gfx)++, 4, 5, 0, 0, 5, 1, 0, 0);
|
||||
|
||||
gDPPipeSync((*gfx)++);
|
||||
gDPSetPrimColor((*gfx)++, 0, 0, arg3[0], arg3[1], arg3[2], *arg4);
|
||||
gDPSetPrimColor((*gfx)++, 0, 0, arg3[0], arg3[1], arg3[2], arg4[2]);
|
||||
gSP1Quadrangle((*gfx)++, 5, 4, 6, 7, 0);
|
||||
gSP2Triangles((*gfx)++, 0, 1, 2, 0, 1, 3, 2, 0);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user