MxDSAction/Chunk/MediaAction/Sound (#85)

* 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'
This commit is contained in:
Joshua Peisach
2023-07-16 02:51:11 -04:00
committed by GitHub
parent e3bf7b53b5
commit a31626cffb
8 changed files with 80 additions and 40 deletions

View File

@@ -1,8 +1,11 @@
#ifndef MXDSCHUNK_H
#define MXDSCHUNK_H
#include "mxcore.h"
#include "mxcore.h"
#include "mxtypes.h"
// VTABLE 0x100dc7f8
class MxDSChunk : public MxCore
{
public:
@@ -21,6 +24,13 @@ public:
{
return !strcmp(name, MxDSChunk::ClassName()) || MxCore::IsA(name);
}
private:
MxS16 m_length; // 0x8
MxLong m_buffer; // 0xc
MxLong m_long1FromHeader; // 0x10
MxLong m_long2FromHeader; // 0x14
void* m_pStuff; // 0x18
void* m_pSomething; // 0x1c
};
#endif // MXDSCHUNK_H