Refactor functions

This commit is contained in:
Christian Semmler 2023-12-26 16:19:43 -05:00
parent 4f302820e7
commit e0ceeac3a3
2 changed files with 14 additions and 6 deletions

View File

@ -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)
{

View File

@ -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