fix types

This commit is contained in:
Christian Semmler 2023-07-02 15:07:07 +02:00
parent 01d0fecebe
commit 796ce9bce7
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C
2 changed files with 8 additions and 8 deletions

View File

@ -85,15 +85,15 @@ void MxDSObject::SetSourceName(const char *p_sourceName)
}
// OFFSET: LEGO1 0x100bf9c0
int MxDSObject::unk14()
undefined4 MxDSObject::unk14()
{
return 10;
}
// OFFSET: LEGO1 0x100bf9d0
unsigned int MxDSObject::CalculateUnk08()
MxU32 MxDSObject::CalculateUnk08()
{
unsigned int unk08;
MxU32 unk08;
if (this->m_sourceName)
unk08 = strlen(this->m_sourceName) + 3;

View File

@ -27,14 +27,14 @@ class MxDSObject : public MxCore
// OFFSET: LEGO1 0x100bf740
inline virtual MxBool IsA(const char *name) const override { return !strcmp(name, MxDSObject::ClassName()) || MxCore::IsA(name); }; // vtable+10;
virtual int unk14(); // vtable+14;
virtual unsigned int CalculateUnk08(); // vtable+18;
virtual undefined4 unk14(); // vtable+14;
virtual MxU32 CalculateUnk08(); // vtable+18;
virtual void Parse(char **p_source, MxS16 p_unk24); // vtable+1c;
inline const MxAtomId& GetAtomId() { return this->m_atomId; }
inline int GetUnknown1c() { return this->m_unk1c; }
inline undefined4 GetUnknown1c() { return this->m_unk1c; }
inline void SetUnknown1c(int p_unk1c) { this->m_unk1c = p_unk1c; }
inline void SetUnknown1c(undefined4 p_unk1c) { this->m_unk1c = p_unk1c; }
inline void SetUnknown24(MxS16 p_unk24) { this->m_unk24 = p_unk24; }
// OFFSET: ISLE 0x401c40
@ -45,7 +45,7 @@ class MxDSObject : public MxCore
inline void SetType(MxDSType p_type) { this->m_type = p_type; }
private:
undefined4 m_unk08;
MxU32 m_unk08;
MxU16 m_type;
char* m_sourceName;
undefined4 m_unk14;