#pragma once

#include "il2cpp-config.h"

#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif

#include <stdint.h>
#include <assert.h>
#include <exception>

// System.Runtime.Serialization.Formatters.Binary.ObjectReader
struct ObjectReader_t3131639422;
// System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
struct BinaryFormatter_t1638665103;
// System.IO.BinaryReader
struct BinaryReader_t3990958868;
// System.Object
struct Il2CppObject;
// System.Runtime.Remoting.Messaging.Header[]
struct HeaderU5BU5D_t856208126;
// System.Runtime.Serialization.SerializationInfo
struct SerializationInfo_t2185721892;
// System.Runtime.Serialization.Formatters.Binary.ObjectReader/TypeMetadata
struct TypeMetadata_t3015042459;
// System.Reflection.MemberInfo
struct MemberInfo_t;
// System.Int32[]
struct Int32U5BU5D_t3230847821;
// System.Array
struct Il2CppArray;
// System.Type
struct Type_t;
// System.String
struct String_t;

#include "codegen/il2cpp-codegen.h"
#include "mscorlib_System_Runtime_Serialization_Formatters_B1638665103.h"
#include "mscorlib_System_IO_BinaryReader3990958868.h"
#include "mscorlib_System_Object4170816371.h"
#include "mscorlib_System_Runtime_Serialization_Formatters_B3504091841.h"
#include "mscorlib_System_Runtime_Serialization_Serializatio2185721892.h"
#include "mscorlib_System_Runtime_Serialization_Formatters_B3015042459.h"
#include "mscorlib_System_Reflection_MemberInfo3995515898.h"
#include "mscorlib_System_Array1146569071.h"
#include "mscorlib_System_Type2863145774.h"
#include "mscorlib_System_String7231557.h"
#include "mscorlib_System_Runtime_Serialization_Formatters_B2420703430.h"

// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::.ctor(System.Runtime.Serialization.Formatters.Binary.BinaryFormatter)
extern "C"  void ObjectReader__ctor_m1992894345 (ObjectReader_t3131639422 * __this, BinaryFormatter_t1638665103 * ___formatter0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadObjectGraph(System.IO.BinaryReader,System.Boolean,System.Object&,System.Runtime.Remoting.Messaging.Header[]&)
extern "C"  void ObjectReader_ReadObjectGraph_m1835146551 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, bool ___readHeaders1, Il2CppObject ** ___result2, HeaderU5BU5D_t856208126** ___headers3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadObjectGraph(System.Runtime.Serialization.Formatters.Binary.BinaryElement,System.IO.BinaryReader,System.Boolean,System.Object&,System.Runtime.Remoting.Messaging.Header[]&)
extern "C"  void ObjectReader_ReadObjectGraph_m2201506625 (ObjectReader_t3131639422 * __this, uint8_t ___elem0, BinaryReader_t3990958868 * ___reader1, bool ___readHeaders2, Il2CppObject ** ___result3, HeaderU5BU5D_t856208126** ___headers4, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadNextObject(System.Runtime.Serialization.Formatters.Binary.BinaryElement,System.IO.BinaryReader)
extern "C"  bool ObjectReader_ReadNextObject_m4049777926 (ObjectReader_t3131639422 * __this, uint8_t ___element0, BinaryReader_t3990958868 * ___reader1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadNextObject(System.IO.BinaryReader)
extern "C"  bool ObjectReader_ReadNextObject_m3897181286 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Object System.Runtime.Serialization.Formatters.Binary.ObjectReader::get_CurrentObject()
extern "C"  Il2CppObject * ObjectReader_get_CurrentObject_m4031544313 (ObjectReader_t3131639422 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadObject(System.Runtime.Serialization.Formatters.Binary.BinaryElement,System.IO.BinaryReader,System.Int64&,System.Object&,System.Runtime.Serialization.SerializationInfo&)
extern "C"  void ObjectReader_ReadObject_m2173880932 (ObjectReader_t3131639422 * __this, uint8_t ___element0, BinaryReader_t3990958868 * ___reader1, int64_t* ___objectId2, Il2CppObject ** ___value3, SerializationInfo_t2185721892 ** ___info4, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadAssembly(System.IO.BinaryReader)
extern "C"  void ObjectReader_ReadAssembly_m464051452 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadObjectInstance(System.IO.BinaryReader,System.Boolean,System.Boolean,System.Int64&,System.Object&,System.Runtime.Serialization.SerializationInfo&)
extern "C"  void ObjectReader_ReadObjectInstance_m253133777 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, bool ___isRuntimeObject1, bool ___hasTypeInfo2, int64_t* ___objectId3, Il2CppObject ** ___value4, SerializationInfo_t2185721892 ** ___info5, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadRefTypeObjectInstance(System.IO.BinaryReader,System.Int64&,System.Object&,System.Runtime.Serialization.SerializationInfo&)
extern "C"  void ObjectReader_ReadRefTypeObjectInstance_m4137899912 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, int64_t* ___objectId1, Il2CppObject ** ___value2, SerializationInfo_t2185721892 ** ___info3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadObjectContent(System.IO.BinaryReader,System.Runtime.Serialization.Formatters.Binary.ObjectReader/TypeMetadata,System.Int64,System.Object&,System.Runtime.Serialization.SerializationInfo&)
extern "C"  void ObjectReader_ReadObjectContent_m4032833558 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, TypeMetadata_t3015042459 * ___metadata1, int64_t ___objectId2, Il2CppObject ** ___objectInstance3, SerializationInfo_t2185721892 ** ___info4, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::RegisterObject(System.Int64,System.Object,System.Runtime.Serialization.SerializationInfo,System.Int64,System.Reflection.MemberInfo,System.Int32[])
extern "C"  void ObjectReader_RegisterObject_m190056615 (ObjectReader_t3131639422 * __this, int64_t ___objectId0, Il2CppObject * ___objectInstance1, SerializationInfo_t2185721892 * ___info2, int64_t ___parentObjectId3, MemberInfo_t * ___parentObjectMemeber4, Int32U5BU5D_t3230847821* ___indices5, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadStringIntance(System.IO.BinaryReader,System.Int64&,System.Object&)
extern "C"  void ObjectReader_ReadStringIntance_m210342955 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, int64_t* ___objectId1, Il2CppObject ** ___value2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadGenericArray(System.IO.BinaryReader,System.Int64&,System.Object&)
extern "C"  void ObjectReader_ReadGenericArray_m166573042 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, int64_t* ___objectId1, Il2CppObject ** ___val2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Object System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadBoxedPrimitiveTypeValue(System.IO.BinaryReader)
extern "C"  Il2CppObject * ObjectReader_ReadBoxedPrimitiveTypeValue_m2629547009 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadArrayOfPrimitiveType(System.IO.BinaryReader,System.Int64&,System.Object&)
extern "C"  void ObjectReader_ReadArrayOfPrimitiveType_m2810313603 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, int64_t* ___objectId1, Il2CppObject ** ___val2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::BlockRead(System.IO.BinaryReader,System.Array,System.Int32)
extern "C"  void ObjectReader_BlockRead_m3199952246 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, Il2CppArray * ___array1, int32_t ___dataSize2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadArrayOfObject(System.IO.BinaryReader,System.Int64&,System.Object&)
extern "C"  void ObjectReader_ReadArrayOfObject_m3481608297 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, int64_t* ___objectId1, Il2CppObject ** ___array2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadArrayOfString(System.IO.BinaryReader,System.Int64&,System.Object&)
extern "C"  void ObjectReader_ReadArrayOfString_m2679882455 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, int64_t* ___objectId1, Il2CppObject ** ___array2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadSimpleArray(System.IO.BinaryReader,System.Type,System.Int64&,System.Object&)
extern "C"  void ObjectReader_ReadSimpleArray_m1445274814 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, Type_t * ___elementType1, int64_t* ___objectId2, Il2CppObject ** ___val3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Runtime.Serialization.Formatters.Binary.ObjectReader/TypeMetadata System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadTypeMetadata(System.IO.BinaryReader,System.Boolean,System.Boolean)
extern "C"  TypeMetadata_t3015042459 * ObjectReader_ReadTypeMetadata_m2931187119 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, bool ___isRuntimeObject1, bool ___hasTypeInfo2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadValue(System.IO.BinaryReader,System.Object,System.Int64,System.Runtime.Serialization.SerializationInfo,System.Type,System.String,System.Reflection.MemberInfo,System.Int32[])
extern "C"  void ObjectReader_ReadValue_m122066046 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, Il2CppObject * ___parentObject1, int64_t ___parentObjectId2, SerializationInfo_t2185721892 * ___info3, Type_t * ___valueType4, String_t* ___fieldName5, MemberInfo_t * ___memberInfo6, Int32U5BU5D_t3230847821* ___indices7, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::SetObjectValue(System.Object,System.String,System.Reflection.MemberInfo,System.Runtime.Serialization.SerializationInfo,System.Object,System.Type,System.Int32[])
extern "C"  void ObjectReader_SetObjectValue_m1699342176 (ObjectReader_t3131639422 * __this, Il2CppObject * ___parentObject0, String_t* ___fieldName1, MemberInfo_t * ___memberInfo2, SerializationInfo_t2185721892 * ___info3, Il2CppObject * ___value4, Type_t * ___valueType5, Int32U5BU5D_t3230847821* ___indices6, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.Serialization.Formatters.Binary.ObjectReader::RecordFixup(System.Int64,System.Int64,System.Object,System.Runtime.Serialization.SerializationInfo,System.String,System.Reflection.MemberInfo,System.Int32[])
extern "C"  void ObjectReader_RecordFixup_m1141700914 (ObjectReader_t3131639422 * __this, int64_t ___parentObjectId0, int64_t ___childObjectId1, Il2CppObject * ___parentObject2, SerializationInfo_t2185721892 * ___info3, String_t* ___fieldName4, MemberInfo_t * ___memberInfo5, Int32U5BU5D_t3230847821* ___indices6, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Type System.Runtime.Serialization.Formatters.Binary.ObjectReader::GetDeserializationType(System.Int64,System.String)
extern "C"  Type_t * ObjectReader_GetDeserializationType_m932539476 (ObjectReader_t3131639422 * __this, int64_t ___assemblyId0, String_t* ___className1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Type System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadType(System.IO.BinaryReader,System.Runtime.Serialization.Formatters.Binary.TypeTag)
extern "C"  Type_t * ObjectReader_ReadType_m524105739 (ObjectReader_t3131639422 * __this, BinaryReader_t3990958868 * ___reader0, uint8_t ___code1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Object System.Runtime.Serialization.Formatters.Binary.ObjectReader::ReadPrimitiveTypeValue(System.IO.BinaryReader,System.Type)
extern "C"  Il2CppObject * ObjectReader_ReadPrimitiveTypeValue_m3787758564 (Il2CppObject * __this /* static, unused */, BinaryReader_t3990958868 * ___reader0, Type_t * ___type1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
