mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-29 10:55:42 -05:00
a31626cffb
* Match MxDSChunk ctor/dtor * Push work on MxDSAction/MediaAction/Sound * MxDSMediaAction constructor is matching up to a mov location * Match MxDSSound constructor by adding the missing member just four bytes in between them in ghidra.. isn't that enough for ghidra to justify a member variable? * Match MxDSMediaAction constructor Today's lesson: ecx suggests '1'
33 lines
655 B
C++
33 lines
655 B
C++
#ifndef MXDSSOUND_H
|
|
#define MXDSSOUND_H
|
|
|
|
#include "mxdsmediaaction.h"
|
|
#include "mxtypes.h"
|
|
|
|
// VTABLE 0x100dcdd0
|
|
// SIZE 0xc0
|
|
class MxDSSound : public MxDSMediaAction
|
|
{
|
|
public:
|
|
MxDSSound();
|
|
virtual ~MxDSSound() override;
|
|
|
|
// OFFSET: LEGO1 0x100c9330
|
|
inline virtual const char *ClassName() const override // vtable+0x0c
|
|
{
|
|
// 0x101025e4
|
|
return "MxDSSound";
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100c9340
|
|
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(name, MxDSSound::ClassName()) || MxDSMediaAction::IsA(name);
|
|
}
|
|
private:
|
|
MxS32 m_unkb8;
|
|
MxLong m_lastField; // 0xbc
|
|
};
|
|
|
|
|
|
#endif // MXDSSOUND_H
|