HospitalState ctor

This commit is contained in:
Joshua Peisach 2023-12-27 13:26:57 -05:00
parent 5a1ba02772
commit 6fb7eec39c
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A
2 changed files with 20 additions and 2 deletions

View File

@ -1,7 +1,14 @@
#include "hospitalstate.h" #include "hospitalstate.h"
// STUB: LEGO1 0x10076370 DECOMP_SIZE_ASSERT(HospitalState, 0x18)
// FUNCTION: LEGO1 0x10076370
HospitalState::HospitalState() 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;
} }

View File

@ -1,6 +1,7 @@
#ifndef HOSPITALSTATE_H #ifndef HOSPITALSTATE_H
#define HOSPITALSTATE_H #define HOSPITALSTATE_H
#include "decomp.h"
#include "legostate.h" #include "legostate.h"
// VTABLE: LEGO1 0x100d97a0 // VTABLE: LEGO1 0x100d97a0
@ -21,6 +22,16 @@ class HospitalState : public LegoState {
{ {
return !strcmp(p_name, HospitalState::ClassName()) || LegoState::IsA(p_name); 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 #endif // HOSPITALSTATE_H