1. 이동시 Rigdoby와 Nav 충돌나는거 수정 2. 데이터 매니저에서 데이터 받아오는것에 대한 방식을 대폭 수정 3. 스폰 컨트롤러 방식 조금 수정 4. 벽과 플레이어 캐릭터 충돌시 미끄러지는 기능 추가(다른 오브젝트와는 테스트 안해 봄) - 캐릭터 컨트롤러에 스테이터스 하는거 손 봐야 함
854 lines
34 KiB
C++
854 lines
34 KiB
C++
#include "pch-cpp.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
template <typename R>
|
|
struct VirtualFuncInvoker0
|
|
{
|
|
typedef R (*Func)(void*, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
template <typename R, typename T1>
|
|
struct VirtualFuncInvoker1
|
|
{
|
|
typedef R (*Func)(void*, T1, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
|
|
}
|
|
};
|
|
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
|
|
struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
|
|
struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
|
|
struct TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB;
|
|
struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263;
|
|
struct ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129;
|
|
struct Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235;
|
|
struct CancellationTokenSource_tAAE1E0033BCFC233801F8CB4CED5C852B350CB7B;
|
|
struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
|
|
struct MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553;
|
|
struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
|
|
struct String_t;
|
|
struct Type_t;
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
|
|
|
|
IL2CPP_EXTERN_C RuntimeClass* ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129_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* _stringLiteral1A021298794A95A088D89F0DFEE478EB088FC94B;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral690BF02630AC0BD6AA6BD08D2C36A28E1FC54F3E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8B9E56C5D95D7C3EED5199236F70D44573B11813;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral9149DCC4875937380DD00ED5471A7A1258254B95;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralF3C6C902DBF80139640F6554F0C3392016A8ADF7;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* JsonUtility_FromJson_m6DF4F85BE40F8A96BAFEC189306813ECE30DF44A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* JsonUtility_ToJson_m53A1FEE0D388CF3A629E093C04B5E1A6D5463B53_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeType* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_0_0_0_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 MemberInfo_t : 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 Char_t521A6F19B456D956AF452D926C32709DC03D6B17
|
|
{
|
|
Il2CppChar ___m_value;
|
|
};
|
|
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
|
|
{
|
|
int32_t ___m_value;
|
|
};
|
|
struct IntPtr_t
|
|
{
|
|
void* ___m_value;
|
|
};
|
|
struct ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E
|
|
{
|
|
void* ___begin;
|
|
int32_t ___length;
|
|
};
|
|
struct UInt64_t8F12534CC8FC4B5860F2A2CD1EE79D322E7A41AF
|
|
{
|
|
uint64_t ___m_value;
|
|
};
|
|
struct UIntPtr_t
|
|
{
|
|
void* ____pointer;
|
|
};
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
};
|
|
uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
|
|
};
|
|
};
|
|
struct ByReference_1_t7BA5A6CA164F770BC688F21C5978D368716465F5
|
|
{
|
|
intptr_t ____value;
|
|
};
|
|
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 RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B
|
|
{
|
|
intptr_t ___value;
|
|
};
|
|
struct ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1
|
|
{
|
|
ByReference_1_t7BA5A6CA164F770BC688F21C5978D368716465F5 ____pointer;
|
|
int32_t ____length;
|
|
};
|
|
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 Type_t : public MemberInfo_t
|
|
{
|
|
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B ____impl;
|
|
};
|
|
struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
String_t* ____paramName;
|
|
};
|
|
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
struct ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129 : public ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263
|
|
{
|
|
};
|
|
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 Char_t521A6F19B456D956AF452D926C32709DC03D6B17_StaticFields
|
|
{
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___s_categoryForLatin1;
|
|
};
|
|
struct UIntPtr_t_StaticFields
|
|
{
|
|
uintptr_t ___Zero;
|
|
};
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
|
|
{
|
|
int32_t ___OffsetOfInstanceIDInCPlusPlusObject;
|
|
};
|
|
struct Type_t_StaticFields
|
|
{
|
|
Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235* ___s_defaultBinder;
|
|
Il2CppChar ___Delimiter;
|
|
TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB* ___EmptyTypes;
|
|
RuntimeObject* ___Missing;
|
|
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterAttribute;
|
|
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterName;
|
|
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterNameIgnoreCase;
|
|
};
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
|
|
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar* ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638_gshared (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_gshared_inline (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_gshared_inline (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, Il2CppChar* ___0_ptr, int32_t ___1_length, const RuntimeMethod* method) ;
|
|
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentNullException_m57232D0804E4F65D1C0D86129C5BFD0DC950CA01 (RuntimeObject* ___0_obj, String_t* ___1_parameterName, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* OutStringMarshaller_GetStringAndDispose_mB15D41A9893BBC55074D4910259FA722129DB062 (ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E ___0_managedSpan, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void JsonUtility_ToJsonInternal_Injected_m98EE8DC30E5CE6834F164F7DD13F7119101157FB (RuntimeObject* ___0_obj, bool ___1_prettyPrint, ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* ___2_ret, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool StringMarshaller_TryMarshalEmptyOrNullString_m615203C511071D59295D889AB136575DFFEA90A6_inline (String_t* ___0_s, ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* ___1_managedSpanWrapper, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 MemoryExtensions_AsSpan_m0EB07912D71097A8B05F586158966837F5C3DB38_inline (String_t* ___0_text, const RuntimeMethod* method) ;
|
|
inline Il2CppChar* ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638 (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Il2CppChar* (*) (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1*, const RuntimeMethod*))ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638_gshared)(__this, method);
|
|
}
|
|
inline int32_t ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_inline (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1*, const RuntimeMethod*))ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_gshared_inline)(__this, method);
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ManagedSpanWrapper__ctor_mB29647A21BB87EA4DF859E5C2FA2207F47E525D2 (ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* __this, void* ___0_begin, int32_t ___1_length, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* JsonUtility_FromJsonInternal_Injected_m796C743852FE6B4AAB666B1D6D7713FD1E0D55F5 (ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* ___0_json, RuntimeObject* ___1_objectToOverwrite, Type_t* ___2_type, const RuntimeMethod* method) ;
|
|
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) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478 (String_t* ___0_value, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Type_op_Equality_m99930A0E44E420A685FABA60E60BA1CC5FA0EBDC (Type_t* ___0_left, Type_t* ___1_right, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_m444AE141157E333844FC1A9500224C2F9FD24F4B (ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129* __this, String_t* ___0_paramName, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Type_get_IsAbstract_m16FA83463867635ED9DECAE1C5F6BE96B4579CE5 (Type_t* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t* Type_GetTypeFromHandle_m6062B81682F79A4D6DF2640692EE6D9987858C57 (RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B ___0_handle, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B (String_t* ___0_str0, String_t* ___1_str1, String_t* ___2_str2, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* JsonUtility_FromJsonInternal_m6C8155071DFF33D870873F945D1E4C965D1FE6C0 (String_t* ___0_json, RuntimeObject* ___1_objectToOverwrite, Type_t* ___2_type, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uintptr_t UIntPtr_op_Explicit_mF1E7911DD5AC13B5E59EE8C7903469D12A3861E8 (uint64_t ___0_value, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void* UIntPtr_op_Explicit_m42C3EA82465934F505B4274A7CE320550A48B7B9 (uintptr_t ___0_value, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar* String_GetRawStringData_m87BC50B7B314C055E27A28032D1003D42FDE411D (String_t* __this, const RuntimeMethod* method) ;
|
|
inline void ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_inline (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, Il2CppChar* ___0_ptr, int32_t ___1_length, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1*, Il2CppChar*, int32_t, const RuntimeMethod*))ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_gshared_inline)(__this, ___0_ptr, ___1_length, 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
|
|
// Method Definition Index: 65535
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* JsonUtility_ToJsonInternal_mB893BE1511779B2E36B24BC77D2FB52BF5894CDD (RuntimeObject* ___0_obj, bool ___1_prettyPrint, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral690BF02630AC0BD6AA6BD08D2C36A28E1FC54F3E);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
String_t* V_1 = NULL;
|
|
{
|
|
RuntimeObject* L_0 = ___0_obj;
|
|
if (L_0)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_1 = ___0_obj;
|
|
ThrowHelper_ThrowArgumentNullException_m57232D0804E4F65D1C0D86129C5BFD0DC950CA01(L_1, _stringLiteral690BF02630AC0BD6AA6BD08D2C36A28E1FC54F3E, NULL);
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_001a:
|
|
{
|
|
ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E L_2 = V_0;
|
|
String_t* L_3;
|
|
L_3 = OutStringMarshaller_GetStringAndDispose_mB15D41A9893BBC55074D4910259FA722129DB062(L_2, NULL);
|
|
V_1 = L_3;
|
|
return;
|
|
}
|
|
});
|
|
try
|
|
{
|
|
RuntimeObject* L_4 = ___0_obj;
|
|
bool L_5 = ___1_prettyPrint;
|
|
JsonUtility_ToJsonInternal_Injected_m98EE8DC30E5CE6834F164F7DD13F7119101157FB(L_4, L_5, (&V_0), NULL);
|
|
goto IL_0022;
|
|
}
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
String_t* L_6 = V_1;
|
|
return L_6;
|
|
}
|
|
}
|
|
// Method Definition Index: 65536
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* JsonUtility_FromJsonInternal_m6C8155071DFF33D870873F945D1E4C965D1FE6C0 (String_t* ___0_json, RuntimeObject* ___1_objectToOverwrite, Type_t* ___2_type, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Il2CppChar* V_1 = NULL;
|
|
ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
RuntimeObject* V_3 = NULL;
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0036:
|
|
{
|
|
V_1 = (Il2CppChar*)((uintptr_t)0);
|
|
return;
|
|
}
|
|
});
|
|
try
|
|
{
|
|
{
|
|
String_t* L_0 = ___0_json;
|
|
bool L_1;
|
|
L_1 = StringMarshaller_TryMarshalEmptyOrNullString_m615203C511071D59295D889AB136575DFFEA90A6_inline(L_0, (&V_2), NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0029_1;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_2 = ___0_json;
|
|
ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 L_3;
|
|
L_3 = MemoryExtensions_AsSpan_m0EB07912D71097A8B05F586158966837F5C3DB38_inline(L_2, NULL);
|
|
V_0 = L_3;
|
|
Il2CppChar* L_4;
|
|
L_4 = ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638((&V_0), ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638_RuntimeMethod_var);
|
|
V_1 = L_4;
|
|
Il2CppChar* L_5 = V_1;
|
|
int32_t L_6;
|
|
L_6 = ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_inline((&V_0), ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_RuntimeMethod_var);
|
|
ManagedSpanWrapper__ctor_mB29647A21BB87EA4DF859E5C2FA2207F47E525D2((&V_2), (void*)((uintptr_t)L_5), L_6, NULL);
|
|
}
|
|
|
|
IL_0029_1:
|
|
{
|
|
RuntimeObject* L_7 = ___1_objectToOverwrite;
|
|
Type_t* L_8 = ___2_type;
|
|
RuntimeObject* L_9;
|
|
L_9 = JsonUtility_FromJsonInternal_Injected_m796C743852FE6B4AAB666B1D6D7713FD1E0D55F5((&V_2), L_7, L_8, NULL);
|
|
V_3 = L_9;
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
RuntimeObject* L_10 = V_3;
|
|
return L_10;
|
|
}
|
|
}
|
|
// Method Definition Index: 65537
|
|
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;
|
|
}
|
|
}
|
|
// Method Definition Index: 65538
|
|
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;
|
|
}
|
|
}
|
|
// Method Definition Index: 65540
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* JsonUtility_FromJson_m6DF4F85BE40F8A96BAFEC189306813ECE30DF44A (String_t* ___0_json, Type_t* ___1_type, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_0_0_0_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
bool V_0 = false;
|
|
RuntimeObject* V_1 = NULL;
|
|
bool V_2 = false;
|
|
bool V_3 = false;
|
|
int32_t G_B7_0 = 0;
|
|
{
|
|
String_t* L_0 = ___0_json;
|
|
bool L_1;
|
|
L_1 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_0, NULL);
|
|
V_0 = L_1;
|
|
bool L_2 = V_0;
|
|
if (!L_2)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
V_1 = NULL;
|
|
goto IL_006a;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
Type_t* L_3 = ___1_type;
|
|
il2cpp_codegen_runtime_class_init_inline(il2cpp_defaults.systemtype_class);
|
|
bool L_4;
|
|
L_4 = Type_op_Equality_m99930A0E44E420A685FABA60E60BA1CC5FA0EBDC(L_3, (Type_t*)NULL, NULL);
|
|
V_2 = L_4;
|
|
bool L_5 = V_2;
|
|
if (!L_5)
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129* L_6 = (ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129_il2cpp_TypeInfo_var)));
|
|
ArgumentNullException__ctor_m444AE141157E333844FC1A9500224C2F9FD24F4B(L_6, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralF3C6C902DBF80139640F6554F0C3392016A8ADF7)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&JsonUtility_FromJson_m6DF4F85BE40F8A96BAFEC189306813ECE30DF44A_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
Type_t* L_7 = ___1_type;
|
|
NullCheck(L_7);
|
|
bool L_8;
|
|
L_8 = Type_get_IsAbstract_m16FA83463867635ED9DECAE1C5F6BE96B4579CE5(L_7, NULL);
|
|
if (L_8)
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
Type_t* L_9 = ___1_type;
|
|
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B L_10 = { reinterpret_cast<intptr_t> (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_0_0_0_var) };
|
|
il2cpp_codegen_runtime_class_init_inline(il2cpp_defaults.systemtype_class);
|
|
Type_t* L_11;
|
|
L_11 = Type_GetTypeFromHandle_m6062B81682F79A4D6DF2640692EE6D9987858C57(L_10, NULL);
|
|
NullCheck(L_9);
|
|
bool L_12;
|
|
L_12 = VirtualFuncInvoker1< bool, Type_t* >::Invoke(20, L_9, L_11);
|
|
G_B7_0 = ((int32_t)(L_12));
|
|
goto IL_0040;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
G_B7_0 = 1;
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
V_3 = (bool)G_B7_0;
|
|
bool L_13 = V_3;
|
|
if (!L_13)
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
Type_t* L_14 = ___1_type;
|
|
NullCheck(L_14);
|
|
String_t* L_15;
|
|
L_15 = VirtualFuncInvoker0< String_t* >::Invoke(7, L_14);
|
|
String_t* L_16;
|
|
L_16 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral9149DCC4875937380DD00ED5471A7A1258254B95)), L_15, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral1A021298794A95A088D89F0DFEE478EB088FC94B)), NULL);
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_17 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_17, L_16, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_17, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&JsonUtility_FromJson_m6DF4F85BE40F8A96BAFEC189306813ECE30DF44A_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
String_t* L_18 = ___0_json;
|
|
Type_t* L_19 = ___1_type;
|
|
RuntimeObject* L_20;
|
|
L_20 = JsonUtility_FromJsonInternal_m6C8155071DFF33D870873F945D1E4C965D1FE6C0(L_18, NULL, L_19, NULL);
|
|
V_1 = L_20;
|
|
goto IL_006a;
|
|
}
|
|
|
|
IL_006a:
|
|
{
|
|
RuntimeObject* L_21 = V_1;
|
|
return L_21;
|
|
}
|
|
}
|
|
// Method Definition Index: 65541
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void JsonUtility_ToJsonInternal_Injected_m98EE8DC30E5CE6834F164F7DD13F7119101157FB (RuntimeObject* ___0_obj, bool ___1_prettyPrint, ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* ___2_ret, const RuntimeMethod* method)
|
|
{
|
|
typedef void (*JsonUtility_ToJsonInternal_Injected_m98EE8DC30E5CE6834F164F7DD13F7119101157FB_ftn) (RuntimeObject*, bool, ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E*);
|
|
static JsonUtility_ToJsonInternal_Injected_m98EE8DC30E5CE6834F164F7DD13F7119101157FB_ftn _il2cpp_icall_func;
|
|
if (!_il2cpp_icall_func)
|
|
_il2cpp_icall_func = (JsonUtility_ToJsonInternal_Injected_m98EE8DC30E5CE6834F164F7DD13F7119101157FB_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.JsonUtility::ToJsonInternal_Injected(System.Object,System.Boolean,UnityEngine.Bindings.ManagedSpanWrapper&)");
|
|
_il2cpp_icall_func(___0_obj, ___1_prettyPrint, ___2_ret);
|
|
}
|
|
// Method Definition Index: 65542
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* JsonUtility_FromJsonInternal_Injected_m796C743852FE6B4AAB666B1D6D7713FD1E0D55F5 (ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* ___0_json, RuntimeObject* ___1_objectToOverwrite, Type_t* ___2_type, const RuntimeMethod* method)
|
|
{
|
|
typedef RuntimeObject* (*JsonUtility_FromJsonInternal_Injected_m796C743852FE6B4AAB666B1D6D7713FD1E0D55F5_ftn) (ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E*, RuntimeObject*, Type_t*);
|
|
static JsonUtility_FromJsonInternal_Injected_m796C743852FE6B4AAB666B1D6D7713FD1E0D55F5_ftn _il2cpp_icall_func;
|
|
if (!_il2cpp_icall_func)
|
|
_il2cpp_icall_func = (JsonUtility_FromJsonInternal_Injected_m796C743852FE6B4AAB666B1D6D7713FD1E0D55F5_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.JsonUtility::FromJsonInternal_Injected(UnityEngine.Bindings.ManagedSpanWrapper&,System.Object,System.Type)");
|
|
RuntimeObject* icallRetVal = _il2cpp_icall_func(___0_json, ___1_objectToOverwrite, ___2_type);
|
|
return icallRetVal;
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
// Method Definition Index: 47961
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool StringMarshaller_TryMarshalEmptyOrNullString_m615203C511071D59295D889AB136575DFFEA90A6_inline (String_t* ___0_s, ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* ___1_managedSpanWrapper, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
bool V_1 = false;
|
|
bool V_2 = false;
|
|
{
|
|
String_t* L_0 = ___0_s;
|
|
V_0 = (bool)((((RuntimeObject*)(String_t*)L_0) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
|
|
bool L_1 = V_0;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* L_2 = ___1_managedSpanWrapper;
|
|
il2cpp_codegen_initobj(L_2, sizeof(ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E));
|
|
V_1 = (bool)1;
|
|
goto IL_0043;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
String_t* L_3 = ___0_s;
|
|
NullCheck(L_3);
|
|
int32_t L_4;
|
|
L_4 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_3, NULL);
|
|
V_2 = (bool)((((int32_t)L_4) == ((int32_t)0))? 1 : 0);
|
|
bool L_5 = V_2;
|
|
if (!L_5)
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* L_6 = ___1_managedSpanWrapper;
|
|
uintptr_t L_7;
|
|
L_7 = UIntPtr_op_Explicit_mF1E7911DD5AC13B5E59EE8C7903469D12A3861E8(((int64_t)1), NULL);
|
|
void* L_8;
|
|
L_8 = UIntPtr_op_Explicit_m42C3EA82465934F505B4274A7CE320550A48B7B9(L_7, NULL);
|
|
ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
ManagedSpanWrapper__ctor_mB29647A21BB87EA4DF859E5C2FA2207F47E525D2((&L_9), L_8, 0, NULL);
|
|
*(ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E*)L_6 = L_9;
|
|
V_1 = (bool)1;
|
|
goto IL_0043;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
V_1 = (bool)0;
|
|
goto IL_0043;
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
bool L_10 = V_1;
|
|
return L_10;
|
|
}
|
|
}
|
|
// Method Definition Index: 1654
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 MemoryExtensions_AsSpan_m0EB07912D71097A8B05F586158966837F5C3DB38_inline (String_t* ___0_text, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
String_t* L_0 = ___0_text;
|
|
if (L_0)
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
il2cpp_codegen_initobj((&V_0), sizeof(ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1));
|
|
ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
String_t* L_2 = ___0_text;
|
|
NullCheck(L_2);
|
|
Il2CppChar* L_3;
|
|
L_3 = String_GetRawStringData_m87BC50B7B314C055E27A28032D1003D42FDE411D(L_2, NULL);
|
|
String_t* L_4 = ___0_text;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_4, NULL);
|
|
ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_inline((&L_6), L_3, L_5, ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_RuntimeMethod_var);
|
|
return L_6;
|
|
}
|
|
}
|
|
// Method Definition Index: 1875
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_gshared_inline (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->____length;
|
|
return L_0;
|
|
}
|
|
}
|
|
// Method Definition Index: 423
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->____stringLength;
|
|
return L_0;
|
|
}
|
|
}
|
|
// Method Definition Index: 1865
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_gshared_inline (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, Il2CppChar* ___0_ptr, int32_t ___1_length, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Il2CppChar* L_0 = ___0_ptr;
|
|
ByReference_1_t7BA5A6CA164F770BC688F21C5978D368716465F5 L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
il2cpp_codegen_by_reference_constructor((Il2CppByReference*)(&L_1), L_0);
|
|
__this->____pointer = L_1;
|
|
int32_t L_2 = ___1_length;
|
|
__this->____length = L_2;
|
|
return;
|
|
}
|
|
}
|