WIP Removed all defined or auto undefined symbols (not matching)
This commit is contained in:
@@ -1 +0,0 @@
|
||||
char pad_FP_803935A8[0x20];
|
@@ -29,8 +29,8 @@ ActorInfo D_80391318 = { MARKER_AA_HISTUP, ACTOR_11C_HISTUP, ASSET_3DE_MODEL_HIS
|
||||
extern struct {
|
||||
s32 unk0;
|
||||
s32 unk4;
|
||||
s32 unk8;
|
||||
}GV_D_80391AB0;
|
||||
extern s32 D_80391AB8;
|
||||
|
||||
/* .code */
|
||||
int func_8038D920(Actor *this, f32 arg1){
|
||||
@@ -114,7 +114,7 @@ void func_8038DBDC(Actor *this){
|
||||
actor_collisionOff(this);
|
||||
subaddie_set_state_with_direction(this, 1, 0.99f, 0);
|
||||
animctrl_setPlaybackType(this->animctrl, ANIMCTRL_STOPPED);
|
||||
D_80391AB8 = 0;
|
||||
GV_D_80391AB0.unk8 = 0;
|
||||
func_8038DB4C(0);
|
||||
this->unk1C[0] = 0.0f;
|
||||
}//L8038DC90
|
||||
@@ -134,7 +134,7 @@ void func_8038DBDC(Actor *this){
|
||||
case 2: //8038DD3C
|
||||
if(!(func_8038E178() < 5)){
|
||||
func_8038DB88(this);
|
||||
if(D_80391AB8){
|
||||
if(GV_D_80391AB0.unk8){
|
||||
subaddie_set_state_with_direction(this, 3, 0.99f, 0);
|
||||
animctrl_setPlaybackType(this->animctrl, ANIMCTRL_STOPPED);
|
||||
this->unk1C[0] = 0.0f;
|
||||
@@ -196,7 +196,7 @@ void func_8038DBDC(Actor *this){
|
||||
animctrl_setDuration(this->animctrl, 1.6f);
|
||||
func_80386608();
|
||||
func_8038DB4C(0);
|
||||
D_80391AB8 = FALSE;
|
||||
GV_D_80391AB0.unk8 = FALSE;
|
||||
func_8025A58C(-1, 0x190);
|
||||
func_8025A7DC(COMUSIC_27_GV_RUBEES_SONG);
|
||||
if(!this->unk44_31){
|
||||
|
@@ -4,7 +4,7 @@
|
||||
|
||||
struct {
|
||||
s32 unk0;
|
||||
u8 pad4[4];
|
||||
s32 unk4;
|
||||
s32 unk8;
|
||||
}GV_D_80391AB0;
|
||||
|
||||
|
@@ -1 +0,0 @@
|
||||
char pad_MM_D_80389C80[0x10];
|
@@ -19,6 +19,7 @@ void func_80389598(Actor *this);
|
||||
Actor* func_80389014(ActorMarker *, Gfx **, Mtx**, Vtx** );
|
||||
|
||||
/* .bss */
|
||||
u8 MM_pad_80389C80[0x10];
|
||||
s32 MM_D_80389C90;
|
||||
|
||||
/* .data */
|
||||
|
@@ -3,7 +3,8 @@
|
||||
#include "variables.h"
|
||||
|
||||
|
||||
s32 pad_803912C0[2];
|
||||
s32 pad_803912C0[1];
|
||||
f32 __propellorTimer2; // TODO rematch __propellorCtrl_setState to merge this with __propellorTimer
|
||||
u8 __propellorCtrlState;
|
||||
|
||||
void __propellorCtrl_setState(s32 arg0){
|
||||
@@ -49,14 +50,12 @@ void rbb_propellorCtrl_start(void){
|
||||
}
|
||||
|
||||
void rbb_propellorCtrl_update(void){
|
||||
extern f32 __propellorTimer;
|
||||
|
||||
if( __propellorCtrlState == 0)
|
||||
if(levelSpecificFlags_get(0x27) && levelSpecificFlags_get(0x28))
|
||||
__propellorCtrl_setState(1);
|
||||
|
||||
if(__propellorCtrlState == 1)
|
||||
if(ml_timer_update(&__propellorTimer,time_getDelta()))
|
||||
if(ml_timer_update(&__propellorTimer2,time_getDelta()))
|
||||
__propellorCtrl_setState(2);
|
||||
|
||||
if(__propellorCtrlState == 2)
|
||||
|
@@ -2,12 +2,7 @@
|
||||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
|
||||
#ifndef CORE2_DATA_CRC2
|
||||
#define CORE2_DATA_CRC2 0
|
||||
#endif
|
||||
|
||||
extern s32 core2_D_803727F4;
|
||||
extern s32 D_803727F4;
|
||||
|
||||
extern struct {
|
||||
u8 pad0[4];
|
||||
@@ -32,7 +27,7 @@ typedef struct {
|
||||
f32 joystick[2];
|
||||
}Struct_core1_10A00_1;
|
||||
|
||||
extern s32 D_80276574; // = CORE2_DATA_CRC2
|
||||
extern s32 D_80276574;
|
||||
|
||||
/* .data */
|
||||
s32 D_80275D30 = 0xC3A68832; //WHAT IS THIS?
|
||||
@@ -73,7 +68,7 @@ f32 func_8024E420(s32 arg0, s32 arg1, s32 arg2) {
|
||||
f32 phi_f2;
|
||||
|
||||
phi_f2 = 0.0125f;
|
||||
if ((D_80379B90.unk4 != core2_D_803727F4) || (D_80379B90.unkC != D_80276574)) {
|
||||
if ((D_80379B90.unk4 != D_803727F4) || (D_80379B90.unkC != D_80276574)) {
|
||||
phi_f2 = 0.00625f;
|
||||
}
|
||||
if (arg0 > 0) {
|
||||
@@ -341,6 +336,10 @@ void func_8024F1F0(void){
|
||||
void func_8024F224(void){
|
||||
s32 iCont, j;
|
||||
|
||||
// for(iCont = 0; iCont < 4; iCont++){
|
||||
// D_80281250[iCont].unk0 = 0;
|
||||
// }
|
||||
|
||||
for(iCont = 0; iCont < 4; iCont++){
|
||||
D_80281250[iCont].unk0 = 0;
|
||||
D_80281250[iCont].unk2 = 0;
|
||||
|
@@ -9,8 +9,9 @@ extern void func_8025F570(ALCSPlayer *, u8);
|
||||
extern void func_8025F510(ALCSPlayer *, u8, u8);
|
||||
extern void func_8025F5C0(ALCSPlayer *, u8);
|
||||
|
||||
extern ALBankFile D_EA3EB0;
|
||||
extern ALWaveTable D_EADE60;
|
||||
extern u8 soundfont2ctl_ROM_START[];
|
||||
extern u8 soundfont2ctl_ROM_END[];
|
||||
extern u8 soundfont2tbl_ROM_START[];
|
||||
|
||||
/* dependent functions */
|
||||
void func_8024FA98(u8, enum comusic_e);
|
||||
@@ -220,10 +221,10 @@ void musicInstruments_init(void){
|
||||
s32 i;
|
||||
f32 tmpf1;
|
||||
|
||||
size = (u8*)&D_EADE60 - (u8*)&D_EA3EB0;
|
||||
size = soundfont2ctl_ROM_END - soundfont2ctl_ROM_START;
|
||||
bnk_f = malloc(size);
|
||||
osWriteBackDCacheAll();
|
||||
osPiStartDma(func_802405D0(), 0, 0, &D_EA3EB0, bnk_f, size, func_802405C4());
|
||||
osPiStartDma(func_802405D0(), 0, 0, (u32)soundfont2ctl_ROM_START, bnk_f, size, func_802405C4());
|
||||
osRecvMesg(func_802405C4(), 0, 1); //osRecvMesg
|
||||
D_80282104 = 0xAD;
|
||||
D_802820E0 = (MusicTrack **) malloc(D_80282104 * sizeof(MusicTrack *));
|
||||
@@ -242,7 +243,7 @@ void musicInstruments_init(void){
|
||||
n_alCSPNew(&D_80281720[i].cseqp, &D_802820E8);
|
||||
}
|
||||
|
||||
alBnkfNew(bnk_f, (u8 *)&D_EADE60);
|
||||
alBnkfNew(bnk_f, soundfont2tbl_ROM_START);
|
||||
D_80282108 = bnk_f->bankArray[0];
|
||||
for(i = 0; i < 6; i++){
|
||||
alCSPSetBank(&D_80281720[i].cseqp, D_80282108);
|
||||
|
@@ -9,7 +9,7 @@ f32 func_80263FF0(f32);
|
||||
f32 cosf(f32);
|
||||
|
||||
#ifndef CORE2_DATA_CRC2
|
||||
#define CORE2_DATA_CRC2 0
|
||||
#define CORE2_DATA_CRC2 0x84D7B4F8
|
||||
#endif
|
||||
|
||||
s32 D_80276570 = 0xFF62C2B8; //WHAT IS THIS?
|
||||
|
@@ -147,9 +147,9 @@ ALHeap D_8027CFF0;
|
||||
u8 * D_8027D000;
|
||||
s32 D_8027D004;
|
||||
OSMesgQueue D_8027D008;
|
||||
OSMesg D_8027D020;
|
||||
OSMesg D_8027D020[50];
|
||||
OSIoMesg D_8027D0E8;
|
||||
Struct_core1_1D00_4 D_8027D100[58];
|
||||
Struct_core1_1D00_4 D_8027D100[50];
|
||||
struct {
|
||||
u8 unk0;
|
||||
Struct_1D00_3 *unk4;
|
||||
@@ -297,7 +297,7 @@ void audioManager_create(void) {
|
||||
int i;
|
||||
f32 var_f0;
|
||||
|
||||
osCreateMesgQueue(&D_8027D008, &D_8027D020, 0x32);
|
||||
osCreateMesgQueue(&D_8027D008, D_8027D020, 50);
|
||||
osCreateMesgQueue(&audioManager.audioReplyMsgQ, audioManager.audioReplyMsgBuf, 8); //audioReplyMesgQueue
|
||||
osCreateMesgQueue(&audioManager.audioFrameMsgQ, audioManager.audioFrameMsgBuf, 8);
|
||||
var_f0 = 733.333313f;
|
||||
|
@@ -3,8 +3,10 @@
|
||||
#include "variables.h"
|
||||
|
||||
OSIoMesg D_8027E090;
|
||||
OSMesg D_8027E0A8;
|
||||
OSMesgQueue D_8027E0AC;
|
||||
struct {
|
||||
OSMesg mesg;
|
||||
OSMesgQueue queue;
|
||||
} D_8027E0A8;
|
||||
OSMesg D_8027E0C8[16]; //g_PimgrMesgBuffer
|
||||
OSMesgQueue D_8027E108; //g_PimgrMesgQueue
|
||||
|
||||
@@ -19,20 +21,20 @@ void func_802405F0(u32 * arg0, s32 arg1, s32 size){
|
||||
block_remainder = size % block_size;
|
||||
|
||||
for(i = 0; i < block_cnt; i++){
|
||||
osPiStartDma(&D_8027E090, OS_MESG_PRI_NORMAL, OS_READ, arg1, arg0, 0x20000, &D_8027E0AC);
|
||||
osRecvMesg(&D_8027E0AC, NULL, 1);
|
||||
osPiStartDma(&D_8027E090, OS_MESG_PRI_NORMAL, OS_READ, arg1, arg0, 0x20000, &D_8027E0A8.queue);
|
||||
osRecvMesg(&D_8027E0A8.queue, NULL, 1);
|
||||
arg1 += 0x20000;
|
||||
arg0 += 0x8000;
|
||||
}
|
||||
|
||||
osPiStartDma(&D_8027E090, OS_MESG_PRI_NORMAL, OS_READ, arg1, arg0, block_remainder, &D_8027E0AC);
|
||||
osRecvMesg(&D_8027E0AC, NULL, 1);
|
||||
osPiStartDma(&D_8027E090, OS_MESG_PRI_NORMAL, OS_READ, arg1, arg0, block_remainder, &D_8027E0A8.queue);
|
||||
osRecvMesg(&D_8027E0A8.queue, NULL, 1);
|
||||
osInvalDCache(arg0, size);
|
||||
|
||||
}
|
||||
|
||||
void piMgr_create(void){
|
||||
osCreateMesgQueue(&D_8027E0AC, &D_8027E0A8, 1);
|
||||
osCreateMesgQueue(&D_8027E0A8.queue, &D_8027E0A8.mesg, 1);
|
||||
osCreateMesgQueue(&D_8027E108, &D_8027E0C8[0], 16);
|
||||
osCreatePiManager(OS_PRIORITY_PIMGR, &D_8027E108, &D_8027E0C8[0], 16);
|
||||
}
|
||||
|
@@ -21,7 +21,7 @@ void func_80244978(s32 arg0, s16 type, s32 arg2);
|
||||
|
||||
N_ALSndPlayer D_8027EEC0;
|
||||
s16 *D_8027EF14;
|
||||
extern struct {
|
||||
struct {
|
||||
s32 volume[4];
|
||||
}D_8027EF18;
|
||||
|
||||
|
@@ -53,7 +53,7 @@ s32 D_80275768 = 6; //dbits
|
||||
/* .data */
|
||||
extern struct huft D_803FBE00;
|
||||
struct huft *D_8027BF00;
|
||||
u8 pad_8027BF00[0xC];
|
||||
u8 pad_8027BF08[0x8];
|
||||
u8 *D_8027BF10; //inbuf
|
||||
u8 *D_8027BF14; //slide
|
||||
u32 D_8027BF18; //inptr
|
||||
|
@@ -12,7 +12,6 @@ extern f32 func_8031C5D4(struct0*);
|
||||
extern void func_8031C5AC(struct0 *, f32 *);
|
||||
|
||||
/* .bss */
|
||||
u8 pad_D_8027EF20[0x10];
|
||||
f32 D_8027EF30;
|
||||
|
||||
/* .code */
|
||||
|
@@ -61,7 +61,7 @@ s32 D_8027599C = 0;
|
||||
|
||||
/* .bss */
|
||||
u64 D_8027EF40[OS_YIELD_DATA_SIZE / sizeof(u64)];
|
||||
static u8 pad[0x28]; // 8027FB40
|
||||
static u8 pad[0x20]; // 8027FB40
|
||||
OSMesgQueue D_8027FB60;
|
||||
OSMesg D_8027FB78[20];
|
||||
OSMesgQueue D_8027FBC8;
|
||||
@@ -74,7 +74,7 @@ s32 D_8027FC18;
|
||||
s32 D_8027FC1C;
|
||||
s32 D_8027FC20;
|
||||
s32 D_8027FC24;
|
||||
u8 D_8027FC28[2040]; //stack for thread D_80280428;
|
||||
u8 D_8027FC28[2048]; //stack for thread D_80280428;
|
||||
OSThread D_80280428;
|
||||
Struct_Core1_8C50_s * D_802805D8[20];
|
||||
volatile s32 D_80280628;
|
||||
@@ -458,7 +458,7 @@ void func_80247560(void){
|
||||
tmp_v0 = D_8027EF40;
|
||||
while((u32)tmp_v0 % 0x10){((u32)tmp_v0)++;}
|
||||
D_80275950.t.yield_data_ptr = tmp_v0;
|
||||
osCreateThread(&D_80280428, 5, func_802473B4, NULL, &D_8027FC28[2040], 60);
|
||||
osCreateThread(&D_80280428, 5, func_802473B4, NULL, &D_8027FC28[2048], 60);
|
||||
osStartThread(&D_80280428);
|
||||
}
|
||||
|
||||
|
@@ -61,12 +61,16 @@ u32 D_80280724;
|
||||
u32 D_80280728;
|
||||
struct1 D_80280730[8];
|
||||
OSMesgQueue D_80280770;
|
||||
OSMesg D_80280788[10];
|
||||
OSMesgQueue D_802807B0;
|
||||
OSMesg D_802807C8[1];
|
||||
OSMesgQueue D_802807D0;
|
||||
OSMesg D_802807E8[60];
|
||||
volatile s32 D_802808D8;
|
||||
s32 D_802808DC;
|
||||
OSThread D_802808E0;
|
||||
u8 pad_80280970[0x520];
|
||||
#define THREAD0_STACK_SIZE 0x400
|
||||
u8 thread0_stack[THREAD0_STACK_SIZE];
|
||||
|
||||
|
||||
extern u8 D_803A5D00[2][0x1ECC0]; //framebuffer
|
||||
@@ -100,7 +104,6 @@ void func_8024BDAC(OSMesgQueue *mq, OSMesg msg){
|
||||
}
|
||||
|
||||
void func_8024BE30(void){
|
||||
extern s32 D_80280E90;
|
||||
s32 i;
|
||||
|
||||
func_8024C428();
|
||||
@@ -113,9 +116,9 @@ void func_8024BE30(void){
|
||||
osViSetSpecialFeatures(OS_VI_DITHER_FILTER_ON);
|
||||
osViSetSpecialFeatures(OS_VI_GAMMA_OFF);
|
||||
osViSwapBuffer(&D_803A5D00);
|
||||
osCreateMesgQueue(&D_80280770, (&D_80280770 + 1), 10);
|
||||
osCreateMesgQueue(&D_802807B0, (&D_802807B0 + 1), 1);
|
||||
osCreateMesgQueue(&D_802807D0, (&D_802807D0 + 1), 0x3C);
|
||||
osCreateMesgQueue(&D_80280770, D_80280788, 10);
|
||||
osCreateMesgQueue(&D_802807B0, D_802807C8, 1);
|
||||
osCreateMesgQueue(&D_802807D0, D_802807E8, 60);
|
||||
osViSetEvent(&D_80280770,NULL,1);
|
||||
D_80280720 = 0;
|
||||
D_80280724 = 1;
|
||||
@@ -125,7 +128,7 @@ void func_8024BE30(void){
|
||||
}
|
||||
D_802808D8 = 0;
|
||||
func_8024BF94(2);
|
||||
osCreateThread(&D_802808E0,0,func_8024C2F8,NULL,&D_80280E90,0x50);
|
||||
osCreateThread(&D_802808E0,0,func_8024C2F8,NULL,&thread0_stack[THREAD0_STACK_SIZE],80);
|
||||
osStartThread(&D_802808E0);
|
||||
}
|
||||
|
||||
|
@@ -12,6 +12,7 @@ struct {
|
||||
f32 unkC;
|
||||
f32 unk10;
|
||||
}D_8037D450;
|
||||
u32 pad_8037D464;
|
||||
u8 D_8037D468;
|
||||
|
||||
/* .code */
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#endif
|
||||
|
||||
extern s16 D_803A5D00[2][0xF660]; //framebuffer
|
||||
extern u8 D_8037DCC8[]; //bottels bonus flags???
|
||||
extern u8 D_8037DCC8; //bottles bonus flags???
|
||||
|
||||
|
||||
extern void ml_vec3f_assign(f32[3], f32, f32, f32);
|
||||
@@ -61,9 +61,8 @@ ActorInfo D_80368418 = {
|
||||
|
||||
/* .bss */
|
||||
ActorMarker *chBottlesBonusCursorMarker;
|
||||
f32 D_8037E068[20][2];
|
||||
f32 D_8037E068[60][2];
|
||||
Struct_core2_584D0_0 D_8037E248[20]; //puzzle pieces
|
||||
u8 pad_8037E478[0x140];
|
||||
s32 D_8037E5B8;
|
||||
struct {
|
||||
s32 unk0;
|
||||
|
@@ -2,6 +2,7 @@
|
||||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
#include "core2/code_C9E70.h"
|
||||
#include "core2/modelRender.h"
|
||||
|
||||
#ifndef ABS
|
||||
@@ -77,10 +78,21 @@ ActorInfo D_80365F00 = { 0xE6, 0x197, 0x532, 0x1, D_80365ED0, func_802C4C14, fun
|
||||
|
||||
|
||||
/* .bss */
|
||||
// Remove this when this memory region is properly symbolized
|
||||
u8 unk_8037DCB0[0x8037DCE0 - 0x8037DCB0];
|
||||
|
||||
extern u8 D_8037DCCE[0x12];
|
||||
s32 D_8037DCB0;
|
||||
u32 D_8037DCB4;
|
||||
struct FF_StorageStruct* D_8037DCB8;
|
||||
s32 D_8037DCBC;
|
||||
u8 D_8037DCC0[7];
|
||||
u8 D_8037DCC7;
|
||||
u8 D_8037DCC8;
|
||||
u8 D_8037DCC9;
|
||||
u8 D_8037DCCA;
|
||||
u8 D_8037DCCB;
|
||||
u8 D_8037DCCC;
|
||||
u8 D_8037DCCD;
|
||||
u8 D_8037DCCE[3];
|
||||
s32 pad_8037DCD4;
|
||||
s32 pad_8037DCD8;
|
||||
|
||||
struct {
|
||||
u8 *unk0;
|
||||
|
@@ -2,6 +2,7 @@
|
||||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
#include "core2/code_C9E70.h"
|
||||
|
||||
extern void func_8030DBFC(u32, f32, f32, f32);
|
||||
extern bool func_80309DBC(f32[3], f32[3], f32, f32 sp54[3], s32, s32);
|
||||
@@ -45,8 +46,6 @@ ActorInfo D_80367310 = {MARKER_217_BEE_SWARM, ACTOR_34D_BEE_SWARM, ASSET_49E_SPR
|
||||
0, 0, 1.0f, 0
|
||||
};
|
||||
|
||||
|
||||
/* .bss */
|
||||
extern s32 D_8037DCBC;
|
||||
|
||||
/* .code */
|
||||
|
@@ -39,6 +39,7 @@ ActorInfo D_80368620 = {
|
||||
|
||||
/* .bss */
|
||||
ActorMarker *D_8037E620;
|
||||
f32 D_8037E624;
|
||||
f32 D_8037E628;
|
||||
s32 D_8037E62C;
|
||||
s32 D_8037E630;
|
||||
@@ -292,7 +293,6 @@ void chsnacker_update(Actor *this) {
|
||||
this->depth_mode = (255.0 == local->unk4) ? MODEL_RENDER_DEPTH_FULL : MODEL_RENDER_DEPTH_COMPARE;
|
||||
}
|
||||
|
||||
extern f32 D_8037E624;
|
||||
void func_802E1790(void){
|
||||
D_8037E624 = 0.0f;
|
||||
D_8037E628 = 1.0f;
|
||||
|
@@ -9,7 +9,6 @@ typedef struct map_savestate_s{
|
||||
|
||||
/* .bss */
|
||||
s32 D_8037E650[0x9A];
|
||||
u8 pad_8037E8A8[0x18];
|
||||
|
||||
/* public functions */
|
||||
void func_802E3BD0(s32 frame_buffer_indx);
|
||||
|
@@ -5,8 +5,9 @@
|
||||
|
||||
extern ALBank *music_get_sound_bank(void);
|
||||
|
||||
extern u8 D_D846C0;
|
||||
extern u8 D_D954B0;
|
||||
extern u8 soundfont1ctl_ROM_START[];
|
||||
extern u8 soundfont1ctl_ROM_END[];
|
||||
extern u8 soundfont1tbl_ROM_START[];
|
||||
|
||||
struct {
|
||||
s32 unk0; //sound state cnt
|
||||
@@ -25,12 +26,12 @@ void sfxInstruments_init(void){
|
||||
ALBankFile * bnkf;
|
||||
|
||||
|
||||
size = &D_D954B0 - &D_D846C0;
|
||||
size = soundfont1ctl_ROM_END - soundfont1ctl_ROM_START;
|
||||
bnkf = (ALBankFile *)malloc(size);
|
||||
osWritebackDCache(bnkf, size);
|
||||
osPiStartDma(func_802405D0(), 0, 0, &D_D846C0, bnkf, size, func_802405C4());
|
||||
osPiStartDma(func_802405D0(), 0, 0, (u32)soundfont1ctl_ROM_START, bnkf, size, func_802405C4());
|
||||
osRecvMesg(func_802405C4(), NULL, 1);
|
||||
alBnkfNew(bnkf, &D_D954B0);
|
||||
alBnkfNew(bnkf, soundfont1tbl_ROM_START);
|
||||
bnk = bnkf->bankArray[0];
|
||||
inst = bnk->instArray[0];
|
||||
D_803835F0.unk0 = inst->soundCount;
|
||||
|
@@ -437,7 +437,7 @@ void assetCache_init(void){
|
||||
assetCacheAssetIdList = (s16 *)malloc(150*sizeof(s16));
|
||||
assetCacheLength = 0;
|
||||
assetSectionRomHeader = (AssetROMHead *)malloc(sizeof(AssetROMHead));
|
||||
D_80383CC8 = (u32) &D_5E90;
|
||||
D_80383CC8 = (u32)assets_ROM_START;
|
||||
func_802405F0(assetSectionRomHeader, D_80383CC8, sizeof(AssetROMHead));
|
||||
assetSectionRomMetaList = (AssetFileMeta *)malloc(assetSectionRomHeader->count*sizeof(AssetFileMeta));
|
||||
func_802405F0(assetSectionRomMetaList, D_80383CC8 + sizeof(AssetROMHead),assetSectionRomHeader->count*sizeof(AssetFileMeta));
|
||||
|
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "core2/code_C9E70.h"
|
||||
|
||||
struct FF_StorageStruct *D_8037DCB8;
|
||||
extern struct FF_StorageStruct *D_8037DCB8;
|
||||
|
||||
void func_80350E00(void){
|
||||
quizQuestionAskedBitfield_defrag();
|
||||
|
@@ -15,7 +15,7 @@ extern u8 crc_ROM_START[];
|
||||
|
||||
// bk_boot segment crc next word
|
||||
s32 D_803727F0 = 0;
|
||||
s32 core2_D_803727F4 = CORE2_CODE_CRC2;
|
||||
s32 D_803727F4 = CORE2_CODE_CRC2;
|
||||
s32 D_803727F8 = 0;
|
||||
s32 D_803727FC = 0;
|
||||
|
||||
|
@@ -14,8 +14,8 @@ enum transformation_e D_8037C2D0;
|
||||
f32 D_8037C2D8[3];
|
||||
f32 D_8037C2E4;
|
||||
enum asset_e D_8037C2E8;
|
||||
u8 D_8037C2ED;
|
||||
u8 D_8037C2EC;
|
||||
u8 D_8037C2ED;
|
||||
|
||||
struct{
|
||||
f32 unk0;
|
||||
|
@@ -41,7 +41,6 @@ s32 D_8037D940;
|
||||
f32 D_8037D948[3];
|
||||
f32 cameraPosition[3];
|
||||
f32 cameraRotation[3];
|
||||
f32 D_8037D96C;
|
||||
f32 D_8037D974;
|
||||
f32 D_8037D978;
|
||||
f32 D_8037D97C;
|
||||
@@ -188,7 +187,7 @@ void func_802BCA58(void) {
|
||||
player_getPosition(player_position);
|
||||
ml_vec3f_diff_copy(sp34, player_position, cameraPosition);
|
||||
sp4C = player_getYaw();
|
||||
sp48 = ml_map_f(mlAbsF((f32) (mlNormalizeAngle(D_8037D96C - sp4C) - 180.0)), 0.0f, 180.0f, D_8037D97C, D_8037D980);
|
||||
sp48 = ml_map_f(mlAbsF((f32) (mlNormalizeAngle(cameraRotation[1] - sp4C) - 180.0)), 0.0f, 180.0f, D_8037D97C, D_8037D980);
|
||||
func_80256E24(D_8037D9A8, 0.0f, sp4C, 0.0f, 0.0f, ml_map_f(gu_sqrtf(sp34[0]*sp34[0] + sp34[2]*sp34[2]), 300.0f, 450.0f, 0.0f, sp48));
|
||||
ml_vec3f_diff_copy(sp34, D_8037D9A8, D_8037D9B8);
|
||||
if (func_802BC428()) {
|
||||
|
@@ -12,7 +12,7 @@ u64 gEntryStack[ENTRY_STACK_LEN_U64];
|
||||
extern u8 core1_us_v10_rzip_ROM_START[];
|
||||
extern u8 core1_us_v10_rzip_ROM_END[];
|
||||
extern u8 D_8002D500;
|
||||
extern u8 D_8023DA20;
|
||||
extern u8 core1_VRAM;
|
||||
extern u32 D_803FFE00[4];
|
||||
|
||||
void func_80000594(u8 **, u8 **);
|
||||
@@ -23,7 +23,7 @@ void func_80000450(s32 arg0){
|
||||
u8 *dst;
|
||||
|
||||
tmp = &D_8002D500;
|
||||
dst = &D_8023DA20;
|
||||
dst = &core1_VRAM;
|
||||
osInitialize();
|
||||
osPiRawStartDma(OS_READ, core1_us_v10_rzip_ROM_START, tmp, core1_us_v10_rzip_ROM_END - core1_us_v10_rzip_ROM_START);
|
||||
while(osPiGetStatus() & PI_STATUS_DMA_BUSY);
|
||||
|
@@ -1466,7 +1466,7 @@ u8 D_8039286A;
|
||||
u8 D_8039286B;
|
||||
u8 D_8039286C[0x4C];
|
||||
|
||||
f32 D_803928B8[2];
|
||||
f32 D_803928B8[3];
|
||||
|
||||
void chfinalboss_phase3_update(ActorMarker *marker) {
|
||||
static f32 D_803917A4[4] = {500.0f, 650.0f, 800.0f, 950.0f};
|
||||
|
@@ -16,7 +16,7 @@ ActorAnimationInfo fight_D_803919F0[] ={
|
||||
{0x265, 1e+8f},
|
||||
{0x265, 1e+8f},
|
||||
};
|
||||
ActorInfo D_80391A10 = {
|
||||
ActorInfo fight_D_80391A10 = {
|
||||
MARKER_276_STONE_JINJO, ACTOR_3A1_STONE_JINJO, ASSET_545_MODEL_STONE_JINJO,
|
||||
0x1, fight_D_803919F0,
|
||||
chstonejinjo_update, func_80326224, actor_draw,
|
||||
|
@@ -186,7 +186,7 @@ extern Struct_lair_5ED0_0 D_80393760[FF_QNF_CNT - 1] = {
|
||||
};
|
||||
|
||||
|
||||
extern struct FF_QuestionTypeInfo FF_QuestionTypeInfoArr[5] = {
|
||||
struct FF_QuestionTypeInfo FF_QuestionTypeInfoArr[5] = {
|
||||
{ 0x0, 100},
|
||||
{ 0x64, 118},
|
||||
{ 0xDA, 51},
|
||||
@@ -194,7 +194,7 @@ extern struct FF_QuestionTypeInfo FF_QuestionTypeInfoArr[5] = {
|
||||
{0x12B, 6}
|
||||
};
|
||||
|
||||
extern struct {
|
||||
struct {
|
||||
u8 unk0;
|
||||
s16 unk2;
|
||||
s16 unk4;
|
||||
|
Reference in New Issue
Block a user