core2/ .b.bscore2 define bss addresses in splat
This commit is contained in:
@@ -2,14 +2,42 @@
|
||||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
/* .data */
|
||||
extern s32 D_803698B4;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_75480/func_802FC410.s")
|
||||
/* .bss */
|
||||
struct8s *D_80381570[4];
|
||||
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_75480/func_802FC468.s")
|
||||
/* .code */
|
||||
f32 func_802FC410(struct8s * arg0) {
|
||||
f32 var_f2;
|
||||
s32 var_v0;
|
||||
|
||||
var_f2 = 0.0f;
|
||||
for(var_v0 = 0; var_v0 < D_803698B4; var_v0++){
|
||||
if (arg0 == D_80381570[var_v0]) {
|
||||
return var_f2;
|
||||
}
|
||||
var_f2 += 35.0f;
|
||||
}
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
void func_802FC468(void){
|
||||
s32 i = 0;
|
||||
|
||||
D_803698B4--;
|
||||
while(i < D_803698B4){
|
||||
D_80381570[i] = D_80381570[i + 1];
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_75480/func_802FC4AC.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_75480/func_802FC580.s")
|
||||
void func_802FC580(s32 arg0, struct8s * arg1){
|
||||
func_802FC4AC(arg1);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_75480/func_802FC5A4.s")
|
||||
|
||||
|
Reference in New Issue
Block a user