core2/code_75E90.c done

This commit is contained in:
Banjo Kazooie
2022-10-17 13:59:23 -05:00
parent d6d4b4aebe
commit 422fb815fb
5 changed files with 20 additions and 30 deletions

View File

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

View File

@@ -17,7 +17,7 @@
<text x="22.0" y="14">core2</text> <text x="22.0" y="14">core2</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">89.1135%</text> <text x="78.5" y="15" fill="#010101" fill-opacity=".3">89.1369%</text>
<text x="77.5" y="14">89.1135%</text> <text x="77.5" y="14">89.1369%</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">91.3263%</text> <text x="184.5" y="15" fill="#010101" fill-opacity=".3">91.3398%</text>
<text x="183.5" y="14">91.3263%</text> <text x="183.5" y="14">91.3398%</text>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -34,38 +34,28 @@ void func_802FCE88(void){
} }
} }
#ifndef NONMATCHING
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_75E90/func_802FCECC.s")
#else
void func_802FCECC(struct8s *arg0) { void func_802FCECC(struct8s *arg0) {
s32 temp_a1; s32 var_v0;
s32 temp_t9; struct8s *sp20;
s32 var_v1;
struct8s **var_v0;
void **var_v0_2;
struct8s *temp_a0;
struct8s *sp18;
for(var_v1 = 0; var_v1 < D_80369914; var_v1++){ for(var_v0 = 0; var_v0 < D_80369914; var_v0++){
temp_a0 = D_80381590[var_v1]; if (arg0 == D_80381590[var_v0]) {
if (arg0 == temp_a0) { sp20 = D_80381590[0];
sp18 = D_80381590[0]; func_802FB020(D_80381590[var_v0], 1);
func_802FB020(temp_a0, 1); sp20->unk10 = 3.0f;
sp18->unk10 = 3.0f;
if (sp18->unk18 == 0) { if (sp20->unk18 == 0) {
sp18->unk1C = 0.0f; sp20->unk1C = 0.0f;
} }
break; return;
} }
} }
var_v0 = D_80381590 + D_80369914; for(var_v0 = D_80369914; var_v0> 0; var_v0--) {
for(var_v1 = 0; var_v1 < D_80369914; var_v1++){ D_80381590[var_v0] = D_80381590[var_v0-1];
var_v0[-var_v1] = var_v0[-(var_v1 + 1)];
} }
D_80381590[0] = arg0; D_80381590[0] = arg0;
D_80369914++; D_80369914++;
} }
#endif
void func_802FCFA0(s32 arg0, struct8s *arg1){ void func_802FCFA0(s32 arg0, struct8s *arg1){
func_802FCECC(arg1); func_802FCECC(arg1);

View File

@@ -275,7 +275,7 @@ segments:
- [0x74ED0, c, code_74ED0] #DONE - [0x74ED0, c, code_74ED0] #DONE
- [0x75480, c, code_75480] #DONE - [0x75480, c, code_75480] #DONE
- [0x75930, c, code_75930] #DONE - [0x75930, c, code_75930] #DONE
- [0x75E90, c, code_75E90] - [0x75E90, c, code_75E90] #DONE
- [0x76390, c, code_76390] #DONE - [0x76390, c, code_76390] #DONE
- [0x763D0, c, code_763D0] #DONE - [0x763D0, c, code_763D0] #DONE
- [0x76D90, c, code_76D90] - [0x76D90, c, code_76D90]