isle-portable/LEGO1/legostate.h
Ramen2X 7c26a4d2dc
fix LegoState::VTable0x1C fake-match & implement LegoFileStream::FUN_10006030 (#217)
* fix LegoState::VTable0x1C fake-match, implement LegoFileStream::FUN_10006030

* Match and relocate FUN_10006030

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-10-18 00:05:31 +02:00

34 lines
777 B
C++

#ifndef LEGOSTATE_H
#define LEGOSTATE_H
#include "decomp.h"
#include "mxcore.h"
#include "mxstring.h"
#include "legostream.h"
// VTABLE 0x100d46c0
class LegoState : public MxCore
{
public:
virtual ~LegoState() override; // vtable+0x00
// OFFSET: LEGO1 0x100060d0
inline virtual const char *ClassName() const override // vtable+0x0c
{
// 0x100f01b8
return "LegoState";
}
// OFFSET: LEGO1 0x100060e0
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
{
return !strcmp(name, LegoState::ClassName()) || MxCore::IsA(name);
}
virtual MxBool VTable0x14(); // vtable+0x14
virtual MxBool VTable0x18(); // vtable+0x18
virtual MxResult VTable0x1C(LegoFileStream *p_legoFileStream); // vtable+0x1C
};
#endif // LEGOSTATE_H