ExtraActor ctor/dtor (#737)

This commit is contained in:
Nathan M Gilbert 2024-03-27 11:53:38 -04:00 committed by GitHub
parent 064feab51a
commit 483b3a5ab7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 36 additions and 11 deletions

View file

@ -58,9 +58,16 @@ class LegoAnimActor : public virtual LegoPathActor {
MxS16 m_curAnim; // 0x18
};
// clang-format off
// TEMPLATE: LEGO1 0x1000da20
// vector<LegoAnimActorStruct *,allocator<LegoAnimActorStruct *> >::~vector<LegoAnimActorStruct *,allocator<LegoAnimActorStruct *> >
// TEMPLATE: LEGO1 0x1000da60
// Vector<LegoAnimActorStruct *>::~Vector<LegoAnimActorStruct *>
// SYNTHETIC: LEGO1 0x10012b90
// LegoAnimActor::`vbase destructor'
// TEMPLATE: LEGO1 0x1001c010
// vector<unsigned char *,allocator<unsigned char *> >::~vector<unsigned char *,allocator<unsigned char *> >
@ -78,5 +85,6 @@ class LegoAnimActor : public virtual LegoPathActor {
// TEMPLATE: LEGO1 0x1001ca10
// uninitialized_copy
// clang-format on
#endif // LEGOANIMACTOR_H

View file

@ -49,9 +49,16 @@ class LegoExtraActor : public virtual LegoAnimActor {
undefined m_unk0x0e; // 0x0e
undefined4 m_unk0x10; // 0x10
MxU8 m_unk0x14; // 0x14
MxU8 m_unk0x15; // 0x15
MxMatrix m_unk0x18; // 0x18
undefined4 m_unk0x60; // 0x60
undefined4 m_unk0x64; // 0x64
LegoAnimActorStruct* m_unk0x60; // 0x60
LegoAnimActorStruct* m_unk0x64; // 0x64
};
// GLOBAL: LEGO1 0x100d6be8
// LegoExtraActor::`vbtable'{for `LegoAnimActor'}
// GLOBAL: LEGO1 0x100d6bf0
// LegoExtraActor::`vbtable'{for `LegoExtraActor'}
#endif // LEGOEXTRAACTOR_H

View file

@ -2,14 +2,24 @@
DECOMP_SIZE_ASSERT(LegoExtraActor, 0x1dc)
// STUB: LEGO1 0x1002a500
// FUNCTION: LEGO1 0x1002a500
LegoExtraActor::LegoExtraActor()
{
m_unk0x70 = 0.0f;
m_unk0x08 = 0;
m_unk0x0c = 0;
m_unk0x0e = 0;
m_unk0x14 = 0;
m_unk0x60 = NULL;
m_unk0x64 = NULL;
m_unk0x15 = 0;
}
// STUB: LEGO1 0x1002a6b0
// FUNCTION: LEGO1 0x1002a6b0
LegoExtraActor::~LegoExtraActor()
{
delete m_unk0x60;
delete m_unk0x64;
}
// STUB: LEGO1 0x1002a720