2627 lines
114 KiB
C++
2627 lines
114 KiB
C++
#include "pch-cpp.hpp"
|
|
|
|
#ifndef _MSC_VER
|
|
# include <alloca.h>
|
|
#else
|
|
# include <malloc.h>
|
|
#endif
|
|
|
|
|
|
#include <limits>
|
|
|
|
|
|
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 T1>
|
|
struct InvokerActionInvoker1;
|
|
template <typename T1>
|
|
struct InvokerActionInvoker1<T1*>
|
|
{
|
|
static inline void Invoke (Il2CppMethodPointer methodPtr, const RuntimeMethod* method, void* obj, T1* p1)
|
|
{
|
|
void* params[1] = { p1 };
|
|
method->invoker_method(methodPtr, method, obj, params, params[0]);
|
|
}
|
|
};
|
|
template <typename T1, typename T2>
|
|
struct InvokerActionInvoker2;
|
|
template <typename T1, typename T2>
|
|
struct InvokerActionInvoker2<T1, T2*>
|
|
{
|
|
static inline void Invoke (Il2CppMethodPointer methodPtr, const RuntimeMethod* method, void* obj, T1 p1, T2* p2)
|
|
{
|
|
void* params[2] = { &p1, p2 };
|
|
method->invoker_method(methodPtr, method, obj, params, params[1]);
|
|
}
|
|
};
|
|
template <typename T1, typename T2, typename T3>
|
|
struct InvokerActionInvoker3;
|
|
template <typename T1, typename T2, typename T3>
|
|
struct InvokerActionInvoker3<T1*, T2, T3*>
|
|
{
|
|
static inline void Invoke (Il2CppMethodPointer methodPtr, const RuntimeMethod* method, void* obj, T1* p1, T2 p2, T3* p3)
|
|
{
|
|
void* params[3] = { p1, &p2, p3 };
|
|
method->invoker_method(methodPtr, method, obj, params, params[2]);
|
|
}
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.String>
|
|
struct List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD;
|
|
// System.Collections.Generic.List`1<Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType>
|
|
struct List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A;
|
|
// System.Byte[]
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
|
|
// System.Char[]
|
|
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
|
|
// System.Delegate[]
|
|
struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
|
|
// System.IntPtr[]
|
|
struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
|
|
// System.Diagnostics.StackTrace[]
|
|
struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
|
|
// System.String[]
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
|
|
// Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType[]
|
|
struct __Il2CppFullySharedGenericTypeU5BU5D_tCAB6D060972DD49223A834B7EEFEB9FE2D003BEC;
|
|
// System.AsyncCallback
|
|
struct AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C;
|
|
// UnityEngine.Component
|
|
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3;
|
|
// System.Delegate
|
|
struct Delegate_t;
|
|
// System.DelegateData
|
|
struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
|
|
// System.Exception
|
|
struct Exception_t;
|
|
// UnityEngine.GameObject
|
|
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F;
|
|
// System.IAsyncResult
|
|
struct IAsyncResult_t7B9B5A0ECB35DCEC31B8A8122C37D687369253B5;
|
|
// System.Collections.IDictionary
|
|
struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
|
|
// System.Reflection.MethodInfo
|
|
struct MethodInfo_t;
|
|
// UnityEngine.MonoBehaviour
|
|
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71;
|
|
// NativeShareNamespace.NSShareResultCallbackiOS
|
|
struct NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93;
|
|
// NativeShare
|
|
struct NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B;
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
|
|
// UnityEngine.RenderTexture
|
|
struct RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27;
|
|
// System.Runtime.Serialization.SafeSerializationManager
|
|
struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
|
|
// System.String
|
|
struct String_t;
|
|
// UnityEngine.Texture
|
|
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700;
|
|
// UnityEngine.Texture2D
|
|
struct Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4;
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
|
|
// NativeShare/ShareResultCallback
|
|
struct ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5;
|
|
|
|
IL2CPP_EXTERN_C RuntimeClass* ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Exception_t_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Path_t8A38A801D0219E8209C1B1D90D82D4D755D998BC_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ShareResult_t2D0F0DD75A0DAD3506F82AC32C648A14B220EBFB_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* UnityException_tA1EC1E95ADE689CF6EB7FAFF77C160AE1F559067_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral23DF9991B71463C240582D176E347E7E47AEFF5A;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral3E96C9BB1B953A85290371E8CE7BB3F3ABB307CC;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral4B9B40AAD718882F5C0B95FE844E4AA92BD49C42;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral537DA31EA009D26D0F870996AEBF3B39A97F284F;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral6307B090E7219A907073428ED745FD41EFA179DE;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral6A1D52382547009AB732F651FE2CA42F1BBA769A;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral75E05143EB132AAA8A22B48813DB8E6047380821;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8302A0571E7DCC9204775D1D077FC0075A94BCAF;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralA15C898F015A9B0BC3268E8883CD03008A56DE26;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralA493FF06F94D0907E2F1797D03C4EB68CE5751F2;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralAFF4CC9F1E1AA16CF56E4F5C85A3BDCA0CB896FB;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralEB70548E100BA47AF6084FE872DCFC01E2DFFEBB;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralF37E86612B08131A4171D70D9CCCAF41191D0B4F;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisNSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_mBA3A6C295C2F09CF7215BFB664EA31C071266E99_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mF10DB1D3CBB0B14215F0E4F8AB4934A1955E5351_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_mC6C7AEBB0F980A717A87C0D12377984A464F0934_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_m2C402D882AA60FC1D5C7C09A129BE7779F833B4A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m1A062F45FE926079CE2D4FD38A3BF15F7AEB89AF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_RuntimeMethod_var;
|
|
struct Delegate_t_marshaled_com;
|
|
struct Delegate_t_marshaled_pinvoke;
|
|
struct Exception_t_marshaled_com;
|
|
struct Exception_t_marshaled_pinvoke;
|
|
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
|
|
struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
|
|
struct __Il2CppFullySharedGenericTypeU5BU5D_tCAB6D060972DD49223A834B7EEFEB9FE2D003BEC;
|
|
|
|
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
|
|
|
|
// <Module>
|
|
struct U3CModuleU3E_tEEE4D0E955C54E7C3F09624B377FFA05709175EC
|
|
{
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.String>
|
|
struct List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType>
|
|
struct List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
__Il2CppFullySharedGenericTypeU5BU5D_tCAB6D060972DD49223A834B7EEFEB9FE2D003BEC* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// NativeShare
|
|
struct NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B : public RuntimeObject
|
|
{
|
|
// System.String NativeShare::subject
|
|
String_t* ___subject_0;
|
|
// System.String NativeShare::text
|
|
String_t* ___text_1;
|
|
// System.String NativeShare::title
|
|
String_t* ___title_2;
|
|
// System.String NativeShare::url
|
|
String_t* ___url_3;
|
|
// System.Collections.Generic.List`1<System.String> NativeShare::files
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* ___files_4;
|
|
// System.Collections.Generic.List`1<System.String> NativeShare::mimes
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* ___mimes_5;
|
|
// NativeShare/ShareResultCallback NativeShare::callback
|
|
ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* ___callback_6;
|
|
};
|
|
|
|
// System.String
|
|
struct String_t : public RuntimeObject
|
|
{
|
|
// System.Int32 System.String::_stringLength
|
|
int32_t ____stringLength_4;
|
|
// System.Char System.String::_firstChar
|
|
Il2CppChar ____firstChar_5;
|
|
};
|
|
|
|
// System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
|
|
{
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
|
|
{
|
|
};
|
|
// Native definition for COM marshalling of System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
|
|
{
|
|
};
|
|
|
|
// System.Boolean
|
|
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
|
|
{
|
|
// System.Boolean System.Boolean::m_value
|
|
bool ___m_value_0;
|
|
};
|
|
|
|
// System.Byte
|
|
struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
|
|
{
|
|
// System.Byte System.Byte::m_value
|
|
uint8_t ___m_value_0;
|
|
};
|
|
|
|
// System.Char
|
|
struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17
|
|
{
|
|
// System.Char System.Char::m_value
|
|
Il2CppChar ___m_value_0;
|
|
};
|
|
|
|
// System.Enum
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
|
|
{
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Enum
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
|
|
{
|
|
};
|
|
// Native definition for COM marshalling of System.Enum
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
|
|
{
|
|
};
|
|
|
|
// System.Int32
|
|
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
|
|
{
|
|
// System.Int32 System.Int32::m_value
|
|
int32_t ___m_value_0;
|
|
};
|
|
|
|
// System.IntPtr
|
|
struct IntPtr_t
|
|
{
|
|
// System.Void* System.IntPtr::m_value
|
|
void* ___m_value_0;
|
|
};
|
|
|
|
// UnityEngine.Rect
|
|
struct Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D
|
|
{
|
|
// System.Single UnityEngine.Rect::m_XMin
|
|
float ___m_XMin_0;
|
|
// System.Single UnityEngine.Rect::m_YMin
|
|
float ___m_YMin_1;
|
|
// System.Single UnityEngine.Rect::m_Width
|
|
float ___m_Width_2;
|
|
// System.Single UnityEngine.Rect::m_Height
|
|
float ___m_Height_3;
|
|
};
|
|
|
|
// System.Single
|
|
struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
|
|
{
|
|
// System.Single System.Single::m_value
|
|
float ___m_value_0;
|
|
};
|
|
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
};
|
|
uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
|
|
};
|
|
};
|
|
|
|
// System.Delegate
|
|
struct Delegate_t : public RuntimeObject
|
|
{
|
|
// System.IntPtr System.Delegate::method_ptr
|
|
intptr_t ___method_ptr_0;
|
|
// System.IntPtr System.Delegate::invoke_impl
|
|
intptr_t ___invoke_impl_1;
|
|
// System.Object System.Delegate::m_target
|
|
RuntimeObject* ___m_target_2;
|
|
// System.IntPtr System.Delegate::method
|
|
intptr_t ___method_3;
|
|
// System.IntPtr System.Delegate::delegate_trampoline
|
|
intptr_t ___delegate_trampoline_4;
|
|
// System.IntPtr System.Delegate::extra_arg
|
|
intptr_t ___extra_arg_5;
|
|
// System.IntPtr System.Delegate::method_code
|
|
intptr_t ___method_code_6;
|
|
// System.IntPtr System.Delegate::interp_method
|
|
intptr_t ___interp_method_7;
|
|
// System.IntPtr System.Delegate::interp_invoke_impl
|
|
intptr_t ___interp_invoke_impl_8;
|
|
// System.Reflection.MethodInfo System.Delegate::method_info
|
|
MethodInfo_t* ___method_info_9;
|
|
// System.Reflection.MethodInfo System.Delegate::original_method_info
|
|
MethodInfo_t* ___original_method_info_10;
|
|
// System.DelegateData System.Delegate::data
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
// System.Boolean System.Delegate::method_is_virtual
|
|
bool ___method_is_virtual_12;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Delegate
|
|
struct Delegate_t_marshaled_pinvoke
|
|
{
|
|
intptr_t ___method_ptr_0;
|
|
intptr_t ___invoke_impl_1;
|
|
Il2CppIUnknown* ___m_target_2;
|
|
intptr_t ___method_3;
|
|
intptr_t ___delegate_trampoline_4;
|
|
intptr_t ___extra_arg_5;
|
|
intptr_t ___method_code_6;
|
|
intptr_t ___interp_method_7;
|
|
intptr_t ___interp_invoke_impl_8;
|
|
MethodInfo_t* ___method_info_9;
|
|
MethodInfo_t* ___original_method_info_10;
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
int32_t ___method_is_virtual_12;
|
|
};
|
|
// Native definition for COM marshalling of System.Delegate
|
|
struct Delegate_t_marshaled_com
|
|
{
|
|
intptr_t ___method_ptr_0;
|
|
intptr_t ___invoke_impl_1;
|
|
Il2CppIUnknown* ___m_target_2;
|
|
intptr_t ___method_3;
|
|
intptr_t ___delegate_trampoline_4;
|
|
intptr_t ___extra_arg_5;
|
|
intptr_t ___method_code_6;
|
|
intptr_t ___interp_method_7;
|
|
intptr_t ___interp_invoke_impl_8;
|
|
MethodInfo_t* ___method_info_9;
|
|
MethodInfo_t* ___original_method_info_10;
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
int32_t ___method_is_virtual_12;
|
|
};
|
|
|
|
// System.Exception
|
|
struct Exception_t : public RuntimeObject
|
|
{
|
|
// System.String System.Exception::_className
|
|
String_t* ____className_1;
|
|
// System.String System.Exception::_message
|
|
String_t* ____message_2;
|
|
// System.Collections.IDictionary System.Exception::_data
|
|
RuntimeObject* ____data_3;
|
|
// System.Exception System.Exception::_innerException
|
|
Exception_t* ____innerException_4;
|
|
// System.String System.Exception::_helpURL
|
|
String_t* ____helpURL_5;
|
|
// System.Object System.Exception::_stackTrace
|
|
RuntimeObject* ____stackTrace_6;
|
|
// System.String System.Exception::_stackTraceString
|
|
String_t* ____stackTraceString_7;
|
|
// System.String System.Exception::_remoteStackTraceString
|
|
String_t* ____remoteStackTraceString_8;
|
|
// System.Int32 System.Exception::_remoteStackIndex
|
|
int32_t ____remoteStackIndex_9;
|
|
// System.Object System.Exception::_dynamicMethods
|
|
RuntimeObject* ____dynamicMethods_10;
|
|
// System.Int32 System.Exception::_HResult
|
|
int32_t ____HResult_11;
|
|
// System.String System.Exception::_source
|
|
String_t* ____source_12;
|
|
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
// System.IntPtr[] System.Exception::native_trace_ips
|
|
IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832* ___native_trace_ips_15;
|
|
// System.Int32 System.Exception::caught_in_unmanaged
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Exception
|
|
struct Exception_t_marshaled_pinvoke
|
|
{
|
|
char* ____className_1;
|
|
char* ____message_2;
|
|
RuntimeObject* ____data_3;
|
|
Exception_t_marshaled_pinvoke* ____innerException_4;
|
|
char* ____helpURL_5;
|
|
Il2CppIUnknown* ____stackTrace_6;
|
|
char* ____stackTraceString_7;
|
|
char* ____remoteStackTraceString_8;
|
|
int32_t ____remoteStackIndex_9;
|
|
Il2CppIUnknown* ____dynamicMethods_10;
|
|
int32_t ____HResult_11;
|
|
char* ____source_12;
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
// Native definition for COM marshalling of System.Exception
|
|
struct Exception_t_marshaled_com
|
|
{
|
|
Il2CppChar* ____className_1;
|
|
Il2CppChar* ____message_2;
|
|
RuntimeObject* ____data_3;
|
|
Exception_t_marshaled_com* ____innerException_4;
|
|
Il2CppChar* ____helpURL_5;
|
|
Il2CppIUnknown* ____stackTrace_6;
|
|
Il2CppChar* ____stackTraceString_7;
|
|
Il2CppChar* ____remoteStackTraceString_8;
|
|
int32_t ____remoteStackIndex_9;
|
|
Il2CppIUnknown* ____dynamicMethods_10;
|
|
int32_t ____HResult_11;
|
|
Il2CppChar* ____source_12;
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
|
|
{
|
|
// System.IntPtr UnityEngine.Object::m_CachedPtr
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
|
|
{
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
|
|
{
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
|
|
// System.StringComparison
|
|
struct StringComparison_tE14A55CCFA001A5AC85D754179BF2888F45CC94D
|
|
{
|
|
// System.Int32 System.StringComparison::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// UnityEngine.TextureFormat
|
|
struct TextureFormat_t87A73E4A3850D3410DC211676FC14B94226C1C1D
|
|
{
|
|
// System.Int32 UnityEngine.TextureFormat::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// NativeShare/ShareResult
|
|
struct ShareResult_t2D0F0DD75A0DAD3506F82AC32C648A14B220EBFB
|
|
{
|
|
// System.Int32 NativeShare/ShareResult::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// UnityEngine.Component
|
|
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// UnityEngine.GameObject
|
|
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// System.MulticastDelegate
|
|
struct MulticastDelegate_t : public Delegate_t
|
|
{
|
|
// System.Delegate[] System.MulticastDelegate::delegates
|
|
DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates_13;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.MulticastDelegate
|
|
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
|
|
{
|
|
Delegate_t_marshaled_pinvoke** ___delegates_13;
|
|
};
|
|
// Native definition for COM marshalling of System.MulticastDelegate
|
|
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
|
|
{
|
|
Delegate_t_marshaled_com** ___delegates_13;
|
|
};
|
|
|
|
// System.SystemException
|
|
struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Texture
|
|
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// UnityEngine.UnityException
|
|
struct UnityException_tA1EC1E95ADE689CF6EB7FAFF77C160AE1F559067 : public Exception_t
|
|
{
|
|
};
|
|
|
|
// System.ArgumentException
|
|
struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
// System.String System.ArgumentException::_paramName
|
|
String_t* ____paramName_18;
|
|
};
|
|
|
|
// System.AsyncCallback
|
|
struct AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Behaviour
|
|
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// UnityEngine.RenderTexture
|
|
struct RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27 : public Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Texture2D
|
|
struct Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4 : public Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700
|
|
{
|
|
};
|
|
|
|
// NativeShare/ShareResultCallback
|
|
struct ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// UnityEngine.MonoBehaviour
|
|
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
|
|
{
|
|
};
|
|
|
|
// NativeShareNamespace.NSShareResultCallbackiOS
|
|
struct NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// NativeShare/ShareResultCallback NativeShareNamespace.NSShareResultCallbackiOS::callback
|
|
ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* ___callback_5;
|
|
};
|
|
|
|
// <Module>
|
|
|
|
// <Module>
|
|
|
|
// System.Collections.Generic.List`1<System.String>
|
|
struct List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.String>
|
|
|
|
// System.Collections.Generic.List`1<Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType>
|
|
struct List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
__Il2CppFullySharedGenericTypeU5BU5D_tCAB6D060972DD49223A834B7EEFEB9FE2D003BEC* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType>
|
|
|
|
// NativeShare
|
|
|
|
// NativeShare
|
|
|
|
// System.String
|
|
struct String_t_StaticFields
|
|
{
|
|
// System.String System.String::Empty
|
|
String_t* ___Empty_6;
|
|
};
|
|
|
|
// System.String
|
|
|
|
// System.Boolean
|
|
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
|
|
{
|
|
// System.String System.Boolean::TrueString
|
|
String_t* ___TrueString_5;
|
|
// System.String System.Boolean::FalseString
|
|
String_t* ___FalseString_6;
|
|
};
|
|
|
|
// System.Boolean
|
|
|
|
// System.Byte
|
|
|
|
// System.Byte
|
|
|
|
// System.Char
|
|
struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17_StaticFields
|
|
{
|
|
// System.Byte[] System.Char::s_categoryForLatin1
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___s_categoryForLatin1_3;
|
|
};
|
|
|
|
// System.Char
|
|
|
|
// System.Int32
|
|
|
|
// System.Int32
|
|
|
|
// System.IntPtr
|
|
struct IntPtr_t_StaticFields
|
|
{
|
|
// System.IntPtr System.IntPtr::Zero
|
|
intptr_t ___Zero_1;
|
|
};
|
|
|
|
// System.IntPtr
|
|
|
|
// UnityEngine.Rect
|
|
|
|
// UnityEngine.Rect
|
|
|
|
// System.Single
|
|
|
|
// System.Single
|
|
|
|
// System.Void
|
|
|
|
// System.Void
|
|
|
|
// System.Delegate
|
|
|
|
// System.Delegate
|
|
|
|
// System.Exception
|
|
struct Exception_t_StaticFields
|
|
{
|
|
// System.Object System.Exception::s_EDILock
|
|
RuntimeObject* ___s_EDILock_0;
|
|
};
|
|
|
|
// System.Exception
|
|
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
|
|
{
|
|
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
|
|
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
|
|
};
|
|
|
|
// UnityEngine.Object
|
|
|
|
// System.StringComparison
|
|
|
|
// System.StringComparison
|
|
|
|
// UnityEngine.TextureFormat
|
|
|
|
// UnityEngine.TextureFormat
|
|
|
|
// NativeShare/ShareResult
|
|
|
|
// NativeShare/ShareResult
|
|
|
|
// UnityEngine.Component
|
|
|
|
// UnityEngine.Component
|
|
|
|
// UnityEngine.GameObject
|
|
|
|
// UnityEngine.GameObject
|
|
|
|
// UnityEngine.Texture
|
|
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700_StaticFields
|
|
{
|
|
// System.Int32 UnityEngine.Texture::GenerateAllMips
|
|
int32_t ___GenerateAllMips_4;
|
|
};
|
|
|
|
// UnityEngine.Texture
|
|
|
|
// UnityEngine.UnityException
|
|
|
|
// UnityEngine.UnityException
|
|
|
|
// System.ArgumentException
|
|
|
|
// System.ArgumentException
|
|
|
|
// System.AsyncCallback
|
|
|
|
// System.AsyncCallback
|
|
|
|
// UnityEngine.RenderTexture
|
|
|
|
// UnityEngine.RenderTexture
|
|
|
|
// UnityEngine.Texture2D
|
|
|
|
// UnityEngine.Texture2D
|
|
|
|
// NativeShare/ShareResultCallback
|
|
|
|
// NativeShare/ShareResultCallback
|
|
|
|
// UnityEngine.MonoBehaviour
|
|
|
|
// UnityEngine.MonoBehaviour
|
|
|
|
// NativeShareNamespace.NSShareResultCallbackiOS
|
|
struct NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_StaticFields
|
|
{
|
|
// NativeShareNamespace.NSShareResultCallbackiOS NativeShareNamespace.NSShareResultCallbackiOS::instance
|
|
NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93* ___instance_4;
|
|
};
|
|
|
|
// NativeShareNamespace.NSShareResultCallbackiOS
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
// System.String[]
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) String_t* m_Items[1];
|
|
|
|
inline String_t* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline String_t** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, String_t* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// System.Byte[]
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) uint8_t m_Items[1];
|
|
|
|
inline uint8_t GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, uint8_t value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// System.Delegate[]
|
|
struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Delegate_t* m_Items[1];
|
|
|
|
inline Delegate_t* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Delegate_t** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Delegate_t* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Delegate_t* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Delegate_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Delegate_t* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType[]
|
|
struct __Il2CppFullySharedGenericTypeU5BU5D_tCAB6D060972DD49223A834B7EEFEB9FE2D003BEC : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) uint8_t m_Items[1];
|
|
|
|
inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + il2cpp_array_calc_byte_offset(this, index);
|
|
}
|
|
inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + il2cpp_array_calc_byte_offset(this, index);
|
|
}
|
|
};
|
|
|
|
|
|
// System.Void System.Collections.Generic.List`1<Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_mD615D1BCB2C9DD91DAD86A2F9E5CF1DFFCBF7925_gshared_inline (List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mD4F3498FBD3BDD3F03CBCFB38041CBAC9C28CAFC_gshared_inline (List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A* __this, /*Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType*/Il2CppFullySharedGenericAny ___0_item, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mD2ED26ACAF3BAF386FFEA83893BA51DB9FD8BA30_gshared_inline (List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A* __this, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType>::ToArray()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR __Il2CppFullySharedGenericTypeU5BU5D_tCAB6D060972DD49223A834B7EEFEB9FE2D003BEC* List_1_ToArray_m5160526E5983BD8ED24DFFE47C33B141C1B3187A_gshared (List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m3069CACB5775E013107F559C825422266A09F9E8_gshared (List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::AddComponent<System.Object>()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
|
|
|
|
// System.Void System.Collections.Generic.List`1<System.String>::Clear()
|
|
inline void List_1_Clear_mC6C7AEBB0F980A717A87C0D12377984A464F0934_inline (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A*, const RuntimeMethod*))List_1_Clear_mD615D1BCB2C9DD91DAD86A2F9E5CF1DFFCBF7925_gshared_inline)((List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A*)__this, method);
|
|
}
|
|
// System.Boolean System.String::IsNullOrEmpty(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478 (String_t* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Boolean System.IO.File::Exists(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool File_Exists_m95E329ABBE3EAD6750FE1989BBA6884457136D4A (String_t* ___0_path, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.String>::Add(T)
|
|
inline void List_1_Add_mF10DB1D3CBB0B14215F0E4F8AB4934A1955E5351_inline (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* __this, String_t* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A*, /*Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType*/Il2CppFullySharedGenericAny, const RuntimeMethod*))List_1_Add_mD4F3498FBD3BDD3F03CBCFB38041CBAC9C28CAFC_gshared_inline)((List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A*)__this, (Il2CppFullySharedGenericAny)___0_item, method);
|
|
}
|
|
// System.String System.String::Concat(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m9E3155FB84015C823606188F53B47CB44C444991 (String_t* ___0_str0, String_t* ___1_str1, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::LogError(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Object::op_Implicit(UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_exists, const RuntimeMethod* method) ;
|
|
// System.Boolean System.String::EndsWith(System.String,System.StringComparison)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_EndsWith_m5E5D307CA6AEB7C08CE782B4693B19D07ADC9075 (String_t* __this, String_t* ___0_value, int32_t ___1_comparisonType, const RuntimeMethod* method) ;
|
|
// System.String UnityEngine.Application::get_temporaryCachePath()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Application_get_temporaryCachePath_mE4483A939988E69570C19F8B31AB9FB17B0FD97D (const RuntimeMethod* method) ;
|
|
// System.String System.IO.Path::Combine(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Path_Combine_m1ADAC05CDA2D1D61B172DF65A81E86592696BEAE (String_t* ___0_path1, String_t* ___1_path2, const RuntimeMethod* method) ;
|
|
// System.Byte[] NativeShare::GetTextureBytes(UnityEngine.Texture2D,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* NativeShare_GetTextureBytes_m5E2AE3535B50014A6BC5C326F6202FC7E2BEFB9C (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___0_texture, bool ___1_isJpeg, const RuntimeMethod* method) ;
|
|
// System.Void System.IO.File::WriteAllBytes(System.String,System.Byte[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void File_WriteAllBytes_mC491031DA14AA9B591F62D6AD0181D090E081077 (String_t* ___0_path, ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___1_bytes, const RuntimeMethod* method) ;
|
|
// NativeShare NativeShare::AddFile(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* NativeShare_AddFile_m2B6FF1B19C51E3229002A8430D253C1EFC0DD240 (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, String_t* ___0_filePath, String_t* ___1_mime, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<System.String>::get_Count()
|
|
inline int32_t List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_inline (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A*, const RuntimeMethod*))List_1_get_Count_mD2ED26ACAF3BAF386FFEA83893BA51DB9FD8BA30_gshared_inline)((List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A*)__this, method);
|
|
}
|
|
// System.Int32 System.String::get_Length()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::LogWarning(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
|
|
// System.Void NativeShareNamespace.NSShareResultCallbackiOS::Initialize(NativeShare/ShareResultCallback)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NSShareResultCallbackiOS_Initialize_m3FA021ED002961E3B26B716515B5A77CF9B8BA06 (ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* ___0_callback, const RuntimeMethod* method) ;
|
|
// System.String NativeShare::GetURLWithScheme()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* NativeShare_GetURLWithScheme_mFB311627815D47656BEB6DBC2C131D8E64668CD4 (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, const RuntimeMethod* method) ;
|
|
// System.Void NativeShare::_NativeShare_Share(System.String[],System.Int32,System.String,System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeShare__NativeShare_Share_m338576D82E461725B4E2CE7262FA34C005B886DC (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___0_files, int32_t ___1_filesCount, String_t* ___2_subject, String_t* ___3_text, String_t* ___4_link, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<System.String>::ToArray()
|
|
inline StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* List_1_ToArray_m2C402D882AA60FC1D5C7C09A129BE7779F833B4A (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* __this, const RuntimeMethod* method)
|
|
{
|
|
__Il2CppFullySharedGenericTypeU5BU5D_tCAB6D060972DD49223A834B7EEFEB9FE2D003BEC* il2cppRetVal = (( __Il2CppFullySharedGenericTypeU5BU5D_tCAB6D060972DD49223A834B7EEFEB9FE2D003BEC* (*) (List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A*, const RuntimeMethod*))List_1_ToArray_m5160526E5983BD8ED24DFFE47C33B141C1B3187A_gshared)((List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A*)__this, method);
|
|
return (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)il2cppRetVal;
|
|
}
|
|
// System.String NativeShare::CombineURLWithText()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* NativeShare_CombineURLWithText_mBD3218FD4796ACD1E82A56023ACFD1D50E0B3E6D (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.String::Contains(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_Contains_m6D77B121FADA7CA5F397C0FABB65DA62DF03B6C3 (String_t* __this, String_t* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Int32 System.String::IndexOf(System.String,System.StringComparison)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t String_IndexOf_m490810CB7ADA9230AC0F8D78E213A8EFED129F55 (String_t* __this, String_t* ___0_value, int32_t ___1_comparisonType, const RuntimeMethod* method) ;
|
|
// System.String System.String::Concat(System.String,System.String,System.String)
|
|
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) ;
|
|
// System.Byte[] UnityEngine.ImageConversion::EncodeToPNG(UnityEngine.Texture2D)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ImageConversion_EncodeToPNG_m0804AD31B83C653AEBB234F6CC31A02D4FA7C945 (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___0_tex, const RuntimeMethod* method) ;
|
|
// System.Byte[] UnityEngine.ImageConversion::EncodeToJPG(UnityEngine.Texture2D,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ImageConversion_EncodeToJPG_mD0307B5DFF32A3FF39488E97B467F11AFE501F6F (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___0_tex, int32_t ___1_quality, const RuntimeMethod* method) ;
|
|
// System.Byte[] NativeShare::GetTextureBytesFromCopy(UnityEngine.Texture2D,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* NativeShare_GetTextureBytesFromCopy_m20CFC5B48E34BBC8518FD78B6D69216E7D494DA5 (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___0_texture, bool ___1_isJpeg, const RuntimeMethod* method) ;
|
|
// UnityEngine.RenderTexture UnityEngine.RenderTexture::GetTemporary(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* RenderTexture_GetTemporary_m82379FD4C767A36F0677CAF4E68319EAE16ADF7F (int32_t ___0_width, int32_t ___1_height, const RuntimeMethod* method) ;
|
|
// UnityEngine.RenderTexture UnityEngine.RenderTexture::get_active()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* RenderTexture_get_active_mA4434B3E79DEF2C01CAE0A53061598B16443C9E7 (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.RenderTexture::set_active(UnityEngine.RenderTexture)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderTexture_set_active_m5EE8E2327EF9B306C1425014CC34C41A8384E7AB (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.RenderTexture::ReleaseTemporary(UnityEngine.RenderTexture)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderTexture_ReleaseTemporary_mEEF2C1990196FF06FDD0DC190928AD3A023EBDD2 (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___0_temp, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Graphics::Blit(UnityEngine.Texture,UnityEngine.RenderTexture)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Graphics_Blit_m8D99E16B74C7D3C8F79F4F142C59DB6B38114504 (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___0_source, RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___1_dest, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Texture2D::.ctor(System.Int32,System.Int32,UnityEngine.TextureFormat,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture2D__ctor_mECF60A9EC0638EC353C02C8E99B6B465D23BE917 (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* __this, int32_t ___0_width, int32_t ___1_height, int32_t ___2_textureFormat, bool ___3_mipChain, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Rect::.ctor(System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_x, float ___1_y, float ___2_width, float ___3_height, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Texture2D::ReadPixels(UnityEngine.Rect,System.Int32,System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture2D_ReadPixels_m7483DB211233F02E46418E9A6077487925F0024C (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* __this, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_source, int32_t ___1_destX, int32_t ___2_destY, bool ___3_recalculateMipMaps, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Texture2D::Apply(System.Boolean,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture2D_Apply_m36EE27E6F1BF7FB8C70A1D749DC4EE249810AA3A (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* __this, bool ___0_updateMipmaps, bool ___1_makeNoLongerReadable, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::LogException(System.Exception)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogException_mAB3F4DC7297ED8FBB49DAA718B70E59A6B0171B0 (Exception_t* ___0_exception, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Object::DestroyImmediate(UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_DestroyImmediate_m6336EBC83591A5DB64EC70C92132824C6E258705 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.String>::.ctor(System.Int32)
|
|
inline void List_1__ctor_m1A062F45FE926079CE2D4FD38A3BF15F7AEB89AF (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A*, int32_t, const RuntimeMethod*))List_1__ctor_m3069CACB5775E013107F559C825422266A09F9E8_gshared)((List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A*)__this, ___0_capacity, method);
|
|
}
|
|
// System.Void System.Object::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GameObject::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, String_t* ___0_name, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::AddComponent<NativeShareNamespace.NSShareResultCallbackiOS>()
|
|
inline NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93* GameObject_AddComponent_TisNSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_mBA3A6C295C2F09CF7215BFB664EA31C071266E99 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
|
|
}
|
|
// UnityEngine.GameObject UnityEngine.Component::get_gameObject()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Object::DontDestroyOnLoad(UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_DontDestroyOnLoad_m4B70C3AEF886C176543D1295507B6455C9DCAEA7 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_target, const RuntimeMethod* method) ;
|
|
// System.Void NativeShare/ShareResultCallback::Invoke(NativeShare/ShareResult,System.String)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_inline (ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* __this, int32_t ___0_result, String_t* ___1_shareTarget, const RuntimeMethod* method) ;
|
|
// System.Char System.String::get_Chars(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3 (String_t* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.String System.String::Substring(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Substring_m6BA4A3FA3800FE92662D0847CC8E1EEF940DF472 (String_t* __this, int32_t ___0_startIndex, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.MonoBehaviour::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Array::Clear(System.Array,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB (RuntimeArray* ___0_array, int32_t ___1_index, int32_t ___2_length, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C void DEFAULT_CALL _NativeShare_Share(char**, int32_t, char*, char*, char*);
|
|
#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.Void NativeShare::_NativeShare_Share(System.String[],System.Int32,System.String,System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeShare__NativeShare_Share_m338576D82E461725B4E2CE7262FA34C005B886DC (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___0_files, int32_t ___1_filesCount, String_t* ___2_subject, String_t* ___3_text, String_t* ___4_link, const RuntimeMethod* method)
|
|
{
|
|
typedef void (DEFAULT_CALL *PInvokeFunc) (char**, int32_t, char*, char*, char*);
|
|
|
|
// Marshaling of parameter '___0_files' to native representation
|
|
char** ____0_files_marshaled = NULL;
|
|
if (___0_files != NULL)
|
|
{
|
|
il2cpp_array_size_t ____0_files_Length = (___0_files)->max_length;
|
|
____0_files_marshaled = il2cpp_codegen_marshal_allocate_array<char*>(____0_files_Length + 1);
|
|
(____0_files_marshaled)[____0_files_Length] = NULL;
|
|
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(____0_files_Length); i++)
|
|
{
|
|
(____0_files_marshaled)[i] = il2cpp_codegen_marshal_string((___0_files)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i)));
|
|
}
|
|
}
|
|
else
|
|
{
|
|
____0_files_marshaled = NULL;
|
|
}
|
|
|
|
// Marshaling of parameter '___2_subject' to native representation
|
|
char* ____2_subject_marshaled = NULL;
|
|
____2_subject_marshaled = il2cpp_codegen_marshal_string(___2_subject);
|
|
|
|
// Marshaling of parameter '___3_text' to native representation
|
|
char* ____3_text_marshaled = NULL;
|
|
____3_text_marshaled = il2cpp_codegen_marshal_string(___3_text);
|
|
|
|
// Marshaling of parameter '___4_link' to native representation
|
|
char* ____4_link_marshaled = NULL;
|
|
____4_link_marshaled = il2cpp_codegen_marshal_string(___4_link);
|
|
|
|
// Native function invocation
|
|
reinterpret_cast<PInvokeFunc>(_NativeShare_Share)(____0_files_marshaled, ___1_filesCount, ____2_subject_marshaled, ____3_text_marshaled, ____4_link_marshaled);
|
|
|
|
// Marshaling cleanup of parameter '___0_files' native representation
|
|
if (____0_files_marshaled != NULL)
|
|
{
|
|
const il2cpp_array_size_t ____0_files_marshaled_CleanupLoopCount = (___0_files != NULL) ? (___0_files)->max_length : 0;
|
|
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(____0_files_marshaled_CleanupLoopCount); i++)
|
|
{
|
|
il2cpp_codegen_marshal_free((____0_files_marshaled)[i]);
|
|
(____0_files_marshaled)[i] = NULL;
|
|
}
|
|
il2cpp_codegen_marshal_free(____0_files_marshaled);
|
|
____0_files_marshaled = NULL;
|
|
}
|
|
|
|
// Marshaling cleanup of parameter '___2_subject' native representation
|
|
il2cpp_codegen_marshal_free(____2_subject_marshaled);
|
|
____2_subject_marshaled = NULL;
|
|
|
|
// Marshaling cleanup of parameter '___3_text' native representation
|
|
il2cpp_codegen_marshal_free(____3_text_marshaled);
|
|
____3_text_marshaled = NULL;
|
|
|
|
// Marshaling cleanup of parameter '___4_link' native representation
|
|
il2cpp_codegen_marshal_free(____4_link_marshaled);
|
|
____4_link_marshaled = NULL;
|
|
|
|
}
|
|
// NativeShare NativeShare::Clear()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* NativeShare_Clear_m7FA7747ACF3D102F7CF37AF8FF8711E22789628E (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_mC6C7AEBB0F980A717A87C0D12377984A464F0934_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
String_t* V_0 = NULL;
|
|
{
|
|
// subject = text = title = url = string.Empty;
|
|
String_t* L_0 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
String_t* L_1 = L_0;
|
|
V_0 = L_1;
|
|
__this->___url_3 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___url_3), (void*)L_1);
|
|
String_t* L_2 = V_0;
|
|
String_t* L_3 = L_2;
|
|
V_0 = L_3;
|
|
__this->___title_2 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___title_2), (void*)L_3);
|
|
String_t* L_4 = V_0;
|
|
String_t* L_5 = L_4;
|
|
V_0 = L_5;
|
|
__this->___text_1 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___text_1), (void*)L_5);
|
|
String_t* L_6 = V_0;
|
|
__this->___subject_0 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___subject_0), (void*)L_6);
|
|
// files.Clear();
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* L_7 = __this->___files_4;
|
|
NullCheck(L_7);
|
|
List_1_Clear_mC6C7AEBB0F980A717A87C0D12377984A464F0934_inline(L_7, List_1_Clear_mC6C7AEBB0F980A717A87C0D12377984A464F0934_RuntimeMethod_var);
|
|
// mimes.Clear();
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* L_8 = __this->___mimes_5;
|
|
NullCheck(L_8);
|
|
List_1_Clear_mC6C7AEBB0F980A717A87C0D12377984A464F0934_inline(L_8, List_1_Clear_mC6C7AEBB0F980A717A87C0D12377984A464F0934_RuntimeMethod_var);
|
|
// callback = null;
|
|
__this->___callback_6 = (ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___callback_6), (void*)(ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5*)NULL);
|
|
// return this;
|
|
return __this;
|
|
}
|
|
}
|
|
// NativeShare NativeShare::SetSubject(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* NativeShare_SetSubject_mB0E01F5228D5C868274067653497BFD0F1EF1D8A (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, String_t* ___0_subject, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
String_t* G_B2_0 = NULL;
|
|
NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* G_B2_1 = NULL;
|
|
String_t* G_B1_0 = NULL;
|
|
NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* G_B1_1 = NULL;
|
|
{
|
|
// this.subject = subject ?? string.Empty;
|
|
String_t* L_0 = ___0_subject;
|
|
String_t* L_1 = L_0;
|
|
G_B1_0 = L_1;
|
|
G_B1_1 = __this;
|
|
if (L_1)
|
|
{
|
|
G_B2_0 = L_1;
|
|
G_B2_1 = __this;
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
G_B2_0 = L_2;
|
|
G_B2_1 = G_B1_1;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
NullCheck(G_B2_1);
|
|
G_B2_1->___subject_0 = G_B2_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&G_B2_1->___subject_0), (void*)G_B2_0);
|
|
// return this;
|
|
return __this;
|
|
}
|
|
}
|
|
// NativeShare NativeShare::SetText(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* NativeShare_SetText_mEB89C82F62181F7754C20F3516754B81559DBA13 (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, String_t* ___0_text, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
String_t* G_B2_0 = NULL;
|
|
NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* G_B2_1 = NULL;
|
|
String_t* G_B1_0 = NULL;
|
|
NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* G_B1_1 = NULL;
|
|
{
|
|
// this.text = text ?? string.Empty;
|
|
String_t* L_0 = ___0_text;
|
|
String_t* L_1 = L_0;
|
|
G_B1_0 = L_1;
|
|
G_B1_1 = __this;
|
|
if (L_1)
|
|
{
|
|
G_B2_0 = L_1;
|
|
G_B2_1 = __this;
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
G_B2_0 = L_2;
|
|
G_B2_1 = G_B1_1;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
NullCheck(G_B2_1);
|
|
G_B2_1->___text_1 = G_B2_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&G_B2_1->___text_1), (void*)G_B2_0);
|
|
// return this;
|
|
return __this;
|
|
}
|
|
}
|
|
// NativeShare NativeShare::SetUrl(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* NativeShare_SetUrl_m5A85D24E53BA393226DD13089A85DC9044B294A6 (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, String_t* ___0_url, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
String_t* G_B2_0 = NULL;
|
|
NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* G_B2_1 = NULL;
|
|
String_t* G_B1_0 = NULL;
|
|
NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* G_B1_1 = NULL;
|
|
{
|
|
// this.url = url ?? string.Empty;
|
|
String_t* L_0 = ___0_url;
|
|
String_t* L_1 = L_0;
|
|
G_B1_0 = L_1;
|
|
G_B1_1 = __this;
|
|
if (L_1)
|
|
{
|
|
G_B2_0 = L_1;
|
|
G_B2_1 = __this;
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
G_B2_0 = L_2;
|
|
G_B2_1 = G_B1_1;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
NullCheck(G_B2_1);
|
|
G_B2_1->___url_3 = G_B2_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&G_B2_1->___url_3), (void*)G_B2_0);
|
|
// return this;
|
|
return __this;
|
|
}
|
|
}
|
|
// NativeShare NativeShare::SetTitle(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* NativeShare_SetTitle_m966A9EA67F0730EB62F54591335911957DF80EE6 (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, String_t* ___0_title, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
String_t* G_B2_0 = NULL;
|
|
NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* G_B2_1 = NULL;
|
|
String_t* G_B1_0 = NULL;
|
|
NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* G_B1_1 = NULL;
|
|
{
|
|
// this.title = title ?? string.Empty;
|
|
String_t* L_0 = ___0_title;
|
|
String_t* L_1 = L_0;
|
|
G_B1_0 = L_1;
|
|
G_B1_1 = __this;
|
|
if (L_1)
|
|
{
|
|
G_B2_0 = L_1;
|
|
G_B2_1 = __this;
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
G_B2_0 = L_2;
|
|
G_B2_1 = G_B1_1;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
NullCheck(G_B2_1);
|
|
G_B2_1->___title_2 = G_B2_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&G_B2_1->___title_2), (void*)G_B2_0);
|
|
// return this;
|
|
return __this;
|
|
}
|
|
}
|
|
// NativeShare NativeShare::SetCallback(NativeShare/ShareResultCallback)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* NativeShare_SetCallback_m546C0EEF61664E6B0B4A0318044A16BBBA0B5179 (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* ___0_callback, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.callback = callback;
|
|
ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* L_0 = ___0_callback;
|
|
__this->___callback_6 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___callback_6), (void*)L_0);
|
|
// return this;
|
|
return __this;
|
|
}
|
|
}
|
|
// NativeShare NativeShare::AddTarget(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* NativeShare_AddTarget_m115A3444918C4130A6BE25218E8966C131784FE5 (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, String_t* ___0_androidPackageName, String_t* ___1_androidClassName, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return this;
|
|
return __this;
|
|
}
|
|
}
|
|
// NativeShare NativeShare::AddFile(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* NativeShare_AddFile_m2B6FF1B19C51E3229002A8430D253C1EFC0DD240 (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, String_t* ___0_filePath, String_t* ___1_mime, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mF10DB1D3CBB0B14215F0E4F8AB4934A1955E5351_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAFF4CC9F1E1AA16CF56E4F5C85A3BDCA0CB896FB);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
String_t* G_B4_0 = NULL;
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* G_B4_1 = NULL;
|
|
String_t* G_B3_0 = NULL;
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* G_B3_1 = NULL;
|
|
{
|
|
// if( !string.IsNullOrEmpty( filePath ) && File.Exists( filePath ) )
|
|
String_t* L_0 = ___0_filePath;
|
|
bool L_1;
|
|
L_1 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0033;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_2 = ___0_filePath;
|
|
bool L_3;
|
|
L_3 = File_Exists_m95E329ABBE3EAD6750FE1989BBA6884457136D4A(L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0033;
|
|
}
|
|
}
|
|
{
|
|
// files.Add( filePath );
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* L_4 = __this->___files_4;
|
|
String_t* L_5 = ___0_filePath;
|
|
NullCheck(L_4);
|
|
List_1_Add_mF10DB1D3CBB0B14215F0E4F8AB4934A1955E5351_inline(L_4, L_5, List_1_Add_mF10DB1D3CBB0B14215F0E4F8AB4934A1955E5351_RuntimeMethod_var);
|
|
// mimes.Add( mime ?? string.Empty );
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* L_6 = __this->___mimes_5;
|
|
String_t* L_7 = ___1_mime;
|
|
String_t* L_8 = L_7;
|
|
G_B3_0 = L_8;
|
|
G_B3_1 = L_6;
|
|
if (L_8)
|
|
{
|
|
G_B4_0 = L_8;
|
|
G_B4_1 = L_6;
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_9 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
G_B4_0 = L_9;
|
|
G_B4_1 = G_B3_1;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
NullCheck(G_B4_1);
|
|
List_1_Add_mF10DB1D3CBB0B14215F0E4F8AB4934A1955E5351_inline(G_B4_1, G_B4_0, List_1_Add_mF10DB1D3CBB0B14215F0E4F8AB4934A1955E5351_RuntimeMethod_var);
|
|
goto IL_0043;
|
|
}
|
|
|
|
IL_0033:
|
|
{
|
|
// Debug.LogError( "Share Error: file does not exist at path or permission denied: " + filePath );
|
|
String_t* L_10 = ___0_filePath;
|
|
String_t* L_11;
|
|
L_11 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteralAFF4CC9F1E1AA16CF56E4F5C85A3BDCA0CB896FB, L_10, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(L_11, NULL);
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
// return this;
|
|
return __this;
|
|
}
|
|
}
|
|
// NativeShare NativeShare::AddFile(UnityEngine.Texture2D,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* NativeShare_AddFile_mC5ACFA1C5FF14D4662ED40BC85658C004D303CC5 (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___0_texture, String_t* ___1_createdFileName, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Path_t8A38A801D0219E8209C1B1D90D82D4D755D998BC_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23DF9991B71463C240582D176E347E7E47AEFF5A);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3E96C9BB1B953A85290371E8CE7BB3F3ABB307CC);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4B9B40AAD718882F5C0B95FE844E4AA92BD49C42);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral75E05143EB132AAA8A22B48813DB8E6047380821);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA15C898F015A9B0BC3268E8883CD03008A56DE26);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEB70548E100BA47AF6084FE872DCFC01E2DFFEBB);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF37E86612B08131A4171D70D9CCCAF41191D0B4F);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
bool V_0 = false;
|
|
String_t* V_1 = NULL;
|
|
String_t* G_B12_0 = NULL;
|
|
NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* G_B12_1 = NULL;
|
|
String_t* G_B11_0 = NULL;
|
|
NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* G_B11_1 = NULL;
|
|
String_t* G_B13_0 = NULL;
|
|
String_t* G_B13_1 = NULL;
|
|
NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* G_B13_2 = NULL;
|
|
{
|
|
// if( !texture )
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_0 = ___0_texture;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError( "Share Error: Texture does not exist!" );
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteralEB70548E100BA47AF6084FE872DCFC01E2DFFEBB, NULL);
|
|
goto IL_0091;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// if( string.IsNullOrEmpty( createdFileName ) )
|
|
String_t* L_2 = ___1_createdFileName;
|
|
bool L_3;
|
|
L_3 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// createdFileName = "Image.png";
|
|
___1_createdFileName = _stringLiteralF37E86612B08131A4171D70D9CCCAF41191D0B4F;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// if( createdFileName.EndsWith( ".jpeg", System.StringComparison.OrdinalIgnoreCase ) || createdFileName.EndsWith( ".jpg", System.StringComparison.OrdinalIgnoreCase ) )
|
|
String_t* L_4 = ___1_createdFileName;
|
|
NullCheck(L_4);
|
|
bool L_5;
|
|
L_5 = String_EndsWith_m5E5D307CA6AEB7C08CE782B4693B19D07ADC9075(L_4, _stringLiteral4B9B40AAD718882F5C0B95FE844E4AA92BD49C42, 5, NULL);
|
|
if (L_5)
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_6 = ___1_createdFileName;
|
|
NullCheck(L_6);
|
|
bool L_7;
|
|
L_7 = String_EndsWith_m5E5D307CA6AEB7C08CE782B4693B19D07ADC9075(L_6, _stringLiteral23DF9991B71463C240582D176E347E7E47AEFF5A, 5, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
// saveAsJpeg = true;
|
|
V_0 = (bool)1;
|
|
goto IL_0060;
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
// if( !createdFileName.EndsWith( ".png", System.StringComparison.OrdinalIgnoreCase ) )
|
|
String_t* L_8 = ___1_createdFileName;
|
|
NullCheck(L_8);
|
|
bool L_9;
|
|
L_9 = String_EndsWith_m5E5D307CA6AEB7C08CE782B4693B19D07ADC9075(L_8, _stringLiteralA15C898F015A9B0BC3268E8883CD03008A56DE26, 5, NULL);
|
|
if (L_9)
|
|
{
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
// createdFileName += ".png";
|
|
String_t* L_10 = ___1_createdFileName;
|
|
String_t* L_11;
|
|
L_11 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_10, _stringLiteralA15C898F015A9B0BC3268E8883CD03008A56DE26, NULL);
|
|
___1_createdFileName = L_11;
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
// saveAsJpeg = false;
|
|
V_0 = (bool)0;
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// string filePath = Path.Combine( Application.temporaryCachePath, createdFileName );
|
|
String_t* L_12;
|
|
L_12 = Application_get_temporaryCachePath_mE4483A939988E69570C19F8B31AB9FB17B0FD97D(NULL);
|
|
String_t* L_13 = ___1_createdFileName;
|
|
il2cpp_codegen_runtime_class_init_inline(Path_t8A38A801D0219E8209C1B1D90D82D4D755D998BC_il2cpp_TypeInfo_var);
|
|
String_t* L_14;
|
|
L_14 = Path_Combine_m1ADAC05CDA2D1D61B172DF65A81E86592696BEAE(L_12, L_13, NULL);
|
|
V_1 = L_14;
|
|
// File.WriteAllBytes( filePath, GetTextureBytes( texture, saveAsJpeg ) );
|
|
String_t* L_15 = V_1;
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_16 = ___0_texture;
|
|
bool L_17 = V_0;
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_18;
|
|
L_18 = NativeShare_GetTextureBytes_m5E2AE3535B50014A6BC5C326F6202FC7E2BEFB9C(__this, L_16, L_17, NULL);
|
|
File_WriteAllBytes_mC491031DA14AA9B591F62D6AD0181D090E081077(L_15, L_18, NULL);
|
|
// AddFile( filePath, saveAsJpeg ? "image/jpeg" : "image/png" );
|
|
String_t* L_19 = V_1;
|
|
bool L_20 = V_0;
|
|
G_B11_0 = L_19;
|
|
G_B11_1 = __this;
|
|
if (L_20)
|
|
{
|
|
G_B12_0 = L_19;
|
|
G_B12_1 = __this;
|
|
goto IL_0086;
|
|
}
|
|
}
|
|
{
|
|
G_B13_0 = _stringLiteral75E05143EB132AAA8A22B48813DB8E6047380821;
|
|
G_B13_1 = G_B11_0;
|
|
G_B13_2 = G_B11_1;
|
|
goto IL_008b;
|
|
}
|
|
|
|
IL_0086:
|
|
{
|
|
G_B13_0 = _stringLiteral3E96C9BB1B953A85290371E8CE7BB3F3ABB307CC;
|
|
G_B13_1 = G_B12_0;
|
|
G_B13_2 = G_B12_1;
|
|
}
|
|
|
|
IL_008b:
|
|
{
|
|
NullCheck(G_B13_2);
|
|
NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* L_21;
|
|
L_21 = NativeShare_AddFile_m2B6FF1B19C51E3229002A8430D253C1EFC0DD240(G_B13_2, G_B13_1, G_B13_0, NULL);
|
|
}
|
|
|
|
IL_0091:
|
|
{
|
|
// return this;
|
|
return __this;
|
|
}
|
|
}
|
|
// NativeShare NativeShare::AddEmailRecipient(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* NativeShare_AddEmailRecipient_m4BAC97D4BD7EDF171B1C3BED1DD4E690E74EB205 (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, String_t* ___0_emailAddress, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return this;
|
|
return __this;
|
|
}
|
|
}
|
|
// System.Void NativeShare::Share()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeShare_Share_m3DB5879D819C16FC4325D124E296F6C6CD9C13DD (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m2C402D882AA60FC1D5C7C09A129BE7779F833B4A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral537DA31EA009D26D0F870996AEBF3B39A97F284F);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if( files.Count == 0 && subject.Length == 0 && text.Length == 0 && url.Length == 0 )
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* L_0 = __this->___files_4;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_inline(L_0, List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_RuntimeMethod_var);
|
|
if (L_1)
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_2 = __this->___subject_0;
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_2, NULL);
|
|
if (L_3)
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_4 = __this->___text_1;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_4, NULL);
|
|
if (L_5)
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_6 = __this->___url_3;
|
|
NullCheck(L_6);
|
|
int32_t L_7;
|
|
L_7 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_6, NULL);
|
|
if (L_7)
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogWarning( "Share Error: attempting to share nothing!" );
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteral537DA31EA009D26D0F870996AEBF3B39A97F284F, NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
// NSShareResultCallbackiOS.Initialize( callback );
|
|
ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* L_8 = __this->___callback_6;
|
|
NSShareResultCallbackiOS_Initialize_m3FA021ED002961E3B26B716515B5A77CF9B8BA06(L_8, NULL);
|
|
// if( files.Count == 0 )
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* L_9 = __this->___files_4;
|
|
NullCheck(L_9);
|
|
int32_t L_10;
|
|
L_10 = List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_inline(L_9, List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_RuntimeMethod_var);
|
|
if (L_10)
|
|
{
|
|
goto IL_0076;
|
|
}
|
|
}
|
|
{
|
|
// _NativeShare_Share( new string[0], 0, subject, text, GetURLWithScheme() );
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_11 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)0);
|
|
String_t* L_12 = __this->___subject_0;
|
|
String_t* L_13 = __this->___text_1;
|
|
String_t* L_14;
|
|
L_14 = NativeShare_GetURLWithScheme_mFB311627815D47656BEB6DBC2C131D8E64668CD4(__this, NULL);
|
|
NativeShare__NativeShare_Share_m338576D82E461725B4E2CE7262FA34C005B886DC(L_11, 0, L_12, L_13, L_14, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0076:
|
|
{
|
|
// _NativeShare_Share( files.ToArray(), files.Count, subject, CombineURLWithText(), "" );
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* L_15 = __this->___files_4;
|
|
NullCheck(L_15);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_16;
|
|
L_16 = List_1_ToArray_m2C402D882AA60FC1D5C7C09A129BE7779F833B4A(L_15, List_1_ToArray_m2C402D882AA60FC1D5C7C09A129BE7779F833B4A_RuntimeMethod_var);
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* L_17 = __this->___files_4;
|
|
NullCheck(L_17);
|
|
int32_t L_18;
|
|
L_18 = List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_inline(L_17, List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_RuntimeMethod_var);
|
|
String_t* L_19 = __this->___subject_0;
|
|
String_t* L_20;
|
|
L_20 = NativeShare_CombineURLWithText_mBD3218FD4796ACD1E82A56023ACFD1D50E0B3E6D(__this, NULL);
|
|
NativeShare__NativeShare_Share_m338576D82E461725B4E2CE7262FA34C005B886DC(L_16, L_18, L_19, L_20, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean NativeShare::TargetExists(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NativeShare_TargetExists_mD182ABC83C00CF5FBCC07E80ED2AC9128C84B285 (String_t* ___0_androidPackageName, String_t* ___1_androidClassName, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean NativeShare::FindTarget(System.String&,System.String&,System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NativeShare_FindTarget_m848E039C88ACA928EE1440B0F788D011426402ED (String_t** ___0_androidPackageName, String_t** ___1_androidClassName, String_t* ___2_packageNameRegex, String_t* ___3_classNameRegex, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// androidPackageName = null;
|
|
String_t** L_0 = ___0_androidPackageName;
|
|
*((RuntimeObject**)L_0) = (RuntimeObject*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_0, (void*)(RuntimeObject*)NULL);
|
|
// androidClassName = null;
|
|
String_t** L_1 = ___1_androidClassName;
|
|
*((RuntimeObject**)L_1) = (RuntimeObject*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_1, (void*)(RuntimeObject*)NULL);
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.String NativeShare::GetURLWithScheme()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* NativeShare_GetURLWithScheme_mFB311627815D47656BEB6DBC2C131D8E64668CD4 (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6A1D52382547009AB732F651FE2CA42F1BBA769A);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA493FF06F94D0907E2F1797D03C4EB68CE5751F2);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return ( url.Length == 0 || url.Contains( "://" ) ) ? url : ( "https://" + url );
|
|
String_t* L_0 = __this->___url_3;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_2 = __this->___url_3;
|
|
NullCheck(L_2);
|
|
bool L_3;
|
|
L_3 = String_Contains_m6D77B121FADA7CA5F397C0FABB65DA62DF03B6C3(L_2, _stringLiteral6A1D52382547009AB732F651FE2CA42F1BBA769A, NULL);
|
|
if (L_3)
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_4 = __this->___url_3;
|
|
String_t* L_5;
|
|
L_5 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteralA493FF06F94D0907E2F1797D03C4EB68CE5751F2, L_4, NULL);
|
|
return L_5;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
String_t* L_6 = __this->___url_3;
|
|
return L_6;
|
|
}
|
|
}
|
|
// System.String NativeShare::CombineURLWithText()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* NativeShare_CombineURLWithText_mBD3218FD4796ACD1E82A56023ACFD1D50E0B3E6D (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if( url.Length == 0 || text.IndexOf( url, System.StringComparison.OrdinalIgnoreCase ) >= 0 )
|
|
String_t* L_0 = __this->___url_3;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_2 = __this->___text_1;
|
|
String_t* L_3 = __this->___url_3;
|
|
NullCheck(L_2);
|
|
int32_t L_4;
|
|
L_4 = String_IndexOf_m490810CB7ADA9230AC0F8D78E213A8EFED129F55(L_2, L_3, 5, NULL);
|
|
if ((((int32_t)L_4) < ((int32_t)0)))
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// return text;
|
|
String_t* L_5 = __this->___text_1;
|
|
return L_5;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// else if( text.Length == 0 )
|
|
String_t* L_6 = __this->___text_1;
|
|
NullCheck(L_6);
|
|
int32_t L_7;
|
|
L_7 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_6, NULL);
|
|
if (L_7)
|
|
{
|
|
goto IL_003d;
|
|
}
|
|
}
|
|
{
|
|
// return GetURLWithScheme();
|
|
String_t* L_8;
|
|
L_8 = NativeShare_GetURLWithScheme_mFB311627815D47656BEB6DBC2C131D8E64668CD4(__this, NULL);
|
|
return L_8;
|
|
}
|
|
|
|
IL_003d:
|
|
{
|
|
// return string.Concat( text, " ", GetURLWithScheme() );
|
|
String_t* L_9 = __this->___text_1;
|
|
String_t* L_10;
|
|
L_10 = NativeShare_GetURLWithScheme_mFB311627815D47656BEB6DBC2C131D8E64668CD4(__this, NULL);
|
|
String_t* L_11;
|
|
L_11 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(L_9, _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745, L_10, NULL);
|
|
return L_11;
|
|
}
|
|
}
|
|
// System.Byte[] NativeShare::GetTextureBytes(UnityEngine.Texture2D,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* NativeShare_GetTextureBytes_m5E2AE3535B50014A6BC5C326F6202FC7E2BEFB9C (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___0_texture, bool ___1_isJpeg, const RuntimeMethod* method)
|
|
{
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* V_0 = NULL;
|
|
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* G_B3_0 = NULL;
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
// return isJpeg ? texture.EncodeToJPG( 100 ) : texture.EncodeToPNG();
|
|
bool L_0 = ___1_isJpeg;
|
|
if (L_0)
|
|
{
|
|
goto IL_000b_1;
|
|
}
|
|
}
|
|
{
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_1 = ___0_texture;
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_2;
|
|
L_2 = ImageConversion_EncodeToPNG_m0804AD31B83C653AEBB234F6CC31A02D4FA7C945(L_1, NULL);
|
|
G_B3_0 = L_2;
|
|
goto IL_0013_1;
|
|
}
|
|
|
|
IL_000b_1:
|
|
{
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_3 = ___0_texture;
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_4;
|
|
L_4 = ImageConversion_EncodeToJPG_mD0307B5DFF32A3FF39488E97B467F11AFE501F6F(L_3, ((int32_t)100), NULL);
|
|
G_B3_0 = L_4;
|
|
}
|
|
|
|
IL_0013_1:
|
|
{
|
|
V_0 = G_B3_0;
|
|
goto IL_002e;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UnityException_tA1EC1E95ADE689CF6EB7FAFF77C160AE1F559067_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
|
|
{
|
|
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
|
|
goto CATCH_0016;
|
|
}
|
|
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
|
|
{
|
|
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
|
|
goto CATCH_0022;
|
|
}
|
|
throw e;
|
|
}
|
|
|
|
CATCH_0016:
|
|
{// begin catch(UnityEngine.UnityException)
|
|
UnityException_tA1EC1E95ADE689CF6EB7FAFF77C160AE1F559067* L_5 = ((UnityException_tA1EC1E95ADE689CF6EB7FAFF77C160AE1F559067*)IL2CPP_GET_ACTIVE_EXCEPTION(UnityException_tA1EC1E95ADE689CF6EB7FAFF77C160AE1F559067*));;
|
|
// catch( UnityException )
|
|
// return GetTextureBytesFromCopy( texture, isJpeg );
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_6 = ___0_texture;
|
|
bool L_7 = ___1_isJpeg;
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_8;
|
|
L_8 = NativeShare_GetTextureBytesFromCopy_m20CFC5B48E34BBC8518FD78B6D69216E7D494DA5(__this, L_6, L_7, NULL);
|
|
V_0 = L_8;
|
|
IL2CPP_POP_ACTIVE_EXCEPTION(Exception_t*);
|
|
goto IL_002e;
|
|
}// end catch (depth: 1)
|
|
|
|
CATCH_0022:
|
|
{// begin catch(System.ArgumentException)
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_9 = ((ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)IL2CPP_GET_ACTIVE_EXCEPTION(ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*));;
|
|
// catch( System.ArgumentException )
|
|
// return GetTextureBytesFromCopy( texture, isJpeg );
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_10 = ___0_texture;
|
|
bool L_11 = ___1_isJpeg;
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_12;
|
|
L_12 = NativeShare_GetTextureBytesFromCopy_m20CFC5B48E34BBC8518FD78B6D69216E7D494DA5(__this, L_10, L_11, NULL);
|
|
V_0 = L_12;
|
|
IL2CPP_POP_ACTIVE_EXCEPTION(Exception_t*);
|
|
goto IL_002e;
|
|
}// end catch (depth: 1)
|
|
|
|
IL_002e:
|
|
{
|
|
// }
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_13 = V_0;
|
|
return L_13;
|
|
}
|
|
}
|
|
// System.Byte[] NativeShare::GetTextureBytesFromCopy(UnityEngine.Texture2D,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* NativeShare_GetTextureBytesFromCopy_m20CFC5B48E34BBC8518FD78B6D69216E7D494DA5 (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___0_texture, bool ___1_isJpeg, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6307B090E7219A907073428ED745FD41EFA179DE);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* V_0 = NULL;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* V_1 = NULL;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* V_2 = NULL;
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* V_3 = NULL;
|
|
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
|
|
int32_t G_B3_0 = 0;
|
|
int32_t G_B3_1 = 0;
|
|
int32_t G_B2_0 = 0;
|
|
int32_t G_B2_1 = 0;
|
|
int32_t G_B4_0 = 0;
|
|
int32_t G_B4_1 = 0;
|
|
int32_t G_B4_2 = 0;
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* G_B11_0 = NULL;
|
|
{
|
|
// Debug.LogWarning( "Sharing non-readable textures is slower than sharing readable textures" );
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteral6307B090E7219A907073428ED745FD41EFA179DE, NULL);
|
|
// Texture2D sourceTexReadable = null;
|
|
V_0 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL;
|
|
// RenderTexture rt = RenderTexture.GetTemporary( texture.width, texture.height );
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_0 = ___0_texture;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_0);
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_2 = ___0_texture;
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_2);
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_4;
|
|
L_4 = RenderTexture_GetTemporary_m82379FD4C767A36F0677CAF4E68319EAE16ADF7F(L_1, L_3, NULL);
|
|
V_1 = L_4;
|
|
// RenderTexture activeRT = RenderTexture.active;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_5;
|
|
L_5 = RenderTexture_get_active_mA4434B3E79DEF2C01CAE0A53061598B16443C9E7(NULL);
|
|
V_2 = L_5;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_008a:
|
|
{// begin finally (depth: 1)
|
|
// RenderTexture.active = activeRT;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_6 = V_2;
|
|
RenderTexture_set_active_m5EE8E2327EF9B306C1425014CC34C41A8384E7AB(L_6, NULL);
|
|
// RenderTexture.ReleaseTemporary( rt );
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_7 = V_1;
|
|
RenderTexture_ReleaseTemporary_mEEF2C1990196FF06FDD0DC190928AD3A023EBDD2(L_7, NULL);
|
|
// }
|
|
return;
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
try
|
|
{// begin try (depth: 2)
|
|
{
|
|
// Graphics.Blit( texture, rt );
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_8 = ___0_texture;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_9 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
Graphics_Blit_m8D99E16B74C7D3C8F79F4F142C59DB6B38114504(L_8, L_9, NULL);
|
|
// RenderTexture.active = rt;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_10 = V_1;
|
|
RenderTexture_set_active_m5EE8E2327EF9B306C1425014CC34C41A8384E7AB(L_10, NULL);
|
|
// sourceTexReadable = new Texture2D( texture.width, texture.height, isJpeg ? TextureFormat.RGB24 : TextureFormat.RGBA32, false );
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_11 = ___0_texture;
|
|
NullCheck(L_11);
|
|
int32_t L_12;
|
|
L_12 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_11);
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_13 = ___0_texture;
|
|
NullCheck(L_13);
|
|
int32_t L_14;
|
|
L_14 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_13);
|
|
bool L_15 = ___1_isJpeg;
|
|
G_B2_0 = L_14;
|
|
G_B2_1 = L_12;
|
|
if (L_15)
|
|
{
|
|
G_B3_0 = L_14;
|
|
G_B3_1 = L_12;
|
|
goto IL_0043_2;
|
|
}
|
|
}
|
|
{
|
|
G_B4_0 = 4;
|
|
G_B4_1 = G_B2_0;
|
|
G_B4_2 = G_B2_1;
|
|
goto IL_0044_2;
|
|
}
|
|
|
|
IL_0043_2:
|
|
{
|
|
G_B4_0 = 3;
|
|
G_B4_1 = G_B3_0;
|
|
G_B4_2 = G_B3_1;
|
|
}
|
|
|
|
IL_0044_2:
|
|
{
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_16 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)il2cpp_codegen_object_new(Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_16);
|
|
Texture2D__ctor_mECF60A9EC0638EC353C02C8E99B6B465D23BE917(L_16, G_B4_2, G_B4_1, G_B4_0, (bool)0, NULL);
|
|
V_0 = L_16;
|
|
// sourceTexReadable.ReadPixels( new Rect( 0, 0, texture.width, texture.height ), 0, 0, false );
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_17 = V_0;
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_18 = ___0_texture;
|
|
NullCheck(L_18);
|
|
int32_t L_19;
|
|
L_19 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_18);
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_20 = ___0_texture;
|
|
NullCheck(L_20);
|
|
int32_t L_21;
|
|
L_21 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_20);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_22;
|
|
memset((&L_22), 0, sizeof(L_22));
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23((&L_22), (0.0f), (0.0f), ((float)L_19), ((float)L_21), /*hidden argument*/NULL);
|
|
NullCheck(L_17);
|
|
Texture2D_ReadPixels_m7483DB211233F02E46418E9A6077487925F0024C(L_17, L_22, 0, 0, (bool)0, NULL);
|
|
// sourceTexReadable.Apply( false, false );
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_23 = V_0;
|
|
NullCheck(L_23);
|
|
Texture2D_Apply_m36EE27E6F1BF7FB8C70A1D749DC4EE249810AA3A(L_23, (bool)0, (bool)0, NULL);
|
|
// }
|
|
goto IL_0097;
|
|
}
|
|
}// end try (depth: 2)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
|
|
{
|
|
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
|
|
goto CATCH_007b_1;
|
|
}
|
|
throw e;
|
|
}
|
|
|
|
CATCH_007b_1:
|
|
{// begin catch(System.Exception)
|
|
Exception_t* L_24 = ((Exception_t*)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t*));;
|
|
// Debug.LogException( e );
|
|
il2cpp_codegen_runtime_class_init_inline(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var)));
|
|
Debug_LogException_mAB3F4DC7297ED8FBB49DAA718B70E59A6B0171B0(L_24, NULL);
|
|
// Object.DestroyImmediate( sourceTexReadable );
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_25 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var)));
|
|
Object_DestroyImmediate_m6336EBC83591A5DB64EC70C92132824C6E258705(L_25, NULL);
|
|
// return null;
|
|
V_3 = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)NULL;
|
|
IL2CPP_POP_ACTIVE_EXCEPTION(Exception_t*);
|
|
goto IL_00be;
|
|
}// end catch (depth: 2)
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_0097:
|
|
{
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_00b7:
|
|
{// begin finally (depth: 1)
|
|
// Object.DestroyImmediate( sourceTexReadable );
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_26 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
Object_DestroyImmediate_m6336EBC83591A5DB64EC70C92132824C6E258705(L_26, NULL);
|
|
// }
|
|
return;
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
try
|
|
{// begin try (depth: 2)
|
|
{
|
|
// return isJpeg ? sourceTexReadable.EncodeToJPG( 100 ) : sourceTexReadable.EncodeToPNG();
|
|
bool L_27 = ___1_isJpeg;
|
|
if (L_27)
|
|
{
|
|
goto IL_00a3_2;
|
|
}
|
|
}
|
|
{
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_28 = V_0;
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_29;
|
|
L_29 = ImageConversion_EncodeToPNG_m0804AD31B83C653AEBB234F6CC31A02D4FA7C945(L_28, NULL);
|
|
G_B11_0 = L_29;
|
|
goto IL_00ab_2;
|
|
}
|
|
|
|
IL_00a3_2:
|
|
{
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_30 = V_0;
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_31;
|
|
L_31 = ImageConversion_EncodeToJPG_mD0307B5DFF32A3FF39488E97B467F11AFE501F6F(L_30, ((int32_t)100), NULL);
|
|
G_B11_0 = L_31;
|
|
}
|
|
|
|
IL_00ab_2:
|
|
{
|
|
V_3 = G_B11_0;
|
|
goto IL_00be;
|
|
}
|
|
}// end try (depth: 2)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
|
|
{
|
|
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
|
|
goto CATCH_00ae_1;
|
|
}
|
|
throw e;
|
|
}
|
|
|
|
CATCH_00ae_1:
|
|
{// begin catch(System.Exception)
|
|
Exception_t* L_32 = ((Exception_t*)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t*));;
|
|
// Debug.LogException( e );
|
|
il2cpp_codegen_runtime_class_init_inline(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var)));
|
|
Debug_LogException_mAB3F4DC7297ED8FBB49DAA718B70E59A6B0171B0(L_32, NULL);
|
|
// return null;
|
|
V_3 = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)NULL;
|
|
IL2CPP_POP_ACTIVE_EXCEPTION(Exception_t*);
|
|
goto IL_00be;
|
|
}// end catch (depth: 2)
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_00be:
|
|
{
|
|
// }
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_33 = V_3;
|
|
return L_33;
|
|
}
|
|
}
|
|
// System.Void NativeShare::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeShare__ctor_m7808C679AB06B9BE0BFF3FA5FF0F7FD06C51BE6E (NativeShare_t89B79EA6B0A34E197A0FF3815CEE1B970D30960B* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m1A062F45FE926079CE2D4FD38A3BF15F7AEB89AF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// private string subject = string.Empty;
|
|
String_t* L_0 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
__this->___subject_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___subject_0), (void*)L_0);
|
|
// private string text = string.Empty;
|
|
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
__this->___text_1 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___text_1), (void*)L_1);
|
|
// private string title = string.Empty;
|
|
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
__this->___title_2 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___title_2), (void*)L_2);
|
|
// private string url = string.Empty;
|
|
String_t* L_3 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
__this->___url_3 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___url_3), (void*)L_3);
|
|
// private readonly List<string> files = new List<string>( 0 );
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* L_4 = (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD*)il2cpp_codegen_object_new(List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
List_1__ctor_m1A062F45FE926079CE2D4FD38A3BF15F7AEB89AF(L_4, 0, List_1__ctor_m1A062F45FE926079CE2D4FD38A3BF15F7AEB89AF_RuntimeMethod_var);
|
|
__this->___files_4 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___files_4), (void*)L_4);
|
|
// private readonly List<string> mimes = new List<string>( 0 );
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* L_5 = (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD*)il2cpp_codegen_object_new(List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
List_1__ctor_m1A062F45FE926079CE2D4FD38A3BF15F7AEB89AF(L_5, 0, List_1__ctor_m1A062F45FE926079CE2D4FD38A3BF15F7AEB89AF_RuntimeMethod_var);
|
|
__this->___mimes_5 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___mimes_5), (void*)L_5);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#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
|
|
#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
|
|
void ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_Multicast(ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* __this, int32_t ___0_result, String_t* ___1_shareTarget, const RuntimeMethod* method)
|
|
{
|
|
il2cpp_array_size_t length = __this->___delegates_13->max_length;
|
|
Delegate_t** delegatesToInvoke = reinterpret_cast<Delegate_t**>(__this->___delegates_13->GetAddressAtUnchecked(0));
|
|
for (il2cpp_array_size_t i = 0; i < length; i++)
|
|
{
|
|
ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* currentDelegate = reinterpret_cast<ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5*>(delegatesToInvoke[i]);
|
|
typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, String_t*, const RuntimeMethod*);
|
|
((FunctionPointerType)currentDelegate->___invoke_impl_1)((Il2CppObject*)currentDelegate->___method_code_6, ___0_result, ___1_shareTarget, reinterpret_cast<RuntimeMethod*>(currentDelegate->___method_3));
|
|
}
|
|
}
|
|
void ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_OpenInst(ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* __this, int32_t ___0_result, String_t* ___1_shareTarget, const RuntimeMethod* method)
|
|
{
|
|
typedef void (*FunctionPointerType) (int32_t, String_t*, const RuntimeMethod*);
|
|
((FunctionPointerType)__this->___method_ptr_0)(___0_result, ___1_shareTarget, method);
|
|
}
|
|
void ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_OpenStatic(ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* __this, int32_t ___0_result, String_t* ___1_shareTarget, const RuntimeMethod* method)
|
|
{
|
|
typedef void (*FunctionPointerType) (int32_t, String_t*, const RuntimeMethod*);
|
|
((FunctionPointerType)__this->___method_ptr_0)(___0_result, ___1_shareTarget, method);
|
|
}
|
|
void ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_OpenStaticInvoker(ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* __this, int32_t ___0_result, String_t* ___1_shareTarget, const RuntimeMethod* method)
|
|
{
|
|
InvokerActionInvoker2< int32_t, String_t* >::Invoke((Il2CppMethodPointer)__this->___method_ptr_0, method, NULL, ___0_result, ___1_shareTarget);
|
|
}
|
|
void ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_ClosedStaticInvoker(ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* __this, int32_t ___0_result, String_t* ___1_shareTarget, const RuntimeMethod* method)
|
|
{
|
|
InvokerActionInvoker3< RuntimeObject*, int32_t, String_t* >::Invoke((Il2CppMethodPointer)__this->___method_ptr_0, method, NULL, __this->___m_target_2, ___0_result, ___1_shareTarget);
|
|
}
|
|
IL2CPP_EXTERN_C void DelegatePInvokeWrapper_ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5 (ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* __this, int32_t ___0_result, String_t* ___1_shareTarget, const RuntimeMethod* method)
|
|
{
|
|
typedef void (DEFAULT_CALL *PInvokeFunc)(int32_t, char*);
|
|
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_reverse_pinvoke_function_ptr(__this));
|
|
// Marshaling of parameter '___1_shareTarget' to native representation
|
|
char* ____1_shareTarget_marshaled = NULL;
|
|
____1_shareTarget_marshaled = il2cpp_codegen_marshal_string(___1_shareTarget);
|
|
|
|
// Native function invocation
|
|
il2cppPInvokeFunc(___0_result, ____1_shareTarget_marshaled);
|
|
|
|
// Marshaling cleanup of parameter '___1_shareTarget' native representation
|
|
il2cpp_codegen_marshal_free(____1_shareTarget_marshaled);
|
|
____1_shareTarget_marshaled = NULL;
|
|
|
|
}
|
|
// System.Void NativeShare/ShareResultCallback::.ctor(System.Object,System.IntPtr)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ShareResultCallback__ctor_m916C36D840FC04394DB3549444BFA1E4C79F8AD4 (ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
|
|
{
|
|
__this->___method_ptr_0 = (intptr_t)il2cpp_codegen_get_virtual_call_method_pointer((RuntimeMethod*)___1_method);
|
|
__this->___method_3 = ___1_method;
|
|
__this->___m_target_2 = ___0_object;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_target_2), (void*)___0_object);
|
|
int parameterCount = il2cpp_codegen_method_parameter_count((RuntimeMethod*)___1_method);
|
|
__this->___method_code_6 = (intptr_t)__this;
|
|
if (MethodIsStatic((RuntimeMethod*)___1_method))
|
|
{
|
|
bool isOpen = parameterCount == 2;
|
|
if (il2cpp_codegen_call_method_via_invoker((RuntimeMethod*)___1_method))
|
|
if (isOpen)
|
|
__this->___invoke_impl_1 = (intptr_t)&ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_OpenStaticInvoker;
|
|
else
|
|
__this->___invoke_impl_1 = (intptr_t)&ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_ClosedStaticInvoker;
|
|
else
|
|
if (isOpen)
|
|
__this->___invoke_impl_1 = (intptr_t)&ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_OpenStatic;
|
|
else
|
|
{
|
|
__this->___invoke_impl_1 = __this->___method_ptr_0;
|
|
__this->___method_code_6 = (intptr_t)__this->___m_target_2;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (___0_object == NULL)
|
|
il2cpp_codegen_raise_exception(il2cpp_codegen_get_argument_exception(NULL, "Delegate to an instance method cannot have null 'this'."), NULL);
|
|
__this->___invoke_impl_1 = __this->___method_ptr_0;
|
|
__this->___method_code_6 = (intptr_t)__this->___m_target_2;
|
|
}
|
|
__this->___extra_arg_5 = (intptr_t)&ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_Multicast;
|
|
}
|
|
// System.Void NativeShare/ShareResultCallback::Invoke(NativeShare/ShareResult,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A (ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* __this, int32_t ___0_result, String_t* ___1_shareTarget, const RuntimeMethod* method)
|
|
{
|
|
typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, String_t*, const RuntimeMethod*);
|
|
((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___0_result, ___1_shareTarget, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
|
|
}
|
|
// System.IAsyncResult NativeShare/ShareResultCallback::BeginInvoke(NativeShare/ShareResult,System.String,System.AsyncCallback,System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* ShareResultCallback_BeginInvoke_m0B2F88E15A556434DF44FE85B2FD5B41280C8809 (ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* __this, int32_t ___0_result, String_t* ___1_shareTarget, AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C* ___2_callback, RuntimeObject* ___3_object, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ShareResult_t2D0F0DD75A0DAD3506F82AC32C648A14B220EBFB_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
void *__d_args[3] = {0};
|
|
__d_args[0] = Box(ShareResult_t2D0F0DD75A0DAD3506F82AC32C648A14B220EBFB_il2cpp_TypeInfo_var, &___0_result);
|
|
__d_args[1] = ___1_shareTarget;
|
|
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___2_callback, (RuntimeObject*)___3_object);
|
|
}
|
|
// System.Void NativeShare/ShareResultCallback::EndInvoke(System.IAsyncResult)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ShareResultCallback_EndInvoke_m71774DE46FB1BA955B2A07A024B787E90FEB02B4 (ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* __this, RuntimeObject* ___0_result, const RuntimeMethod* method)
|
|
{
|
|
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___0_result, 0);
|
|
}
|
|
#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.Void NativeShareNamespace.NSShareResultCallbackiOS::Initialize(NativeShare/ShareResultCallback)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NSShareResultCallbackiOS_Initialize_m3FA021ED002961E3B26B716515B5A77CF9B8BA06 (ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* ___0_callback, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisNSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_mBA3A6C295C2F09CF7215BFB664EA31C071266E99_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8302A0571E7DCC9204775D1D077FC0075A94BCAF);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if( instance == null )
|
|
NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93* L_0 = ((NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_StaticFields*)il2cpp_codegen_static_fields_for(NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_il2cpp_TypeInfo_var))->___instance_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0032;
|
|
}
|
|
}
|
|
{
|
|
// instance = new GameObject( "NSShareResultCallbackiOS" ).AddComponent<NSShareResultCallbackiOS>();
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_2 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_2, _stringLiteral8302A0571E7DCC9204775D1D077FC0075A94BCAF, NULL);
|
|
NullCheck(L_2);
|
|
NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93* L_3;
|
|
L_3 = GameObject_AddComponent_TisNSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_mBA3A6C295C2F09CF7215BFB664EA31C071266E99(L_2, GameObject_AddComponent_TisNSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_mBA3A6C295C2F09CF7215BFB664EA31C071266E99_RuntimeMethod_var);
|
|
((NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_StaticFields*)il2cpp_codegen_static_fields_for(NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_il2cpp_TypeInfo_var))->___instance_4 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_StaticFields*)il2cpp_codegen_static_fields_for(NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_il2cpp_TypeInfo_var))->___instance_4), (void*)L_3);
|
|
// DontDestroyOnLoad( instance.gameObject );
|
|
NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93* L_4 = ((NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_StaticFields*)il2cpp_codegen_static_fields_for(NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_il2cpp_TypeInfo_var))->___instance_4;
|
|
NullCheck(L_4);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_5;
|
|
L_5 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_4, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
Object_DontDestroyOnLoad_m4B70C3AEF886C176543D1295507B6455C9DCAEA7(L_5, NULL);
|
|
goto IL_004f;
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// else if( instance.callback != null )
|
|
NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93* L_6 = ((NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_StaticFields*)il2cpp_codegen_static_fields_for(NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_il2cpp_TypeInfo_var))->___instance_4;
|
|
NullCheck(L_6);
|
|
ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* L_7 = L_6->___callback_5;
|
|
if (!L_7)
|
|
{
|
|
goto IL_004f;
|
|
}
|
|
}
|
|
{
|
|
// instance.callback( NativeShare.ShareResult.Unknown, null );
|
|
NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93* L_8 = ((NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_StaticFields*)il2cpp_codegen_static_fields_for(NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_il2cpp_TypeInfo_var))->___instance_4;
|
|
NullCheck(L_8);
|
|
ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* L_9 = L_8->___callback_5;
|
|
NullCheck(L_9);
|
|
ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_inline(L_9, 0, (String_t*)NULL, NULL);
|
|
}
|
|
|
|
IL_004f:
|
|
{
|
|
// instance.callback = callback;
|
|
NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93* L_10 = ((NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_StaticFields*)il2cpp_codegen_static_fields_for(NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93_il2cpp_TypeInfo_var))->___instance_4;
|
|
ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* L_11 = ___0_callback;
|
|
NullCheck(L_10);
|
|
L_10->___callback_5 = L_11;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_10->___callback_5), (void*)L_11);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void NativeShareNamespace.NSShareResultCallbackiOS::OnShareCompleted(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NSShareResultCallbackiOS_OnShareCompleted_m2F94527C2800D06A8CF9D73E6FFD0150689481BD (NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93* __this, String_t* ___0_message, const RuntimeMethod* method)
|
|
{
|
|
ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
String_t* V_2 = NULL;
|
|
String_t* G_B6_0 = NULL;
|
|
{
|
|
// NativeShare.ShareResultCallback _callback = callback;
|
|
ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* L_0 = __this->___callback_5;
|
|
V_0 = L_0;
|
|
// callback = null;
|
|
__this->___callback_5 = (ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___callback_5), (void*)(ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5*)NULL);
|
|
// if( _callback != null )
|
|
ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* L_1 = V_0;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0049;
|
|
}
|
|
}
|
|
{
|
|
// if( string.IsNullOrEmpty( message ) )
|
|
String_t* L_2 = ___0_message;
|
|
bool L_3;
|
|
L_3 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
// _callback( NativeShare.ShareResult.Unknown, null );
|
|
ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_inline(L_4, 0, (String_t*)NULL, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// NativeShare.ShareResult result = (NativeShare.ShareResult) ( message[0] - '0' ); // Convert first char to digit and then to ShareResult
|
|
String_t* L_5 = ___0_message;
|
|
NullCheck(L_5);
|
|
Il2CppChar L_6;
|
|
L_6 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_5, 0, NULL);
|
|
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_6, ((int32_t)48)));
|
|
// string shareTarget = message.Length > 1 ? message.Substring( 1 ) : null;
|
|
String_t* L_7 = ___0_message;
|
|
NullCheck(L_7);
|
|
int32_t L_8;
|
|
L_8 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_7, NULL);
|
|
if ((((int32_t)L_8) > ((int32_t)1)))
|
|
{
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
G_B6_0 = ((String_t*)(NULL));
|
|
goto IL_0040;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
String_t* L_9 = ___0_message;
|
|
NullCheck(L_9);
|
|
String_t* L_10;
|
|
L_10 = String_Substring_m6BA4A3FA3800FE92662D0847CC8E1EEF940DF472(L_9, 1, NULL);
|
|
G_B6_0 = L_10;
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
V_2 = G_B6_0;
|
|
// _callback( result, shareTarget );
|
|
ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* L_11 = V_0;
|
|
int32_t L_12 = V_1;
|
|
String_t* L_13 = V_2;
|
|
NullCheck(L_11);
|
|
ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_inline(L_11, L_12, L_13, NULL);
|
|
}
|
|
|
|
IL_0049:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void NativeShareNamespace.NSShareResultCallbackiOS::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NSShareResultCallbackiOS__ctor_m5BA05DBF1AFDBB02C258043E254A723988B36250 (NSShareResultCallbackiOS_tFE57F585C7F749D90CB7847C17DF73C6463B6F93* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
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_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ShareResultCallback_Invoke_mD1BF5CCE67D2D8A0C4930E3344896606BF4E9F6A_inline (ShareResultCallback_t9BEF49D9F4FF6C26758394EA70E84DD6339733C5* __this, int32_t ___0_result, String_t* ___1_shareTarget, const RuntimeMethod* method)
|
|
{
|
|
typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, String_t*, const RuntimeMethod*);
|
|
((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___0_result, ___1_shareTarget, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_mD615D1BCB2C9DD91DAD86A2F9E5CF1DFFCBF7925_gshared_inline (List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = __this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
bool L_1;
|
|
L_1 = il2cpp_codegen_is_reference_or_contains_references(il2cpp_rgctx_method(method->klass->rgctx_data, 25));
|
|
if (!L_1)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = __this->____size_2;
|
|
V_0 = L_2;
|
|
__this->____size_2 = 0;
|
|
int32_t L_3 = V_0;
|
|
if ((((int32_t)L_3) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
__Il2CppFullySharedGenericTypeU5BU5D_tCAB6D060972DD49223A834B7EEFEB9FE2D003BEC* L_4 = __this->____items_1;
|
|
int32_t L_5 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_4, 0, L_5, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mD4F3498FBD3BDD3F03CBCFB38041CBAC9C28CAFC_gshared_inline (List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A* __this, /*Unity.IL2CPP.Metadata.__Il2CppFullySharedGenericType*/Il2CppFullySharedGenericAny ___0_item, const RuntimeMethod* method)
|
|
{
|
|
// sizeof(T)
|
|
const uint32_t SizeOf_T_t664E2061A913AF1FEE499655BC64F0FDE10D2A5E = il2cpp_codegen_sizeof(il2cpp_rgctx_data(method->klass->rgctx_data, 9));
|
|
// T
|
|
const Il2CppFullySharedGenericAny L_8 = alloca(SizeOf_T_t664E2061A913AF1FEE499655BC64F0FDE10D2A5E);
|
|
const Il2CppFullySharedGenericAny L_9 = L_8;
|
|
__Il2CppFullySharedGenericTypeU5BU5D_tCAB6D060972DD49223A834B7EEFEB9FE2D003BEC* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = __this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
__Il2CppFullySharedGenericTypeU5BU5D_tCAB6D060972DD49223A834B7EEFEB9FE2D003BEC* L_1 = __this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = __this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
__Il2CppFullySharedGenericTypeU5BU5D_tCAB6D060972DD49223A834B7EEFEB9FE2D003BEC* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
__Il2CppFullySharedGenericTypeU5BU5D_tCAB6D060972DD49223A834B7EEFEB9FE2D003BEC* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
il2cpp_codegen_memcpy(L_8, (il2cpp_codegen_class_is_value_type(il2cpp_rgctx_data(method->klass->rgctx_data, 9)) ? ___0_item : &___0_item), SizeOf_T_t664E2061A913AF1FEE499655BC64F0FDE10D2A5E);
|
|
NullCheck(L_6);
|
|
il2cpp_codegen_memcpy((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)), L_8, SizeOf_T_t664E2061A913AF1FEE499655BC64F0FDE10D2A5E);
|
|
Il2CppCodeGenWriteBarrierForClass(il2cpp_rgctx_data(method->klass->rgctx_data, 9), (void**)(L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)), (void*)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
il2cpp_codegen_memcpy(L_9, (il2cpp_codegen_class_is_value_type(il2cpp_rgctx_data(method->klass->rgctx_data, 9)) ? ___0_item : &___0_item), SizeOf_T_t664E2061A913AF1FEE499655BC64F0FDE10D2A5E);
|
|
InvokerActionInvoker1< Il2CppFullySharedGenericAny >::Invoke(il2cpp_codegen_get_direct_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 14)), il2cpp_rgctx_method(method->klass->rgctx_data, 14), __this, (il2cpp_codegen_class_is_value_type(il2cpp_rgctx_data(method->klass->rgctx_data, 9)) ? L_9: *(void**)L_9));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mD2ED26ACAF3BAF386FFEA83893BA51DB9FD8BA30_gshared_inline (List_1_tDBA89B0E21BAC58CFBD3C1F76E4668E3B562761A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|