Implementing RegistrationBook::RegistrationBook()

This commit is contained in:
Daniel Hejduk 2024-01-30 18:40:14 +01:00
parent 743e042564
commit f641e3bdf4
No known key found for this signature in database
GPG Key ID: 6353616C70B30D1C
2 changed files with 31 additions and 1 deletions

View File

@ -33,6 +33,20 @@ class RegistrationBook : public LegoWorld {
// SYNTHETIC: LEGO1 0x10076f30
// RegistrationBook::`scalar deleting destructor'
private:
undefined4 m_unk0xf8;
undefined m_unk0xfc;
undefined2 m_unk0x28e;
undefined4 m_unk0x280;
undefined4 m_unk0x284;
undefined4 m_unk0x288;
undefined2 m_unk0x28c;
undefined2 m_unk0x2b8;
undefined4 m_unk0x2bc;
undefined m_unk0x2c1;
undefined4 m_unk0x2c4;
undefined4 m_unk0x2c8;
undefined4 m_unk0x2cc;
};
#endif // REGISTRATIONBOOK_H

View File

@ -2,10 +2,26 @@
#include "legoomni.h"
#include "mxnotificationmanager.h"
// STUB: LEGO1 0x10076d20
RegistrationBook::RegistrationBook()
{
// TODO
this->m_unk0xf8 = 0x80000000;
this->m_unk0xfc = 1;
this->m_unk0x28e = 0;
this->m_unk0x280 = -1;
this->m_unk0x284 = -1;
this->m_unk0x288 = -1;
this->m_unk0x28c = -1;
this->m_unk0x2b8 = 0;
this->m_unk0x2bc = 0;
this->m_unk0x2c1 = 0;
this->m_unk0x2c4 = 0;
this->m_unk0x2c8 = 0;
this->m_unk0x2cc = 0;
NotificationManager()->Register(this);
}
// STUB: LEGO1 0x10076f50