mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
complete and match LegoState vtable (#216)
This commit is contained in:
@@ -11,3 +11,23 @@ LegoState::~LegoState()
|
|||||||
MxBool LegoState::VTable0x14() {
|
MxBool LegoState::VTable0x14() {
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x10005fa0
|
||||||
|
MxBool LegoState::VTable0x18() {
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x10005fb0
|
||||||
|
MxResult LegoState::VTable0x1C(LegoState *p_legoState)
|
||||||
|
{
|
||||||
|
if (p_legoState->VTable0x14()) {
|
||||||
|
p_legoState->FUN_10006030(this->ClassName());
|
||||||
|
}
|
||||||
|
return SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x10006030 STUB
|
||||||
|
void LegoState::FUN_10006030(MxString p_str)
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
@@ -4,6 +4,7 @@
|
|||||||
#include "decomp.h"
|
#include "decomp.h"
|
||||||
|
|
||||||
#include "mxcore.h"
|
#include "mxcore.h"
|
||||||
|
#include "mxstring.h"
|
||||||
|
|
||||||
// VTABLE 0x100d46c0
|
// VTABLE 0x100d46c0
|
||||||
class LegoState : public MxCore
|
class LegoState : public MxCore
|
||||||
@@ -24,8 +25,11 @@ public:
|
|||||||
return !strcmp(name, LegoState::ClassName()) || MxCore::IsA(name);
|
return !strcmp(name, LegoState::ClassName()) || MxCore::IsA(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual MxBool VTable0x14();
|
virtual MxBool VTable0x14(); // vtable+0x14
|
||||||
|
virtual MxBool VTable0x18(); // vtable+0x18
|
||||||
|
virtual MxResult VTable0x1C(LegoState *p_legoState); // vtable+0x1C
|
||||||
|
|
||||||
|
void FUN_10006030(MxString p_str);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // LEGOSTATE_H
|
#endif // LEGOSTATE_H
|
||||||
|
Reference in New Issue
Block a user