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

View file

@ -43,15 +43,22 @@ class LegoExtraActor : public virtual LegoAnimActor {
// LegoExtraActor::`scalar deleting destructor' // LegoExtraActor::`scalar deleting destructor'
private: private:
undefined4 m_unk0x08; // 0x08 undefined4 m_unk0x08; // 0x08
undefined m_unk0x0c; // 0x0c undefined m_unk0x0c; // 0x0c
undefined m_unk0x0d; // 0x0d undefined m_unk0x0d; // 0x0d
undefined m_unk0x0e; // 0x0e undefined m_unk0x0e; // 0x0e
undefined4 m_unk0x10; // 0x10 undefined4 m_unk0x10; // 0x10
MxU8 m_unk0x14; // 0x14 MxU8 m_unk0x14; // 0x14
MxMatrix m_unk0x18; // 0x18 MxU8 m_unk0x15; // 0x15
undefined4 m_unk0x60; // 0x60 MxMatrix m_unk0x18; // 0x18
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 #endif // LEGOEXTRAACTOR_H

View file

@ -2,14 +2,24 @@
DECOMP_SIZE_ASSERT(LegoExtraActor, 0x1dc) DECOMP_SIZE_ASSERT(LegoExtraActor, 0x1dc)
// STUB: LEGO1 0x1002a500 // FUNCTION: LEGO1 0x1002a500
LegoExtraActor::LegoExtraActor() 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() LegoExtraActor::~LegoExtraActor()
{ {
delete m_unk0x60;
delete m_unk0x64;
} }
// STUB: LEGO1 0x1002a720 // STUB: LEGO1 0x1002a720