This commit is contained in:
Christian Semmler 2023-10-12 11:58:21 -04:00
parent 9acc23d59f
commit b1a3f5a2db
2 changed files with 3 additions and 2 deletions

View File

@ -29,6 +29,7 @@ class InfocenterState : public LegoState
inline MxU32 GetInfocenterBufferElement(MxS32 p_index) { return m_buffer[p_index]; } inline MxU32 GetInfocenterBufferElement(MxS32 p_index) { return m_buffer[p_index]; }
private: private:
// Members should be renamed with their offsets before use
/* /*
struct SomeStruct struct SomeStruct
{ {

View File

@ -24,14 +24,14 @@ class MxObjectFactory : public MxCore
public: public:
MxObjectFactory(); MxObjectFactory();
// OFFSET: LEGO1 0x1008f70 // OFFSET: LEGO1 0x10008f70
inline virtual const char *ClassName() const override // vtable+0xc inline virtual const char *ClassName() const override // vtable+0xc
{ {
// 0x100f0730 // 0x100f0730
return "MxObjectFactory"; return "MxObjectFactory";
} }
// OFFSET: LEGO1 0x1008f80 // OFFSET: LEGO1 0x10008f80
inline virtual MxBool IsA(const char *name) const override // vtable+0x10 inline virtual MxBool IsA(const char *name) const override // vtable+0x10
{ {
return !strcmp(name, MxObjectFactory::ClassName()) || MxCore::IsA(name); return !strcmp(name, MxObjectFactory::ClassName()) || MxCore::IsA(name);