core2/code_67650.c done
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
</mask>
|
||||
<g mask="url(#anybadge_1)">
|
||||
<path fill="#555" d="M0 0h44v20H0z"/>
|
||||
<path fill="#67e000" d="M44 0h67v20H44z"/>
|
||||
<path fill="#66e000" 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">77.0566%</text>
|
||||
<text x="77.5" y="14">77.0566%</text>
|
||||
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">77.1244%</text>
|
||||
<text x="77.5" y="14">77.1244%</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">81.6280%</text>
|
||||
<text x="183.5" y="14">81.6280%</text>
|
||||
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">81.6669%</text>
|
||||
<text x="183.5" y="14">81.6669%</text>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -88,8 +88,22 @@ void func_802E4C78(void){
|
||||
D_8037E900 = NULL;
|
||||
}
|
||||
|
||||
extern s32 func_802E4CF8(u8);
|
||||
#ifndef NONMATCHING
|
||||
s32 func_802E4CF8(u8);
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_5DBC0/func_802E4CF8.s")
|
||||
#else
|
||||
s32 func_802E4CF8(u8 arg0) {
|
||||
s32 var_v1;
|
||||
|
||||
for(var_v1 = D_8037E900->unk10 - 1; var_v1 >= 0; var_v1--){
|
||||
if (arg0 == D_8037E900->unk4[var_v1].unk4) {
|
||||
return var_v1;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
BKSpriteTextureBlock *func_802E4D5C(s32 arg0, char arg1){
|
||||
return D_8037E900->unk4[arg0].unk8[arg1 - 0x21];
|
||||
|
@@ -41,4 +41,46 @@ void func_802EE684(void) {
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_67650/func_802EE6CC.s")
|
||||
void func_802EE6CC(f32 position[3], f32 velocity[3], s32 color[4], s32 arg3, f32 arg4, f32 arg5, s32 arg6, s32 arg7, s32 arg8) {
|
||||
s32 pad54;
|
||||
s32 pad50;
|
||||
s32 pad4C;
|
||||
f32 sp40[3];
|
||||
s32 sp3C;
|
||||
ParticleEmitter *p_ctrl;
|
||||
|
||||
sp3C = 0x28;
|
||||
p_ctrl = func_802F0EF0(D_80380910[arg8]);
|
||||
particleEmitter_setSprite(p_ctrl, D_80368930[arg8]);
|
||||
func_802EFA5C(p_ctrl, 0.075f, 0.4f);
|
||||
particleEmitter_setPosition(p_ctrl, position);
|
||||
particleEmitter_setSpawnIntervalRange(p_ctrl, 0.0f, 0.0f);
|
||||
func_802EFA78(p_ctrl, 1);
|
||||
if (velocity != NULL) {
|
||||
ml_vec3f_scale_copy(sp40, velocity, 30.0f);
|
||||
} else {
|
||||
sp40[0] = sp40[1] = sp40[2] = 0.0f;
|
||||
}
|
||||
|
||||
if (arg5 != 0.0) {
|
||||
sp40[1] += arg5 / arg4;
|
||||
}
|
||||
particleEmitter_setParticleVelocityRange(p_ctrl, sp40[0], sp40[1], sp40[2], sp40[0], sp40[1], sp40[2]);
|
||||
if (color != NULL) {
|
||||
func_802EFFA8(p_ctrl, color);
|
||||
func_802EF9E4(p_ctrl, color[3]);
|
||||
}
|
||||
if (arg3 == 0) {
|
||||
sp3C = 0x38;
|
||||
}
|
||||
func_802EFA70(p_ctrl, sp3C);
|
||||
func_802EFEC0(p_ctrl, arg4, arg4);
|
||||
func_802EFB70(p_ctrl, arg6 / 175.0, arg6 / 175.0);
|
||||
func_802EFB84(p_ctrl, (arg6 + arg7) / 175.0, (arg6 + arg7) / 175.0);
|
||||
if (arg8 == 0) {
|
||||
particleEmitter_setParticleFramerateRange(p_ctrl, (15.0 / arg4), (15.0 / arg4));
|
||||
} else {
|
||||
particleEmitter_setStartingFrameRange(p_ctrl, 0, 0xC);
|
||||
}
|
||||
particleEmitter_emitN(p_ctrl, 1);
|
||||
}
|
||||
|
@@ -719,7 +719,7 @@ segments:
|
||||
- [0xF0180, .rodata, code_5C870]
|
||||
- [0xF01F0, bin, data_F01F0] #.rodata, code_5FD90]
|
||||
- [0xF0200, .rodata, code_66FB0]
|
||||
- [0xF0210, bin, data_F0210]
|
||||
- [0xF0210, .rodata, code_67650]
|
||||
- [0xF0220, .rodata, code_679A0]
|
||||
- [0xF0240, bin, data_F0240]
|
||||
- [0xF0280, .rodata, code_6CEC0]
|
||||
|
Reference in New Issue
Block a user