MxFlcPresenter ctor/dtor (#132)

* MxFlcPresenter ctor/dtor

* Match constructor

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Joshua Peisach 2023-09-20 07:48:46 -04:00 committed by GitHub
parent d145f914c4
commit 1d3c1bdbd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 6 deletions

View file

@ -4,14 +4,18 @@
DECOMP_SIZE_ASSERT(MxFlcPresenter, 0x68);
// OFFSET: LEGO1 0x100b3310 STUB
// OFFSET: LEGO1 0x100b3310
MxFlcPresenter::MxFlcPresenter()
{
// TODO
this->m_unk64 = 0;
this->m_flags &= 0xfd;
this->m_flags &= 0xfb;
}
// OFFSET: LEGO1 0x100b3420 STUB
// OFFSET: LEGO1 0x100b3420
MxFlcPresenter::~MxFlcPresenter()
{
// TODO
if (this->m_unk64) {
delete this->m_unk64;
}
}

View file

@ -26,7 +26,7 @@ class MxFlcPresenter : public MxVideoPresenter
return !strcmp(name, MxFlcPresenter::ClassName()) || MxVideoPresenter::IsA(name);
}
undefined4 m_unk64;
undefined4 *m_unk64;
};
#endif // MXFLCPRESENTER_H

View file

@ -32,7 +32,7 @@ class MxVideoPresenter : public MxMediaPresenter
undefined4 m_unk54;
undefined4 m_unk58;
undefined2 m_unk5c;
unsigned char m_flags;
unsigned char m_flags; // 0x5e
undefined4 m_unk60;
};