diff --git a/LEGO1/hospitalstate.cpp b/LEGO1/hospitalstate.cpp index b1727b74..4f865128 100644 --- a/LEGO1/hospitalstate.cpp +++ b/LEGO1/hospitalstate.cpp @@ -1,7 +1,14 @@ #include "hospitalstate.h" -// STUB: LEGO1 0x10076370 +DECOMP_SIZE_ASSERT(HospitalState, 0x18) + +// FUNCTION: LEGO1 0x10076370 HospitalState::HospitalState() { - // TODO + this->m_unk0xc = 0; + this->m_unk0xe = 0; + this->m_unk0x10 = 0; + this->m_unk0x12 = 0; + this->m_unk0x14 = 0; + this->m_unk0x16 = 0; } diff --git a/LEGO1/hospitalstate.h b/LEGO1/hospitalstate.h index 795342b0..c6e69376 100644 --- a/LEGO1/hospitalstate.h +++ b/LEGO1/hospitalstate.h @@ -1,6 +1,7 @@ #ifndef HOSPITALSTATE_H #define HOSPITALSTATE_H +#include "decomp.h" #include "legostate.h" // VTABLE: LEGO1 0x100d97a0 @@ -21,6 +22,16 @@ class HospitalState : public LegoState { { return !strcmp(p_name, HospitalState::ClassName()) || LegoState::IsA(p_name); } + +private: + // TODO: Figure out unused type + undefined m_unk0x8[4]; + undefined2 m_unk0xc; + undefined2 m_unk0xe; + undefined2 m_unk0x10; + undefined2 m_unk0x12; + undefined2 m_unk0x14; + undefined2 m_unk0x16; }; #endif // HOSPITALSTATE_H