mirror of
				https://github.com/isledecomp/isle.git
				synced 2025-10-25 09:24:17 +00:00 
			
		
		
		
	 a31626cffb
			
		
	
	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'
		
			
				
	
	
		
			20 lines
		
	
	
		
			334 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 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;
 | |
|   }
 | |
| }
 |