core2/sla.c done

This commit is contained in:
Banjo Kazooie
2022-11-07 16:35:32 -06:00
parent b938d44488
commit 0c465b58b2
3 changed files with 17 additions and 17 deletions

View File

@@ -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">91.4998%</text>
<text x="77.5" y="14">91.4998%</text>
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">91.5082%</text>
<text x="77.5" y="14">91.5082%</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -57,22 +57,22 @@ void *func_802EDAA4(SLA **this, s32 *arg1) {
return (s32) i_ptr;
}
#ifndef NONMATCHING
#pragma GLOBAL_ASM("asm/nonmatchings/core2/sla/func_802EDC18.s")
#else
int func_802EDC18(SLA *this, s32 arg1){
s32 tmp_v0 = this->unk4;
s16 *v1;
s32 offset;
for(v1 = (s16*)tmp_v0; *v1; ){
if(*v1 == arg1)
return 0;
v1 = (s16*)(tmp_v0 + ((s32)*v1*this->elem_size));
int func_802EDC18(SLA *this, s32 arg1)
{
u8 *tmp_v0 = this->unk4;
s16 *i_ptr;
u8 *new_var;
new_var = this->unk4;
for (i_ptr = (s16 *) new_var; *i_ptr; i_ptr = (s16 *) (((*i_ptr) * this->elem_size) + (new_var = tmp_v0)))
{
if ((*i_ptr) == arg1)
{
return 0;
}
return 1;
}
#endif
}
return 1;
}
void array_free(SLA *this){
free(this);
}

View File

@@ -245,7 +245,7 @@ segments:
- [0x654C0, c, code_654C0] #DONE
- [0x66490, c, code_66490] #DONE
- [0x66690, c, vla] #DONE
- [0x66AB0, c, sla]
- [0x66AB0, c, sla] #DONE
- [0x66D90, c, code_66D90] #DONE
- [0x66FB0, c, code_66FB0] #DONE
- [0x67490, c, gc/bound] #DONE