mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 23:01:16 +00:00
Assert size
This commit is contained in:
parent
b1d8a1d7e8
commit
fb13aac014
@ -4,6 +4,13 @@
|
|||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
// Very likely but not certain sizes.
|
||||||
|
// The classes are only used on the stack in functions we have not 100% matched
|
||||||
|
// yet, we can confirm the size once we have.
|
||||||
|
DECOMP_SIZE_ASSERT(LegoStream, 0x8);
|
||||||
|
DECOMP_SIZE_ASSERT(LegoFileStream, 0xC);
|
||||||
|
DECOMP_SIZE_ASSERT(LegoMemoryStream, 0x10);
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x10045ae0
|
// OFFSET: LEGO1 0x10045ae0
|
||||||
MxBool LegoStream::IsWriteMode()
|
MxBool LegoStream::IsWriteMode()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
#define LEGOSTREAM_MODE_READ 1
|
#define LEGOSTREAM_MODE_READ 1
|
||||||
#define LEGOSTREAM_MODE_WRITE 2
|
#define LEGOSTREAM_MODE_WRITE 2
|
||||||
|
|
||||||
|
// VTABLE 0x100d7d80
|
||||||
class LegoStream
|
class LegoStream
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -34,6 +35,7 @@ class LegoStream
|
|||||||
MxU8 m_mode;
|
MxU8 m_mode;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// VTABLE 0x100db730
|
||||||
class LegoFileStream : public LegoStream
|
class LegoFileStream : public LegoStream
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -51,6 +53,7 @@ class LegoFileStream : public LegoStream
|
|||||||
FILE *m_hFile;
|
FILE *m_hFile;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// VTABLE 0x100db710
|
||||||
class LegoMemoryStream : public LegoStream
|
class LegoMemoryStream : public LegoStream
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user