core2/sla.c done
This commit is contained in:
@@ -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">91.4998%</text>
|
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">91.5082%</text>
|
||||||
<text x="77.5" y="14">91.4998%</text>
|
<text x="77.5" y="14">91.5082%</text>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
@@ -57,22 +57,22 @@ void *func_802EDAA4(SLA **this, s32 *arg1) {
|
|||||||
return (s32) i_ptr;
|
return (s32) i_ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NONMATCHING
|
int func_802EDC18(SLA *this, s32 arg1)
|
||||||
#pragma GLOBAL_ASM("asm/nonmatchings/core2/sla/func_802EDC18.s")
|
{
|
||||||
#else
|
u8 *tmp_v0 = this->unk4;
|
||||||
int func_802EDC18(SLA *this, s32 arg1){
|
s16 *i_ptr;
|
||||||
s32 tmp_v0 = this->unk4;
|
u8 *new_var;
|
||||||
s16 *v1;
|
new_var = this->unk4;
|
||||||
s32 offset;
|
for (i_ptr = (s16 *) new_var; *i_ptr; i_ptr = (s16 *) (((*i_ptr) * this->elem_size) + (new_var = tmp_v0)))
|
||||||
for(v1 = (s16*)tmp_v0; *v1; ){
|
{
|
||||||
if(*v1 == arg1)
|
if ((*i_ptr) == arg1)
|
||||||
return 0;
|
{
|
||||||
v1 = (s16*)(tmp_v0 + ((s32)*v1*this->elem_size));
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
}
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
void array_free(SLA *this){
|
void array_free(SLA *this){
|
||||||
free(this);
|
free(this);
|
||||||
}
|
}
|
||||||
|
@@ -245,7 +245,7 @@ segments:
|
|||||||
- [0x654C0, c, code_654C0] #DONE
|
- [0x654C0, c, code_654C0] #DONE
|
||||||
- [0x66490, c, code_66490] #DONE
|
- [0x66490, c, code_66490] #DONE
|
||||||
- [0x66690, c, vla] #DONE
|
- [0x66690, c, vla] #DONE
|
||||||
- [0x66AB0, c, sla]
|
- [0x66AB0, c, sla] #DONE
|
||||||
- [0x66D90, c, code_66D90] #DONE
|
- [0x66D90, c, code_66D90] #DONE
|
||||||
- [0x66FB0, c, code_66FB0] #DONE
|
- [0x66FB0, c, code_66FB0] #DONE
|
||||||
- [0x67490, c, gc/bound] #DONE
|
- [0x67490, c, gc/bound] #DONE
|
||||||
|
Reference in New Issue
Block a user