Prepare MxMidiPresenter vtable and refactoring (#278)

This commit is contained in:
Christian Semmler
2023-11-14 15:10:43 -05:00
committed by GitHub
parent e86d6f0cc7
commit c626f18b03
9 changed files with 91 additions and 37 deletions

View File

@@ -6,6 +6,13 @@
DECOMP_SIZE_ASSERT(MxMIDIPresenter, 0x58);
// OFFSET: LEGO1 0x100c25a0 STUB
MxResult MxMIDIPresenter::AddToManager()
{
// TODO
return SUCCESS;
}
// OFFSET: LEGO1 0x100c25e0
MxMIDIPresenter::MxMIDIPresenter()
{
@@ -30,10 +37,46 @@ void MxMIDIPresenter::Destroy(MxBool p_fromDestructor)
// TODO
}
// OFFSET: LEGO1 0x100c2890 STUB
void MxMIDIPresenter::ReadyTickle()
{
// TODO
}
// OFFSET: LEGO1 0x100c28d0 STUB
void MxMIDIPresenter::StartingTickle()
{
// TODO
}
// OFFSET: LEGO1 0x100c2910 STUB
void MxMIDIPresenter::StreamingTickle()
{
// TODO
}
// OFFSET: LEGO1 0x100c2940
void MxMIDIPresenter::DoneTickle()
{
if (!MusicManager()->GetMIDIInitialized()) {
this->EndAction();
}
if (!MusicManager()->GetMIDIInitialized())
EndAction();
}
// OFFSET: LEGO1 0x100c2960 STUB
void MxMIDIPresenter::Destroy()
{
// TODO
}
// OFFSET: LEGO1 0x100c2970 STUB
undefined4 MxMIDIPresenter::PutData()
{
// TODO
return 0;
}
// OFFSET: LEGO1 0x100c29e0 STUB
void MxMIDIPresenter::EndAction()
{
// TODO
}