#include #include "functions.h" #include "variables.h" extern void func_8028F710(s32, f32); /* .data */ //TODO Implement CRC calculation in Makefile(?) u32 D_80390F30 = 0x00274530; //GV.code CRC1 u32 D_80390F34 = 0xAA18BBF3; //GV.code CRC2 u32 D_80390F38 = 0x0003031C; //GV.data CRC1 (with this value = 0) /* .code */ void func_80389F00(void){ if(getGameMode() != GAME_MODE_7_ATTRACT_DEMO && 2.0f < func_8028E80C(3)){ func_8028F710(3, 2.0f); } } void func_80389F5C(void){ u32 sp1C; osPiReadIo(0x800, &sp1C); sp1C <<= 0x10; if(sp1C != 0x10000) func_80389F00(); }