2023-06-29 04:10:08 -04:00
|
|
|
#include "registrationbook.h"
|
|
|
|
|
2024-01-18 20:24:15 -05:00
|
|
|
#include "legoomni.h"
|
2024-02-04 10:36:47 -05:00
|
|
|
#include "mxnotificationmanager.h"
|
2024-01-18 20:24:15 -05:00
|
|
|
|
2024-02-04 10:36:47 -05:00
|
|
|
DECOMP_SIZE_ASSERT(RegistrationBook, 0x2d0)
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x10076d20
|
|
|
|
RegistrationBook::RegistrationBook() : m_unk0xf8(0x80000000), m_unk0xfc(1)
|
2023-06-29 04:10:08 -04:00
|
|
|
{
|
2024-02-04 10:36:47 -05:00
|
|
|
memset(m_unk0x100, 0, sizeof(m_unk0x100));
|
|
|
|
memset(m_unk0x168, 0, sizeof(m_unk0x168));
|
|
|
|
|
|
|
|
// Maybe not be part of the struct, but then it would need packing
|
|
|
|
m_unk0x280.m_unk0x0e = 0;
|
|
|
|
|
|
|
|
memset(m_unk0x290, 0, sizeof(m_unk0x290));
|
|
|
|
memset(&m_unk0x280, -1, sizeof(m_unk0x280) - 2);
|
|
|
|
|
|
|
|
m_unk0x2b8 = 0;
|
|
|
|
m_unk0x2bc = 0;
|
|
|
|
|
|
|
|
NotificationManager()->Register(this);
|
|
|
|
|
|
|
|
m_unk0x2c1 = 0;
|
|
|
|
m_unk0x2c4 = 0;
|
|
|
|
m_unk0x2c8 = 0;
|
|
|
|
m_unk0x2cc = 0;
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// STUB: LEGO1 0x10076f50
|
2023-06-29 04:10:08 -04:00
|
|
|
RegistrationBook::~RegistrationBook()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
|
|
|
|
2024-01-18 20:24:15 -05:00
|
|
|
// STUB: LEGO1 0x10077060
|
|
|
|
MxResult RegistrationBook::Create(MxDSAction& p_dsAction)
|
|
|
|
{
|
|
|
|
return SUCCESS;
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// STUB: LEGO1 0x100770e0
|
2023-12-13 05:48:14 -05:00
|
|
|
MxLong RegistrationBook::Notify(MxParam& p_param)
|
2023-06-29 04:10:08 -04:00
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
return 0;
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
2024-01-18 20:24:15 -05:00
|
|
|
|
|
|
|
// STUB: LEGO1 0x10077cc0
|
2024-01-27 15:18:35 -05:00
|
|
|
void RegistrationBook::ReadyWorld()
|
2024-01-18 20:24:15 -05:00
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x10077fd0
|
|
|
|
MxResult RegistrationBook::Tickle()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x10078180
|
2024-02-02 12:18:46 -05:00
|
|
|
void RegistrationBook::Enable(MxBool p_enable)
|
2024-01-18 20:24:15 -05:00
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100783e0
|
|
|
|
MxBool RegistrationBook::VTable0x64()
|
|
|
|
{
|
|
|
|
DeleteObjects(&m_atom, 500, 506);
|
|
|
|
return TRUE;
|
|
|
|
}
|