44#include " amberlens0x344.h"
55#include " boundingshape0x2c.h"
66#include " cmbmodelpart0x34.h"
7+ #include " floatybarge0x4c.h"
78#include " gdbmodel0x48.h"
89#include " golerror.h"
910#include " greyfalconnode0x1c.h"
11+ #include " mabmaterialanimation0x14.h"
1012#include " purpleribbon0x24.h"
1113#include " shadowwolf0xc.h"
1214
@@ -34,67 +36,55 @@ FluffyGloomkins0x118::~FluffyGloomkins0x118()
3436}
3537
3638// FUNCTION: GOLDP 0x10017250
37- MagentaRibbon0x20* FluffyGloomkins0x118::VTable0x2c (LegoU32 p_index)
39+ MagentaRibbon0x20* FluffyGloomkins0x118::VTable0x2c (LegoU32 p_index) const
3840{
3941 return &m_unk0xf0[p_index];
4042}
4143
4244// FUNCTION: GOLDP 0x10017270
43- AmberHaze0x1c* FluffyGloomkins0x118::VTable0x30 (LegoU32 p_index)
45+ AmberHaze0x1c* FluffyGloomkins0x118::VTable0x30 (LegoU32 p_index) const
4446{
4547 return &m_unk0xf4[p_index];
4648}
4749
48- // STUB : GOLDP 0x10017290
49- CmbModelPart0x34* FluffyGloomkins0x118::VTable0x34 (LegoU32 p_index)
50+ // FUNCTION : GOLDP 0x10017290
51+ CmbModelPart0x34* FluffyGloomkins0x118::VTable0x34 (LegoU32 p_index) const
5052{
5153 return &m_unk0x10c[p_index];
5254}
5355
54- // STUB : GOLDP 0x100172b0
55- IGdbModel0x40* FluffyGloomkins0x118::VTable0x38 (LegoU32 p_index)
56+ // FUNCTION : GOLDP 0x100172b0
57+ IGdbModel0x40* FluffyGloomkins0x118::VTable0x38 (LegoU32 p_index) const
5658{
5759 return &m_unk0xf8[p_index];
5860}
5961
60- // STUB : GOLDP 0x100172d0
61- ShadowWolf0xc* FluffyGloomkins0x118::VTable0x3c (LegoU32 p_index)
62+ // FUNCTION : GOLDP 0x100172d0
63+ ShadowWolf0xc* FluffyGloomkins0x118::VTable0x3c (LegoU32 p_index) const
6264{
6365 return &m_unk0x104[p_index];
6466}
6567
6668// STUB: GOLDP 0x100172f0
67- undefined4 * FluffyGloomkins0x118::VTable0x40 (LegoU32 p_index)
69+ WhiteFalconNode0x18 * FluffyGloomkins0x118::VTable0x40 (LegoU32 p_index) const
6870{
69- #if 0
7071 return &m_unk0xfc[p_index];
71- #else
72- // TODO
73- STUB (0x100172f0 );
74- return NULL ;
75- #endif
7672}
7773
7874// FUNCTION: GOLDP 0x10017310
79- BoundingShape0x2c* FluffyGloomkins0x118::VTable0x44 (LegoU32 p_index)
75+ BoundingShape0x2c* FluffyGloomkins0x118::VTable0x44 (LegoU32 p_index) const
8076{
8177 return &m_unk0x110[p_index];
8278}
8379
84- // STUB : GOLDP 0x10017330
85- undefined4 * FluffyGloomkins0x118::VTable0x48 (LegoU32 p_index)
80+ // FUNCTION : GOLDP 0x10017330
81+ FloatyBoat0x28 * FluffyGloomkins0x118::VTable0x48 (LegoU32 p_index) const
8682{
87- #if 0
8883 return &m_unk0x100[p_index];
89- #else
90- // TODO
91- STUB (0x10017330 );
92- return NULL ;
93- #endif
9484}
9585
9686// STUB: GOLDP 0x10017350
97- undefined4* FluffyGloomkins0x118::VTable0x4c (LegoU32 p_index)
87+ undefined4* FluffyGloomkins0x118::VTable0x4c (LegoU32 p_index) const
9888{
9989#if 0
10090 return &m_unk0x108[p_index];
@@ -106,7 +96,7 @@ undefined4* FluffyGloomkins0x118::VTable0x4c(LegoU32 p_index)
10696}
10797
10898// STUB: GOLDP 0x10017370
109- undefined4* FluffyGloomkins0x118::VTable0x50 (LegoU32 p_index)
99+ undefined4* FluffyGloomkins0x118::VTable0x50 (LegoU32 p_index) const
110100{
111101#if 0
112102 return &m_unk0x114[p_index];
@@ -117,8 +107,8 @@ undefined4* FluffyGloomkins0x118::VTable0x50(LegoU32 p_index)
117107#endif
118108}
119109
120- // STUB : GOLDP 0x10017390
121- undefined4* FluffyGloomkins0x118::VTable0x08 ()
110+ // FUNCTION : GOLDP 0x10017390
111+ void FluffyGloomkins0x118::VTable0x08 ()
122112{
123113 if (GetUnk0x0c () != 0 ) {
124114 m_unk0xf0 = new PurpleRibbon0x24[GetUnk0x0c ()];
@@ -169,17 +159,26 @@ undefined4* FluffyGloomkins0x118::VTable0x08()
169159 }
170160 }
171161
172- // ...
162+ if (GetUnk0x6c () != 0 ) {
163+ m_unk0x100 = new FloatyBarge0x4c[GetUnk0x6c ()];
164+ if (m_unk0x100 == NULL ) {
165+ GOL_FATALERROR (c_golErrorOutOfMemory);
166+ }
167+ }
168+
169+ if (GetUnk0x74 () != 0 ) {
170+ m_unk0x108 = new MabMaterialAnimation0x14[GetUnk0x74 ()];
171+ if (m_unk0x108 == NULL ) {
172+ GOL_FATALERROR (c_golErrorOutOfMemory);
173+ }
174+ }
173175
174176 if (GetUnk0x7c ()) {
175177 m_unk0x114 = new AmberLens0x344[GetUnk0x7c ()];
176178 if (m_unk0x114 == NULL ) {
177179 GOL_FATALERROR (c_golErrorOutOfMemory);
178180 }
179181 }
180- // TODO
181- STUB (0x10017390 );
182- return NULL ;
183182}
184183
185184// STUB: GOLDP 0x10017ac0
0 commit comments