2023-06-29 04:10:08 -04:00
|
|
|
#ifndef HOSPITAL_H
|
|
|
|
#define HOSPITAL_H
|
|
|
|
|
2024-01-01 22:30:50 -05:00
|
|
|
#include "decomp.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "legoworld.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d9730
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x12c
|
2023-10-24 19:38:27 -04:00
|
|
|
class Hospital : public LegoWorld {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
Hospital();
|
|
|
|
virtual ~Hospital() override; // vtable+0x0
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-13 05:48:14 -05:00
|
|
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100746b0
|
2023-10-24 19:38:27 -04:00
|
|
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f0490
|
2023-10-24 19:38:27 -04:00
|
|
|
return "Hospital";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100746c0
|
2023-12-13 05:48:14 -05:00
|
|
|
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, Hospital::ClassName()) || LegoWorld::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2024-01-01 22:30:50 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
undefined2 m_unk0xf8; // 0xf8
|
|
|
|
undefined4 m_unk0xfc; // 0xfc
|
|
|
|
undefined2 m_unk0x100; // 0x100
|
|
|
|
undefined4 m_unk0x104; // 0x104 - VTable0x18 suggests this may be pointer to a LegoGameState
|
|
|
|
undefined2 m_unk0x108; // 0x108
|
|
|
|
undefined4 m_unk0x10c; // 0x10c
|
|
|
|
undefined4 m_unk0x110; // 0x110
|
|
|
|
undefined4 m_unk0x114; // 0x114
|
|
|
|
undefined m_unk0x118; // 0x118
|
|
|
|
undefined4 m_unk0x11c; // 0x11c
|
|
|
|
undefined4 m_unk0x120; // 0x120
|
|
|
|
undefined m_unk0x124[4]; // 0x124
|
|
|
|
undefined m_unk0x128; // 0x128
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // HOSPITAL_H
|