From 8db44555e1154c87d76bf99e234b8ae9555c7226 Mon Sep 17 00:00:00 2001 From: Misha <106913236+MishaProductions@users.noreply.github.com> Date: Fri, 22 Dec 2023 09:03:48 -0500 Subject: [PATCH] remove accidently commited code --- LEGO1/mxramstreamcontroller.cpp | 36 +-------------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) diff --git a/LEGO1/mxramstreamcontroller.cpp b/LEGO1/mxramstreamcontroller.cpp index 178df3e1..24c5a79d 100644 --- a/LEGO1/mxramstreamcontroller.cpp +++ b/LEGO1/mxramstreamcontroller.cpp @@ -92,42 +92,8 @@ MxResult MxRAMStreamController::DeserializeObject(MxDSStreamingAction& p_action) return result; } -// FUNCTION: LEGO1 0x100d0d80 +// STUB: LEGO1 0x100d0d80 undefined* __cdecl ReadData(MxU32* p_fileSizeBuffer, MxU32 p_fileSize) { - MxU32* ptr = p_fileSizeBuffer; - MxU32* end = p_fileSizeBuffer + p_fileSize; - MxU32 objectId; - - if (p_fileSizeBuffer < end) { - do { - MxU32* oldPtr = ptr; - if (*ptr = FOURCC('M', 'x', 'O', 'b')) { - ptr += 8; - - MxDSObject* object = DeserializeDSObjectDispatch((MxU8**) &ptr, -1); - objectId = object->GetObjectId(); - delete object; - - ptr = (MxU32*) (oldPtr + oldPtr[1] + (oldPtr[1] & 1) + 8); - - if (ptr < end) { - do { - oldPtr = ptr; - if (*ptr == FOURCC('M', 'x', 'C', 'h')) { - // todo - } - else { - ptr++; - } - } while (ptr < end); - } - } - else { - ptr++; - } - } while (ptr < end); - } - return NULL; }