remove accidently commited code

This commit is contained in:
Misha 2023-12-22 09:03:48 -05:00
parent dcb07b3643
commit 8db44555e1
No known key found for this signature in database
GPG Key ID: 8441D12AEF33FED8

View File

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