mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 23:57:54 -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'
19 lines
334 B
C++
19 lines
334 B
C++
#include "mxdschunk.h"
|
|
|
|
// OFFSET: LEGO1 0x100be050
|
|
MxDSChunk::MxDSChunk()
|
|
{
|
|
this->m_length = 0;
|
|
this->m_pStuff = NULL;
|
|
this->m_buffer = -1;
|
|
this->m_long1FromHeader = 0;
|
|
this->m_long2FromHeader = 0;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100be170
|
|
MxDSChunk::~MxDSChunk()
|
|
{
|
|
if ((this->m_length & 1) != 0) {
|
|
delete this->m_pStuff;
|
|
}
|
|
}
|