123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498 |
- #include "il2cpp-config.h"
- #ifndef _MSC_VER
- # include <alloca.h>
- #else
- # include <malloc.h>
- #endif
- #include <cstring>
- #include <string.h>
- #include <stdio.h>
- #include <cmath>
- #include <limits>
- #include <assert.h>
- #include <stdint.h>
- #include "il2cpp-class-internals.h"
- #include "codegen/il2cpp-codegen.h"
- #include "il2cpp-object-internals.h"
- // System.String
- struct String_t;
- // System.Type
- struct Type_t;
- // System.Char[]
- struct CharU5BU5D_t3528271667;
- // System.Void
- struct Void_t1185182177;
- // System.Type[]
- struct TypeU5BU5D_t3940880105;
- // System.Reflection.MemberFilter
- struct MemberFilter_t426314064;
- #ifndef RUNTIMEOBJECT_H
- #define RUNTIMEOBJECT_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Object
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // RUNTIMEOBJECT_H
- #ifndef U3CMODULEU3E_T692745547_H
- #define U3CMODULEU3E_T692745547_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // <Module>
- struct U3CModuleU3E_t692745547
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // U3CMODULEU3E_T692745547_H
- #ifndef VALUETYPE_T3640485471_H
- #define VALUETYPE_T3640485471_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.ValueType
- struct ValueType_t3640485471 : public RuntimeObject
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- // Native definition for P/Invoke marshalling of System.ValueType
- struct ValueType_t3640485471_marshaled_pinvoke
- {
- };
- // Native definition for COM marshalling of System.ValueType
- struct ValueType_t3640485471_marshaled_com
- {
- };
- #endif // VALUETYPE_T3640485471_H
- #ifndef MEMBERINFO_T_H
- #define MEMBERINFO_T_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Reflection.MemberInfo
- struct MemberInfo_t : public RuntimeObject
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // MEMBERINFO_T_H
- struct Il2CppArrayBounds;
- #ifndef RUNTIMEARRAY_H
- #define RUNTIMEARRAY_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Array
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // RUNTIMEARRAY_H
- #ifndef JSONUTILITY_T1659017423_H
- #define JSONUTILITY_T1659017423_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngine.JsonUtility
- struct JsonUtility_t1659017423 : public RuntimeObject
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // JSONUTILITY_T1659017423_H
- #ifndef STRING_T_H
- #define STRING_T_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.String
- struct String_t : public RuntimeObject
- {
- public:
- // System.Int32 System.String::length
- int32_t ___length_0;
- // System.Char System.String::start_char
- Il2CppChar ___start_char_1;
- public:
- inline static int32_t get_offset_of_length_0() { return static_cast<int32_t>(offsetof(String_t, ___length_0)); }
- inline int32_t get_length_0() const { return ___length_0; }
- inline int32_t* get_address_of_length_0() { return &___length_0; }
- inline void set_length_0(int32_t value)
- {
- ___length_0 = value;
- }
- inline static int32_t get_offset_of_start_char_1() { return static_cast<int32_t>(offsetof(String_t, ___start_char_1)); }
- inline Il2CppChar get_start_char_1() const { return ___start_char_1; }
- inline Il2CppChar* get_address_of_start_char_1() { return &___start_char_1; }
- inline void set_start_char_1(Il2CppChar value)
- {
- ___start_char_1 = value;
- }
- };
- struct String_t_StaticFields
- {
- public:
- // System.String System.String::Empty
- String_t* ___Empty_2;
- // System.Char[] System.String::WhiteChars
- CharU5BU5D_t3528271667* ___WhiteChars_3;
- public:
- inline static int32_t get_offset_of_Empty_2() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_2)); }
- inline String_t* get_Empty_2() const { return ___Empty_2; }
- inline String_t** get_address_of_Empty_2() { return &___Empty_2; }
- inline void set_Empty_2(String_t* value)
- {
- ___Empty_2 = value;
- Il2CppCodeGenWriteBarrier((&___Empty_2), value);
- }
- inline static int32_t get_offset_of_WhiteChars_3() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___WhiteChars_3)); }
- inline CharU5BU5D_t3528271667* get_WhiteChars_3() const { return ___WhiteChars_3; }
- inline CharU5BU5D_t3528271667** get_address_of_WhiteChars_3() { return &___WhiteChars_3; }
- inline void set_WhiteChars_3(CharU5BU5D_t3528271667* value)
- {
- ___WhiteChars_3 = value;
- Il2CppCodeGenWriteBarrier((&___WhiteChars_3), value);
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // STRING_T_H
- #ifndef ENUM_T4135868527_H
- #define ENUM_T4135868527_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Enum
- struct Enum_t4135868527 : public ValueType_t3640485471
- {
- public:
- public:
- };
- struct Enum_t4135868527_StaticFields
- {
- public:
- // System.Char[] System.Enum::split_char
- CharU5BU5D_t3528271667* ___split_char_0;
- public:
- inline static int32_t get_offset_of_split_char_0() { return static_cast<int32_t>(offsetof(Enum_t4135868527_StaticFields, ___split_char_0)); }
- inline CharU5BU5D_t3528271667* get_split_char_0() const { return ___split_char_0; }
- inline CharU5BU5D_t3528271667** get_address_of_split_char_0() { return &___split_char_0; }
- inline void set_split_char_0(CharU5BU5D_t3528271667* value)
- {
- ___split_char_0 = value;
- Il2CppCodeGenWriteBarrier((&___split_char_0), value);
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- // Native definition for P/Invoke marshalling of System.Enum
- struct Enum_t4135868527_marshaled_pinvoke
- {
- };
- // Native definition for COM marshalling of System.Enum
- struct Enum_t4135868527_marshaled_com
- {
- };
- #endif // ENUM_T4135868527_H
- #ifndef INTPTR_T_H
- #define INTPTR_T_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.IntPtr
- struct IntPtr_t
- {
- public:
- // System.Void* System.IntPtr::m_value
- void* ___m_value_0;
- public:
- inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
- inline void* get_m_value_0() const { return ___m_value_0; }
- inline void** get_address_of_m_value_0() { return &___m_value_0; }
- inline void set_m_value_0(void* value)
- {
- ___m_value_0 = value;
- }
- };
- struct IntPtr_t_StaticFields
- {
- public:
- // System.IntPtr System.IntPtr::Zero
- intptr_t ___Zero_1;
- public:
- inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
- inline intptr_t get_Zero_1() const { return ___Zero_1; }
- inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
- inline void set_Zero_1(intptr_t value)
- {
- ___Zero_1 = value;
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // INTPTR_T_H
- #ifndef RUNTIMETYPEHANDLE_T3027515415_H
- #define RUNTIMETYPEHANDLE_T3027515415_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.RuntimeTypeHandle
- struct RuntimeTypeHandle_t3027515415
- {
- public:
- // System.IntPtr System.RuntimeTypeHandle::value
- intptr_t ___value_0;
- public:
- inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(RuntimeTypeHandle_t3027515415, ___value_0)); }
- inline intptr_t get_value_0() const { return ___value_0; }
- inline intptr_t* get_address_of_value_0() { return &___value_0; }
- inline void set_value_0(intptr_t value)
- {
- ___value_0 = value;
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // RUNTIMETYPEHANDLE_T3027515415_H
- #ifndef BINDINGFLAGS_T2721792723_H
- #define BINDINGFLAGS_T2721792723_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Reflection.BindingFlags
- struct BindingFlags_t2721792723
- {
- public:
- // System.Int32 System.Reflection.BindingFlags::value__
- int32_t ___value___1;
- public:
- inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(BindingFlags_t2721792723, ___value___1)); }
- inline int32_t get_value___1() const { return ___value___1; }
- inline int32_t* get_address_of_value___1() { return &___value___1; }
- inline void set_value___1(int32_t value)
- {
- ___value___1 = value;
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // BINDINGFLAGS_T2721792723_H
- #ifndef TYPE_T_H
- #define TYPE_T_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Type
- struct Type_t : public MemberInfo_t
- {
- public:
- // System.RuntimeTypeHandle System.Type::_impl
- RuntimeTypeHandle_t3027515415 ____impl_1;
- public:
- inline static int32_t get_offset_of__impl_1() { return static_cast<int32_t>(offsetof(Type_t, ____impl_1)); }
- inline RuntimeTypeHandle_t3027515415 get__impl_1() const { return ____impl_1; }
- inline RuntimeTypeHandle_t3027515415 * get_address_of__impl_1() { return &____impl_1; }
- inline void set__impl_1(RuntimeTypeHandle_t3027515415 value)
- {
- ____impl_1 = value;
- }
- };
- struct Type_t_StaticFields
- {
- public:
- // System.Char System.Type::Delimiter
- Il2CppChar ___Delimiter_2;
- // System.Type[] System.Type::EmptyTypes
- TypeU5BU5D_t3940880105* ___EmptyTypes_3;
- // System.Reflection.MemberFilter System.Type::FilterAttribute
- MemberFilter_t426314064 * ___FilterAttribute_4;
- // System.Reflection.MemberFilter System.Type::FilterName
- MemberFilter_t426314064 * ___FilterName_5;
- // System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
- MemberFilter_t426314064 * ___FilterNameIgnoreCase_6;
- // System.Object System.Type::Missing
- RuntimeObject * ___Missing_7;
- public:
- inline static int32_t get_offset_of_Delimiter_2() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Delimiter_2)); }
- inline Il2CppChar get_Delimiter_2() const { return ___Delimiter_2; }
- inline Il2CppChar* get_address_of_Delimiter_2() { return &___Delimiter_2; }
- inline void set_Delimiter_2(Il2CppChar value)
- {
- ___Delimiter_2 = value;
- }
- inline static int32_t get_offset_of_EmptyTypes_3() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___EmptyTypes_3)); }
- inline TypeU5BU5D_t3940880105* get_EmptyTypes_3() const { return ___EmptyTypes_3; }
- inline TypeU5BU5D_t3940880105** get_address_of_EmptyTypes_3() { return &___EmptyTypes_3; }
- inline void set_EmptyTypes_3(TypeU5BU5D_t3940880105* value)
- {
- ___EmptyTypes_3 = value;
- Il2CppCodeGenWriteBarrier((&___EmptyTypes_3), value);
- }
- inline static int32_t get_offset_of_FilterAttribute_4() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterAttribute_4)); }
- inline MemberFilter_t426314064 * get_FilterAttribute_4() const { return ___FilterAttribute_4; }
- inline MemberFilter_t426314064 ** get_address_of_FilterAttribute_4() { return &___FilterAttribute_4; }
- inline void set_FilterAttribute_4(MemberFilter_t426314064 * value)
- {
- ___FilterAttribute_4 = value;
- Il2CppCodeGenWriteBarrier((&___FilterAttribute_4), value);
- }
- inline static int32_t get_offset_of_FilterName_5() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterName_5)); }
- inline MemberFilter_t426314064 * get_FilterName_5() const { return ___FilterName_5; }
- inline MemberFilter_t426314064 ** get_address_of_FilterName_5() { return &___FilterName_5; }
- inline void set_FilterName_5(MemberFilter_t426314064 * value)
- {
- ___FilterName_5 = value;
- Il2CppCodeGenWriteBarrier((&___FilterName_5), value);
- }
- inline static int32_t get_offset_of_FilterNameIgnoreCase_6() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterNameIgnoreCase_6)); }
- inline MemberFilter_t426314064 * get_FilterNameIgnoreCase_6() const { return ___FilterNameIgnoreCase_6; }
- inline MemberFilter_t426314064 ** get_address_of_FilterNameIgnoreCase_6() { return &___FilterNameIgnoreCase_6; }
- inline void set_FilterNameIgnoreCase_6(MemberFilter_t426314064 * value)
- {
- ___FilterNameIgnoreCase_6 = value;
- Il2CppCodeGenWriteBarrier((&___FilterNameIgnoreCase_6), value);
- }
- inline static int32_t get_offset_of_Missing_7() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Missing_7)); }
- inline RuntimeObject * get_Missing_7() const { return ___Missing_7; }
- inline RuntimeObject ** get_address_of_Missing_7() { return &___Missing_7; }
- inline void set_Missing_7(RuntimeObject * value)
- {
- ___Missing_7 = value;
- Il2CppCodeGenWriteBarrier((&___Missing_7), value);
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // TYPE_T_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Object UnityEngine.JsonUtility::FromJson(System.String,System.Type)
- extern "C" IL2CPP_METHOD_ATTR RuntimeObject * JsonUtility_FromJson_m4191471030 (RuntimeObject * __this /* static, unused */, String_t* ___json0, Type_t * ___type1, const RuntimeMethod* method)
- {
- typedef RuntimeObject * (*JsonUtility_FromJson_m4191471030_ftn) (String_t*, Type_t *);
- static JsonUtility_FromJson_m4191471030_ftn _il2cpp_icall_func;
- if (!_il2cpp_icall_func)
- _il2cpp_icall_func = (JsonUtility_FromJson_m4191471030_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.JsonUtility::FromJson(System.String,System.Type)");
- RuntimeObject * retVal = _il2cpp_icall_func(___json0, ___type1);
- return retVal;
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
|