2023-06-29 04:10:08 -04:00
|
|
|
#ifndef GASSTATION_H
|
|
|
|
#define GASSTATION_H
|
|
|
|
|
2024-01-17 12:24:42 -05:00
|
|
|
#include "decomp.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "legoworld.h"
|
2024-01-17 12:24:42 -05:00
|
|
|
#include "radio.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d4650
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x128
|
|
|
|
// Radio variable at 0x46, in constructor
|
2023-10-24 19:38:27 -04:00
|
|
|
class GasStation : public LegoWorld {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
GasStation();
|
|
|
|
virtual ~GasStation() 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+0x4
|
|
|
|
virtual MxResult Tickle() override; // vtable+0x8
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10004780
|
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 0x100f0168
|
2023-10-24 19:38:27 -04:00
|
|
|
return "GasStation";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10004790
|
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, GasStation::ClassName()) || LegoWorld::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2024-01-17 12:24:42 -05:00
|
|
|
|
2024-01-20 18:04:46 -05:00
|
|
|
virtual MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
|
2024-01-27 15:18:35 -05:00
|
|
|
virtual void ReadyWorld() override; // vtable+0x50
|
2024-01-20 18:04:46 -05:00
|
|
|
virtual MxBool VTable0x5c() override; // vtable+0x5c
|
|
|
|
virtual MxBool VTable0x64() override; // vtable+0x64
|
|
|
|
virtual void VTable0x68(MxBool p_add) override; // vtable+0x68
|
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100048a0
|
|
|
|
// GasStation::`scalar deleting destructor'
|
|
|
|
|
2024-01-17 12:24:42 -05:00
|
|
|
private:
|
|
|
|
undefined2 m_unk0xf8; // 0xf8
|
|
|
|
undefined2 m_unk0xfa; // 0xfa
|
|
|
|
undefined4 m_unk0xfc; // 0xfc
|
|
|
|
undefined4 m_unk0x100; // 0x100
|
|
|
|
undefined2 m_unk0x104; // 0x104
|
|
|
|
undefined2 m_unk0x106; // 0x106
|
|
|
|
undefined4 m_unk0x108; // 0x108
|
|
|
|
undefined4 m_unk0x10c; // 0x10c
|
|
|
|
undefined4 m_unk0x110; // 0x110
|
|
|
|
undefined m_unk0x114; // 0x114
|
|
|
|
undefined m_unk0x115; // 0x115
|
|
|
|
Radio m_radio; // 0x118
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // GASSTATION_H
|