Bootstrap MxMediaPresenter (#274)

* Bootstrap MxMediaPresenter

* Add override
This commit is contained in:
Christian Semmler
2023-11-12 07:47:01 -05:00
committed by GitHub
parent e2f2ef6152
commit 04b503c79f
12 changed files with 176 additions and 49 deletions

View File

@@ -6,13 +6,9 @@ DECOMP_SIZE_ASSERT(MxDSActionList, 0x1c);
DECOMP_SIZE_ASSERT(MxDSActionListCursor, 0x10);
// OFFSET: LEGO1 0x100c9c90
MxS8 MxDSActionList::Compare(MxDSAction* p_var0, MxDSAction* p_var1)
MxS8 MxDSActionList::Compare(MxDSAction* p_a, MxDSAction* p_b)
{
if (p_var1 == p_var0)
return 0;
if (p_var1 <= p_var0)
return 1;
return -1;
return p_a == p_b ? 0 : p_a < p_b ? -1 : 1;
}
// OFFSET: LEGO1 0x100c9cb0