diff --git a/LEGO1/mxstreamchunk.cpp b/LEGO1/mxstreamchunk.cpp index f26f4d53..8dd9ed67 100644 --- a/LEGO1/mxstreamchunk.cpp +++ b/LEGO1/mxstreamchunk.cpp @@ -80,6 +80,18 @@ MxU16* MxStreamChunk::IntoFlags(MxU8* p_buffer) return (MxU16*) (p_buffer + 8); } +// FUNCTION: LEGO1 0x100c3190 +MxU32* MxStreamChunk::IntoPlus0xa(MxU8* p_buffer) +{ + return (MxU32*) (p_buffer + 0xa); +} + +// FUNCTION: LEGO1 0x100c31a0 +MxU32* MxStreamChunk::IntoPlus0xe(MxU8* p_buffer) +{ + return (MxU32*) (p_buffer + 0xe); +} + // FUNCTION: LEGO1 0x100c31b0 MxU32* MxStreamChunk::IntoPlus0x12(MxU8* p_buffer) { diff --git a/LEGO1/mxstreamchunk.h b/LEGO1/mxstreamchunk.h index 0d35ffd9..18bc2335 100644 --- a/LEGO1/mxstreamchunk.h +++ b/LEGO1/mxstreamchunk.h @@ -36,12 +36,8 @@ class MxStreamChunk : public MxDSChunk { static MxU16* IntoFlags(MxU8* p_buffer); static MxU32* IntoPlus0x12(MxU8* p_buffer); - - // FUNCTION: LEGO1 0x100c3190 - static MxU32* ReturnPlus10Ptr(MxU32* p_chunk) { return p_chunk + 10; } - - // FUNCTION: LEGO1 0x100c31a0 - static MxU32* ReturnPlus14Ptr(MxU32* p_chunk) { return p_chunk + 14; } + static MxU32* IntoPlus0xa(MxU8* p_buffer); + static MxU32* IntoPlus0xe(MxU8* p_buffer); private: MxDSBuffer* m_buffer; // 0x1c