mirror of
https://github.com/zeldaret/ss
synced 2026-07-10 22:41:46 -04:00
100% d_state
This commit is contained in:
@@ -2236,9 +2236,9 @@ __sinit_\d_heap_cpp = .text:0x80054F00; // type:function size:0x30 scope:local
|
||||
getCurrentLanguage1__Fv = .text:0x80054F30; // type:function size:0x4
|
||||
getCurrentLanguage2__Fv = .text:0x80054F40; // type:function size:0x4
|
||||
getCurrentLanguage__Fv = .text:0x80054F50; // type:function size:0x38
|
||||
fn_80054F90__FUl = .text:0x80054F90; // type:function size:0x18
|
||||
fn_80054FB0__FUl = .text:0x80054FB0; // type:function size:0x24
|
||||
fn_80054FE0__FUl = .text:0x80054FE0; // type:function size:0x20
|
||||
fn_80054F90__5dMainFUl = .text:0x80054F90; // type:function size:0x18
|
||||
fn_80054FB0__5dMainFUl = .text:0x80054FB0; // type:function size:0x24
|
||||
fn_80054FE0__5dMainFUl = .text:0x80054FE0; // type:function size:0x20
|
||||
Create__5dMainFv = .text:0x80055000; // type:function size:0x28
|
||||
Execute__5dMainFv = .text:0x80055030; // type:function size:0x14
|
||||
main01__5dMainFPv = .text:0x80055050; // type:function size:0x28
|
||||
|
||||
+1
-1
@@ -463,7 +463,7 @@ config.libs = [
|
||||
Object(Matching, "d/d_player_guide_colors.cpp"),
|
||||
Object(Matching, "d/d_rawarchive.cpp"),
|
||||
Object(Matching, "d/d_scene.cpp"),
|
||||
Object(NonMatching, "d/d_state.cpp"),
|
||||
Object(Matching, "d/d_state.cpp"),
|
||||
Object(Matching, "d/d_stage_parse.cpp"),
|
||||
Object(Matching, "d/d_sys.cpp"),
|
||||
Object(NonMatching, "d/d_sys_init.cpp"),
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
|
||||
namespace dMain {
|
||||
|
||||
bool fn_80054F90(u32 val);
|
||||
void fn_80054FB0(u32 val);
|
||||
void fn_80054FE0(u32 val);
|
||||
|
||||
void Create();
|
||||
void Execute();
|
||||
void *main01(void *arg);
|
||||
|
||||
+3
-3
@@ -10,11 +10,11 @@
|
||||
u32 lbl_805751D0;
|
||||
OSTime g_InitialTime;
|
||||
|
||||
bool fn_80054F90(u32 val) {
|
||||
bool dMain::fn_80054F90(u32 val) {
|
||||
return lbl_805751D0 & val;
|
||||
}
|
||||
|
||||
void fn_80054FB0(u32 val) {
|
||||
void dMain::fn_80054FB0(u32 val) {
|
||||
u32 flags = lbl_805751D0;
|
||||
|
||||
if (!flags) {
|
||||
@@ -27,7 +27,7 @@ void fn_80054FB0(u32 val) {
|
||||
lbl_805751D0 = flags | val;
|
||||
}
|
||||
|
||||
void fn_80054FE0(u32 val) {
|
||||
void dMain::fn_80054FE0(u32 val) {
|
||||
lbl_805751D0 &= ~val;
|
||||
|
||||
if (!lbl_805751D0) {
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
#include "d/d_main.h"
|
||||
#include "d/d_state.h"
|
||||
#include "m/m3d/m_state.h"
|
||||
|
||||
void dState::fn_80062E40() {
|
||||
m3d::mState::fn_802EE0A0();
|
||||
}
|
||||
|
||||
void dState::fn_80062E50() {
|
||||
m3d::mState::fn_802EE0B0();
|
||||
|
||||
if (m3d::mState::fn_802EE0D0()) {
|
||||
if (dMain::fn_80054F90(1)) {
|
||||
dMain::fn_80054FE0(1);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!dMain::fn_80054F90(1)) {
|
||||
dMain::fn_80054FB0(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void dState::fn_80062EB0() {
|
||||
m3d::mState::fn_802EE0C0();
|
||||
}
|
||||
|
||||
bool dState::fn_80062EC0() {
|
||||
return m3d::mState::fn_802EE0D0();
|
||||
}
|
||||
Reference in New Issue
Block a user