2023-04-27 22:19:39 -04:00
|
|
|
#ifndef MXSTREAMCONTROLLER_H
|
|
|
|
#define MXSTREAMCONTROLLER_H
|
|
|
|
|
2023-09-25 22:30:56 -04:00
|
|
|
#include "decomp.h"
|
2023-06-19 01:36:07 -04:00
|
|
|
#include "mxatomid.h"
|
2023-09-25 22:30:56 -04:00
|
|
|
#include "mxcriticalsection.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "mxcore.h"
|
2023-09-25 22:30:56 -04:00
|
|
|
#include "mxdsobject.h"
|
2023-10-07 09:05:44 -04:00
|
|
|
#include "mxdsaction.h"
|
2023-06-19 01:36:07 -04:00
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
// VTABLE 0x100dc968
|
2023-09-25 22:30:56 -04:00
|
|
|
// SIZE 0x64
|
2023-06-29 04:10:08 -04:00
|
|
|
class MxStreamController : public MxCore
|
2023-04-27 22:19:39 -04:00
|
|
|
{
|
|
|
|
public:
|
2023-09-25 22:30:56 -04:00
|
|
|
MxStreamController();
|
|
|
|
|
|
|
|
virtual ~MxStreamController() override; // vtable+0x0
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
// OFFSET: LEGO1 0x100c0f10
|
|
|
|
inline virtual const char *ClassName() const override // vtable+0xc
|
|
|
|
{
|
|
|
|
// 0x10102130
|
|
|
|
return "MxStreamController";
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100c0f20
|
|
|
|
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
|
|
|
{
|
|
|
|
return !strcmp(name, MxStreamController::ClassName()) || MxCore::IsA(name);
|
|
|
|
}
|
|
|
|
|
2023-09-25 22:30:56 -04:00
|
|
|
virtual MxResult Open(const char *p_filename); // vtable+0x14
|
2023-10-07 09:05:44 -04:00
|
|
|
virtual MxResult vtable0x18(undefined4 p_unknown, undefined4 p_unknown2); //vtable+0x18
|
|
|
|
virtual MxResult vtable0x1C(undefined4 p_unknown, undefined4 p_unknown2); //vtable+0x1c
|
2023-10-08 16:41:34 -04:00
|
|
|
virtual MxResult vtable0x20(MxDSAction* p_action); //vtable+0x20
|
|
|
|
virtual MxResult vtable0x24(undefined4 p_unknown); //vtable+0x24
|
|
|
|
virtual MxResult vtable0x28(); //vtable+0x28
|
|
|
|
virtual MxResult vtable0x2c(undefined4 p_unknown1, undefined4 p_unknow2); //vtable+0x2c
|
|
|
|
virtual MxResult vtable0x30(undefined4 p_unknown); //vtable+0x30
|
2023-09-25 22:30:56 -04:00
|
|
|
|
|
|
|
MxBool FUN_100c20d0(MxDSObject &p_obj);
|
|
|
|
|
2023-10-08 16:41:34 -04:00
|
|
|
inline MxAtomId &GetAtom() { return atom; };
|
|
|
|
protected:
|
2023-09-25 22:30:56 -04:00
|
|
|
MxCriticalSection m_criticalSection;
|
2023-04-27 22:19:39 -04:00
|
|
|
MxAtomId atom;
|
2023-10-08 16:41:34 -04:00
|
|
|
undefined4 m_unk28; // MxStreamProvider*
|
|
|
|
undefined4 m_unk2c;
|
2023-09-25 22:30:56 -04:00
|
|
|
undefined m_unk30[0x34];
|
2023-04-27 22:19:39 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXSTREAMCONTROLLER_H
|