core2/code_7AF80.c func_80305D94.c done
This commit is contained in:
parent
9187a22da6
commit
ebdd7836a5
|
@ -1,4 +1,4 @@
|
|||
# banjo (94.2550%)
|
||||
# banjo (94.2875%)
|
||||
|
||||
<img src="./progress/progress_total.svg">
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</mask>
|
||||
<g mask="url(#anybadge_1)">
|
||||
<path fill="#555" d="M0 0h44v20H0z"/>
|
||||
<path fill="#20e000" d="M44 0h67v20H44z"/>
|
||||
<path fill="#1fe000" 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">core2</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">92.9382%</text>
|
||||
<text x="77.5" y="14">92.9382%</text>
|
||||
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">92.9949%</text>
|
||||
<text x="77.5" y="14">92.9949%</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">94.2550%</text>
|
||||
<text x="183.5" y="14">94.2550%</text>
|
||||
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">94.2875%</text>
|
||||
<text x="183.5" y="14">94.2875%</text>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
@ -321,6 +321,7 @@ void *func_80254BD0(s32 *size, u32 arg1) {
|
|||
while(arg1 != 0){
|
||||
var_v1 = var_v1->prev_free;
|
||||
if (var_v1 == &D_8002D500[0]) {
|
||||
//less than n blocks
|
||||
return NULL;
|
||||
}
|
||||
arg1--;
|
||||
|
|
|
@ -1236,21 +1236,20 @@ Actor * func_803055E0(enum actor_e arg0, s32 arg1[3], s32 arg2, s32 arg3, s32 ar
|
|||
return actor;
|
||||
}
|
||||
|
||||
|
||||
#ifndef NONMATCHING
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_7AF80/func_803056FC.s")
|
||||
#else
|
||||
Actor *func_803056FC(enum actor_e arg0, s32 arg1[3], s32 arg2) {
|
||||
Actor *func_803056FC(enum actor_e arg0, s32 arg1[3], s32 arg2)
|
||||
{
|
||||
s32 i;
|
||||
|
||||
arg0 = !func_80320248() ? ACTOR_4_BIGBUTT : arg0;
|
||||
for(i=0; i < sSpawnableActorSize; i++){
|
||||
if(arg0 == sSpawnableActorList[i].infoPtr->actorId)
|
||||
return sSpawnableActorList[i].spawnFunc(arg1, arg2, sSpawnableActorList[i].infoPtr, sSpawnableActorList[i].unk8);
|
||||
arg0 = (!func_80320248()) ? (ACTOR_4_BIGBUTT) : (arg0);
|
||||
for (i = 0; i < sSpawnableActorSize; i++)
|
||||
{
|
||||
if (arg0 == sSpawnableActorList[i].infoPtr->actorId)
|
||||
{
|
||||
return sSpawnableActorList[i].spawnFunc(arg1, arg2, ((0, sSpawnableActorList[i])).infoPtr, sSpawnableActorList[i].unk8);
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
void func_8030578C(void){
|
||||
int i;
|
||||
|
@ -1375,14 +1374,14 @@ void func_80305D38(void){
|
|||
D_8036A9D0 = 0;
|
||||
}
|
||||
|
||||
#ifndef NONMATCHING
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_7AF80/func_80305D94.s")
|
||||
#else
|
||||
void func_80305D94(void){
|
||||
s32 j;
|
||||
Struct_core2_7AF80_1 *iPtr;
|
||||
Struct_core2_7AF80_1 *end_ptr;
|
||||
unsigned int j;
|
||||
if(D_8036A9BC != NULL){
|
||||
for(j = 0; j < D_8036A9B8; j++){
|
||||
free(D_8036A9BC[j].unk8);
|
||||
end_ptr = &D_8036A9BC[D_8036A9B8];
|
||||
for(iPtr = D_8036A9BC; iPtr < end_ptr; iPtr++){
|
||||
free(iPtr->unk8);
|
||||
}
|
||||
free(D_8036A9BC);
|
||||
D_8036A9BC = NULL;
|
||||
|
@ -1390,8 +1389,9 @@ void func_80305D94(void){
|
|||
}
|
||||
|
||||
if(D_8036A9C8 != NULL){
|
||||
for(j = 0; j < D_8036A9C4; j++){
|
||||
free(D_8036A9C8[j].unk8);
|
||||
end_ptr = &D_8036A9C8[D_8036A9C4];
|
||||
for(iPtr = D_8036A9C8; iPtr < end_ptr; iPtr++){
|
||||
free(iPtr->unk8);
|
||||
}
|
||||
free(D_8036A9C8);
|
||||
D_8036A9C8 = NULL;
|
||||
|
@ -1399,15 +1399,15 @@ void func_80305D94(void){
|
|||
}
|
||||
|
||||
if(D_8036A9D4 != NULL){
|
||||
for(j = 0; j < D_8036A9D0; j++){
|
||||
free(D_8036A9D4[j].unk8);
|
||||
end_ptr = &D_8036A9D4[D_8036A9D0];
|
||||
for(iPtr = D_8036A9D4; iPtr < end_ptr; iPtr++){
|
||||
free(iPtr->unk8);
|
||||
}
|
||||
free(D_8036A9D4);
|
||||
D_8036A9D0 = 0;
|
||||
D_8036A9D4 = NULL;
|
||||
D_8036A9D0 = 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void func_80305F04(s32 *arg0, Struct_core2_7AF80_1 **arg1) {
|
||||
bool continue_loop;
|
||||
|
|
Loading…
Reference in New Issue