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,13 +1,19 @@
#include "mxdschunk.h"
// OFFSET: LEGO1 0x100be050 STUB
// OFFSET: LEGO1 0x100be050
MxDSChunk::MxDSChunk()
{
// TODO
this->m_length = 0;
this->m_pStuff = NULL;
this->m_buffer = -1;
this->m_long1FromHeader = 0;
this->m_long2FromHeader = 0;
}
// OFFSET: LEGO1 0x100be170 STUB
// OFFSET: LEGO1 0x100be170
MxDSChunk::~MxDSChunk()
{
// TODO
if ((this->m_length & 1) != 0) {
delete this->m_pStuff;
}
}