core2/ .b.bscore2 define bss addresses in splat
This commit is contained in:
@@ -3,7 +3,26 @@
|
||||
#include "variables.h"
|
||||
|
||||
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_75930/func_802FC8C0.s")
|
||||
/* .data */
|
||||
extern s32 D_803698E4;
|
||||
|
||||
/* .bss */
|
||||
struct8s *D_80381580[4];
|
||||
|
||||
/* .code */
|
||||
f32 func_802FC8C0(struct8s * arg0) {
|
||||
f32 var_f2;
|
||||
s32 var_v0;
|
||||
|
||||
var_f2 = 0.0f;
|
||||
for(var_v0 = 0; var_v0 < D_803698E4; var_v0++){
|
||||
if (arg0 == D_80381580[var_v0]) {
|
||||
return var_f2;
|
||||
}
|
||||
var_f2 += 48.0f;
|
||||
}
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_75930/func_802FC918.s")
|
||||
|
||||
|
Reference in New Issue
Block a user