Skip to content

Commit 94f479c

Browse files
authored
Match AmberWolf0x98 ctor (isledecomp#22)
1 parent 7862f8e commit 94f479c

2 files changed

Lines changed: 31 additions & 4 deletions

File tree

LEGORacers/include/amberwolf0x98.h

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// SIZE 0x98
1414
class AmberWolf0x98 : public IndigoStar0x18 {
1515
public:
16+
AmberWolf0x98();
1617
~AmberWolf0x98() override; // vtable+0x00
1718
undefined4 VTable0x04(undefined4) override; // vtable+0x04
1819
void VTable0x08() override; // vtable+0x08
@@ -31,16 +32,25 @@ class AmberWolf0x98 : public IndigoStar0x18 {
3132

3233
private:
3334
undefined4 m_unk0x18; // 0x18
34-
undefined m_unk0x1c[0x24 - 0x1c]; // 0x1c
35+
undefined4 m_unk0x1c; // 0x1c
36+
undefined4 m_unk0x20; // 0x20
3537
IUnknown* m_unk0x24; // 0x24
36-
undefined m_unk0x28[0x30 - 0x28]; // 0x28
38+
undefined4 m_unk0x28; // 0x28
39+
undefined4 m_unk0x2c; // 0x2c
3740
IUnknown* m_unk0x30; // 0x30
38-
undefined m_unk0x34[0x3c - 0x34]; // 0x34
41+
undefined m_unk0x34; // 0x34
42+
undefined m_unk0x35; // 0x35
43+
undefined m_unk0x36[0x38 - 0x36]; // 0x36
44+
undefined4 m_unk0x38; // 0x38
3945
ListHead m_unk0x3c; // 0x3c
4046
ListHead m_unk0x48; // 0x48
4147
undefined4 m_unk0x54; // 0x54
4248
undefined4 m_unk0x58; // 0x58
43-
undefined m_unk0x5c[0x98 - 0x5c]; // 0x5c
49+
ListHead m_unk0x5c; // 0x5c
50+
ListHead m_unk0x68; // 0x68
51+
ListHead m_unk0x74; // 0x74
52+
ListHead m_unk0x80; // 0x80
53+
ListHead m_unk0x8c; // 0x8c
4454
};
4555

4656
#endif // AMBERWOLF0X98_H

LEGORacers/src/amberwolf0x98.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,23 @@
99

1010
DECOMP_SIZE_ASSERT(AmberWolf0x98, 0x98)
1111

12+
// FUNCTION: LEGORACERS 0x4185d0
13+
AmberWolf0x98::AmberWolf0x98()
14+
{
15+
m_unk0x28 = 2;
16+
m_unk0x34 = 2;
17+
m_unk0x20 = 0;
18+
m_unk0x1c = 0;
19+
m_unk0x24 = NULL;
20+
m_unk0x2c = 0;
21+
m_unk0x30 = NULL;
22+
m_unk0x38 = 22050;
23+
m_unk0x35 = 16;
24+
m_unk0x18 = 0;
25+
m_unk0x58 = 0;
26+
m_unk0x54 = 0;
27+
}
28+
1229
// FUNCTION: LEGORACERS 0x4186a0
1330
AmberWolf0x98::~AmberWolf0x98()
1431
{

0 commit comments

Comments
 (0)