fixes + match gasstation ctor

This commit is contained in:
Ramen2X 2024-01-17 11:17:36 -05:00
parent 1820ac8388
commit 3fe1d46911
2 changed files with 18 additions and 11 deletions

View File

@ -3,6 +3,7 @@
#include "decomp.h" #include "decomp.h"
#include "legoworld.h" #include "legoworld.h"
#include "radio.h"
// VTABLE: LEGO1 0x100d4650 // VTABLE: LEGO1 0x100d4650
// SIZE 0x128 // SIZE 0x128
@ -29,15 +30,18 @@ class GasStation : public LegoWorld {
} }
private: private:
undefined m_unk0xf8; undefined2 m_unk0xf8;
undefined m_unk0x104; undefined2 m_unk0xfa;
undefined m_unk0x100; undefined4 m_unk0xfc;
undefined m_unk0x106; undefined4 m_unk0x100;
undefined m_unk0xfc; undefined2 m_unk0x104;
undefined m_unk0x108; undefined2 m_unk0x106;
undefined4 m_unk0x108;
undefined4 m_unk0x10c;
undefined4 m_unk0x110;
undefined m_unk0x114; undefined m_unk0x114;
undefined m_unk0x10c;
undefined m_unk0x115; undefined m_unk0x115;
undefined m_unk0x110; Radio m_radio;
}; };
#endif // GASSTATION_H #endif // GASSTATION_H

View File

@ -1,18 +1,21 @@
#include "gasstation.h" #include "gasstation.h"
#include "mxnotificationmanager.h"
// STUB: LEGO1 0x100046a0 // FUNCTION: LEGO1 0x100046a0
GasStation::GasStation() GasStation::GasStation()
{ {
this->m_unk0xf8 = 0; this->m_unk0xf8 = 0;
this->m_unk0x104 = 0;
this->m_unk0x100 = 0; this->m_unk0x100 = 0;
this->m_unk0x106 = 0;
this->m_unk0xfc = 0; this->m_unk0xfc = 0;
this->m_unk0x108 = 0; this->m_unk0x108 = 0;
this->m_unk0x104 = 0;
this->m_unk0x114 = 0; this->m_unk0x114 = 0;
this->m_unk0x106 = 0;
this->m_unk0x10c = 0; this->m_unk0x10c = 0;
this->m_unk0x115 = 0; this->m_unk0x115 = 0;
this->m_unk0x110 = 0; this->m_unk0x110 = 0;
NotificationManager()->Register(this);
} }
// STUB: LEGO1 0x100048c0 // STUB: LEGO1 0x100048c0