| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336 |
- #include "pch-cpp.hpp"
- #ifndef _MSC_VER
- # include <alloca.h>
- #else
- # include <malloc.h>
- #endif
- #include <limits>
- struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
- struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
- struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263;
- struct CancellationTokenSource_tAAE1E0033BCFC233801F8CB4CED5C852B350CB7B;
- struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
- struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
- struct String_t;
- struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
- IL2CPP_EXTERN_C RuntimeClass* ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C String_t* _stringLiteral8B9E56C5D95D7C3EED5199236F70D44573B11813;
- IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
- IL2CPP_EXTERN_C const RuntimeMethod* JsonUtility_ToJson_m53A1FEE0D388CF3A629E093C04B5E1A6D5463B53_RuntimeMethod_var;
- struct Exception_t_marshaled_com;
- struct Exception_t_marshaled_pinvoke;
- IL2CPP_EXTERN_C_BEGIN
- IL2CPP_EXTERN_C_END
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- struct U3CModuleU3E_t2F9091E403B25A5364AE8A6B2C249E31D405E3F4
- {
- };
- struct JsonUtility_t731013D97E03B7EDAE6186D6D6826A53B85F7197 : public RuntimeObject
- {
- };
- struct String_t : public RuntimeObject
- {
- int32_t ____stringLength;
- Il2CppChar ____firstChar;
- };
- struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
- {
- };
- struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
- {
- };
- struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
- {
- };
- struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
- {
- bool ___m_value;
- };
- struct IntPtr_t
- {
- void* ___m_value;
- };
- struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
- {
- union
- {
- struct
- {
- };
- uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
- };
- };
- struct Exception_t : public RuntimeObject
- {
- String_t* ____className;
- String_t* ____message;
- RuntimeObject* ____data;
- Exception_t* ____innerException;
- String_t* ____helpURL;
- RuntimeObject* ____stackTrace;
- String_t* ____stackTraceString;
- String_t* ____remoteStackTraceString;
- int32_t ____remoteStackIndex;
- RuntimeObject* ____dynamicMethods;
- int32_t ____HResult;
- String_t* ____source;
- SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager;
- StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces;
- IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832* ___native_trace_ips;
- int32_t ___caught_in_unmanaged;
- };
- struct Exception_t_marshaled_pinvoke
- {
- char* ____className;
- char* ____message;
- RuntimeObject* ____data;
- Exception_t_marshaled_pinvoke* ____innerException;
- char* ____helpURL;
- Il2CppIUnknown* ____stackTrace;
- char* ____stackTraceString;
- char* ____remoteStackTraceString;
- int32_t ____remoteStackIndex;
- Il2CppIUnknown* ____dynamicMethods;
- int32_t ____HResult;
- char* ____source;
- SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager;
- StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces;
- Il2CppSafeArray* ___native_trace_ips;
- int32_t ___caught_in_unmanaged;
- };
- struct Exception_t_marshaled_com
- {
- Il2CppChar* ____className;
- Il2CppChar* ____message;
- RuntimeObject* ____data;
- Exception_t_marshaled_com* ____innerException;
- Il2CppChar* ____helpURL;
- Il2CppIUnknown* ____stackTrace;
- Il2CppChar* ____stackTraceString;
- Il2CppChar* ____remoteStackTraceString;
- int32_t ____remoteStackIndex;
- Il2CppIUnknown* ____dynamicMethods;
- int32_t ____HResult;
- Il2CppChar* ____source;
- SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager;
- StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces;
- Il2CppSafeArray* ___native_trace_ips;
- int32_t ___caught_in_unmanaged;
- };
- struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
- {
- intptr_t ___m_CachedPtr;
- };
- struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
- {
- intptr_t ___m_CachedPtr;
- };
- struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
- {
- intptr_t ___m_CachedPtr;
- };
- struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
- {
- };
- struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
- {
- };
- struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_pinvoke : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
- {
- };
- struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_com : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
- {
- };
- struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
- {
- };
- struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
- {
- String_t* ____paramName;
- };
- struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
- {
- };
- struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
- {
- CancellationTokenSource_tAAE1E0033BCFC233801F8CB4CED5C852B350CB7B* ___m_CancellationTokenSource;
- };
- struct String_t_StaticFields
- {
- String_t* ___Empty;
- };
- struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
- {
- String_t* ___TrueString;
- String_t* ___FalseString;
- };
- struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
- {
- int32_t ___OffsetOfInstanceIDInCPlusPlusObject;
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* JsonUtility_ToJson_m53A1FEE0D388CF3A629E093C04B5E1A6D5463B53 (RuntimeObject* ___0_obj, bool ___1_prettyPrint, const RuntimeMethod* method) ;
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465 (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* __this, String_t* ___0_message, const RuntimeMethod* method) ;
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* JsonUtility_ToJsonInternal_mB893BE1511779B2E36B24BC77D2FB52BF5894CDD (RuntimeObject* ___0_obj, bool ___1_prettyPrint, const RuntimeMethod* method) ;
- #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
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* JsonUtility_ToJsonInternal_mB893BE1511779B2E36B24BC77D2FB52BF5894CDD (RuntimeObject* ___0_obj, bool ___1_prettyPrint, const RuntimeMethod* method)
- {
- typedef String_t* (*JsonUtility_ToJsonInternal_mB893BE1511779B2E36B24BC77D2FB52BF5894CDD_ftn) (RuntimeObject*, bool);
- static JsonUtility_ToJsonInternal_mB893BE1511779B2E36B24BC77D2FB52BF5894CDD_ftn _il2cpp_icall_func;
- if (!_il2cpp_icall_func)
- _il2cpp_icall_func = (JsonUtility_ToJsonInternal_mB893BE1511779B2E36B24BC77D2FB52BF5894CDD_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.JsonUtility::ToJsonInternal(System.Object,System.Boolean)");
- String_t* icallRetVal = _il2cpp_icall_func(___0_obj, ___1_prettyPrint);
- return icallRetVal;
- }
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* JsonUtility_ToJson_m28CC6843B9D3723D88AD13EA3829B71FDE7826BA (RuntimeObject* ___0_obj, const RuntimeMethod* method)
- {
- String_t* V_0 = NULL;
- {
- RuntimeObject* L_0 = ___0_obj;
- String_t* L_1;
- L_1 = JsonUtility_ToJson_m53A1FEE0D388CF3A629E093C04B5E1A6D5463B53(L_0, (bool)0, NULL);
- V_0 = L_1;
- goto IL_000b;
- }
- IL_000b:
- {
- String_t* L_2 = V_0;
- return L_2;
- }
- }
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* JsonUtility_ToJson_m53A1FEE0D388CF3A629E093C04B5E1A6D5463B53 (RuntimeObject* ___0_obj, bool ___1_prettyPrint, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
- s_Il2CppMethodInitialized = true;
- }
- bool V_0 = false;
- String_t* V_1 = NULL;
- bool V_2 = false;
- int32_t G_B6_0 = 0;
- int32_t G_B8_0 = 0;
- {
- RuntimeObject* L_0 = ___0_obj;
- V_0 = (bool)((((RuntimeObject*)(RuntimeObject*)L_0) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
- bool L_1 = V_0;
- if (!L_1)
- {
- goto IL_0011;
- }
- }
- {
- V_1 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
- goto IL_004c;
- }
- IL_0011:
- {
- RuntimeObject* L_2 = ___0_obj;
- if (!((Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)IsInstClass((RuntimeObject*)L_2, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var)))
- {
- goto IL_0032;
- }
- }
- {
- RuntimeObject* L_3 = ___0_obj;
- if (((MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71*)IsInstClass((RuntimeObject*)L_3, MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71_il2cpp_TypeInfo_var)))
- {
- goto IL_002f;
- }
- }
- {
- RuntimeObject* L_4 = ___0_obj;
- G_B6_0 = ((((int32_t)((!(((RuntimeObject*)(ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A*)((ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A*)IsInstClass((RuntimeObject*)L_4, ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
- goto IL_0030;
- }
- IL_002f:
- {
- G_B6_0 = 0;
- }
- IL_0030:
- {
- G_B8_0 = G_B6_0;
- goto IL_0033;
- }
- IL_0032:
- {
- G_B8_0 = 0;
- }
- IL_0033:
- {
- V_2 = (bool)G_B8_0;
- bool L_5 = V_2;
- if (!L_5)
- {
- goto IL_0042;
- }
- }
- {
- ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_6 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
- ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_6, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral8B9E56C5D95D7C3EED5199236F70D44573B11813)), NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&JsonUtility_ToJson_m53A1FEE0D388CF3A629E093C04B5E1A6D5463B53_RuntimeMethod_var)));
- }
- IL_0042:
- {
- RuntimeObject* L_7 = ___0_obj;
- bool L_8 = ___1_prettyPrint;
- String_t* L_9;
- L_9 = JsonUtility_ToJsonInternal_mB893BE1511779B2E36B24BC77D2FB52BF5894CDD(L_7, L_8, NULL);
- V_1 = L_9;
- goto IL_004c;
- }
- IL_004c:
- {
- String_t* L_10 = V_1;
- return L_10;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
|