974 lines
38 KiB
C++
974 lines
38 KiB
C++
#include "il2cpp-config.h"
|
|
|
|
#ifndef _MSC_VER
|
|
# include <alloca.h>
|
|
#else
|
|
# include <malloc.h>
|
|
#endif
|
|
|
|
|
|
#include <cstring>
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
#include <cmath>
|
|
#include <limits>
|
|
#include <assert.h>
|
|
#include <stdint.h>
|
|
|
|
#include "codegen/il2cpp-codegen.h"
|
|
#include "il2cpp-object-internals.h"
|
|
|
|
template <typename T1>
|
|
struct VirtActionInvoker1
|
|
{
|
|
typedef void (*Action)(void*, T1, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1, typename T2>
|
|
struct VirtActionInvoker2
|
|
{
|
|
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1>
|
|
struct GenericVirtActionInvoker1
|
|
{
|
|
typedef void (*Action)(void*, T1, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
|
|
{
|
|
VirtualInvokeData invokeData;
|
|
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
|
|
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1, typename T2>
|
|
struct GenericVirtActionInvoker2
|
|
{
|
|
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2)
|
|
{
|
|
VirtualInvokeData invokeData;
|
|
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
|
|
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1>
|
|
struct InterfaceActionInvoker1
|
|
{
|
|
typedef void (*Action)(void*, T1, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
|
|
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1, typename T2>
|
|
struct InterfaceActionInvoker2
|
|
{
|
|
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
|
|
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1>
|
|
struct GenericInterfaceActionInvoker1
|
|
{
|
|
typedef void (*Action)(void*, T1, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
|
|
{
|
|
VirtualInvokeData invokeData;
|
|
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
|
|
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1, typename T2>
|
|
struct GenericInterfaceActionInvoker2
|
|
{
|
|
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2)
|
|
{
|
|
VirtualInvokeData invokeData;
|
|
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
|
|
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
|
|
}
|
|
};
|
|
|
|
// System.Action`1<System.Object>
|
|
struct Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0;
|
|
// System.Action`1<System.String>
|
|
struct Action_1_t32A9EECF5D4397CC1B9A7C7079870875411B06D0;
|
|
// System.AsyncCallback
|
|
struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4;
|
|
// System.Delegate
|
|
struct Delegate_t;
|
|
// System.DelegateData
|
|
struct DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE;
|
|
// System.Delegate[]
|
|
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86;
|
|
// System.IAsyncResult
|
|
struct IAsyncResult_t8E194308510B375B42432981AE5E7488C458D598;
|
|
// System.Reflection.MethodInfo
|
|
struct MethodInfo_t;
|
|
// System.String
|
|
struct String_t;
|
|
// System.Void
|
|
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017;
|
|
// UnityEngine.Object
|
|
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0;
|
|
// UnityEngine.XR.WSA.WorldAnchor
|
|
struct WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE;
|
|
// UnityEngine.XR.WSA.WorldAnchor/OnTrackingChangedDelegate
|
|
struct OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253;
|
|
|
|
IL2CPP_EXTERN_C RuntimeClass* Boolean_tB53F6830F670160873277339AA58F15CAED4399C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* XRDevice_t392FCA3D1DCEB95FF500C8F374C88B034C31DF4A_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Action_1_Invoke_m6328F763431ED2ACDDB6ED8F0FDEA6194403E79F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const uint32_t OnTrackingChangedDelegate_BeginInvoke_mF0EFF2F8F200DEEEF063BB19BA44ACFF920D5D8C_MetadataUsageId;
|
|
IL2CPP_EXTERN_C const uint32_t WorldAnchor_Internal_TriggerEventOnTrackingLost_m30225CE01803079AAA7C81877ABE5A4150960B3A_MetadataUsageId;
|
|
IL2CPP_EXTERN_C const uint32_t XRDevice_InvokeDeviceLoaded_mD5D5577A4E03D0474FAFBB2596B698B6A8B5FD11_MetadataUsageId;
|
|
IL2CPP_EXTERN_C const uint32_t XRDevice__cctor_m4FE111291FBDF43A481045CBABECF9AEC70B5EC9_MetadataUsageId;
|
|
struct Delegate_t_marshaled_com;
|
|
struct Delegate_t_marshaled_pinvoke;
|
|
|
|
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86;
|
|
|
|
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_tB054F17A779AC945E3659AF119A96DB806541AF9
|
|
{
|
|
public:
|
|
|
|
public:
|
|
};
|
|
|
|
|
|
// System.Object
|
|
|
|
struct Il2CppArrayBounds;
|
|
|
|
// System.Array
|
|
|
|
|
|
// System.String
|
|
struct String_t : public RuntimeObject
|
|
{
|
|
public:
|
|
// System.Int32 System.String::m_stringLength
|
|
int32_t ___m_stringLength_0;
|
|
// System.Char System.String::m_firstChar
|
|
Il2CppChar ___m_firstChar_1;
|
|
|
|
public:
|
|
inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); }
|
|
inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; }
|
|
inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; }
|
|
inline void set_m_stringLength_0(int32_t value)
|
|
{
|
|
___m_stringLength_0 = value;
|
|
}
|
|
|
|
inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); }
|
|
inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; }
|
|
inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; }
|
|
inline void set_m_firstChar_1(Il2CppChar value)
|
|
{
|
|
___m_firstChar_1 = value;
|
|
}
|
|
};
|
|
|
|
struct String_t_StaticFields
|
|
{
|
|
public:
|
|
// System.String System.String::Empty
|
|
String_t* ___Empty_5;
|
|
|
|
public:
|
|
inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); }
|
|
inline String_t* get_Empty_5() const { return ___Empty_5; }
|
|
inline String_t** get_address_of_Empty_5() { return &___Empty_5; }
|
|
inline void set_Empty_5(String_t* value)
|
|
{
|
|
___Empty_5 = value;
|
|
Il2CppCodeGenWriteBarrier((void**)(&___Empty_5), (void*)value);
|
|
}
|
|
};
|
|
|
|
|
|
// System.ValueType
|
|
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF : public RuntimeObject
|
|
{
|
|
public:
|
|
|
|
public:
|
|
};
|
|
|
|
// Native definition for P/Invoke marshalling of System.ValueType
|
|
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_pinvoke
|
|
{
|
|
};
|
|
// Native definition for COM marshalling of System.ValueType
|
|
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_com
|
|
{
|
|
};
|
|
|
|
// UnityEngine.XR.XRDevice
|
|
struct XRDevice_t392FCA3D1DCEB95FF500C8F374C88B034C31DF4A : public RuntimeObject
|
|
{
|
|
public:
|
|
|
|
public:
|
|
};
|
|
|
|
struct XRDevice_t392FCA3D1DCEB95FF500C8F374C88B034C31DF4A_StaticFields
|
|
{
|
|
public:
|
|
// System.Action`1<System.String> UnityEngine.XR.XRDevice::deviceLoaded
|
|
Action_1_t32A9EECF5D4397CC1B9A7C7079870875411B06D0 * ___deviceLoaded_0;
|
|
|
|
public:
|
|
inline static int32_t get_offset_of_deviceLoaded_0() { return static_cast<int32_t>(offsetof(XRDevice_t392FCA3D1DCEB95FF500C8F374C88B034C31DF4A_StaticFields, ___deviceLoaded_0)); }
|
|
inline Action_1_t32A9EECF5D4397CC1B9A7C7079870875411B06D0 * get_deviceLoaded_0() const { return ___deviceLoaded_0; }
|
|
inline Action_1_t32A9EECF5D4397CC1B9A7C7079870875411B06D0 ** get_address_of_deviceLoaded_0() { return &___deviceLoaded_0; }
|
|
inline void set_deviceLoaded_0(Action_1_t32A9EECF5D4397CC1B9A7C7079870875411B06D0 * value)
|
|
{
|
|
___deviceLoaded_0 = value;
|
|
Il2CppCodeGenWriteBarrier((void**)(&___deviceLoaded_0), (void*)value);
|
|
}
|
|
};
|
|
|
|
|
|
// System.Boolean
|
|
struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C
|
|
{
|
|
public:
|
|
// System.Boolean System.Boolean::m_value
|
|
bool ___m_value_0;
|
|
|
|
public:
|
|
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C, ___m_value_0)); }
|
|
inline bool get_m_value_0() const { return ___m_value_0; }
|
|
inline bool* get_address_of_m_value_0() { return &___m_value_0; }
|
|
inline void set_m_value_0(bool value)
|
|
{
|
|
___m_value_0 = value;
|
|
}
|
|
};
|
|
|
|
struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields
|
|
{
|
|
public:
|
|
// System.String System.Boolean::TrueString
|
|
String_t* ___TrueString_5;
|
|
// System.String System.Boolean::FalseString
|
|
String_t* ___FalseString_6;
|
|
|
|
public:
|
|
inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___TrueString_5)); }
|
|
inline String_t* get_TrueString_5() const { return ___TrueString_5; }
|
|
inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
|
|
inline void set_TrueString_5(String_t* value)
|
|
{
|
|
___TrueString_5 = value;
|
|
Il2CppCodeGenWriteBarrier((void**)(&___TrueString_5), (void*)value);
|
|
}
|
|
|
|
inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___FalseString_6)); }
|
|
inline String_t* get_FalseString_6() const { return ___FalseString_6; }
|
|
inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
|
|
inline void set_FalseString_6(String_t* value)
|
|
{
|
|
___FalseString_6 = value;
|
|
Il2CppCodeGenWriteBarrier((void**)(&___FalseString_6), (void*)value);
|
|
}
|
|
};
|
|
|
|
|
|
// System.IntPtr
|
|
struct IntPtr_t
|
|
{
|
|
public:
|
|
// System.Void* System.IntPtr::m_value
|
|
void* ___m_value_0;
|
|
|
|
public:
|
|
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
|
|
inline void* get_m_value_0() const { return ___m_value_0; }
|
|
inline void** get_address_of_m_value_0() { return &___m_value_0; }
|
|
inline void set_m_value_0(void* value)
|
|
{
|
|
___m_value_0 = value;
|
|
}
|
|
};
|
|
|
|
struct IntPtr_t_StaticFields
|
|
{
|
|
public:
|
|
// System.IntPtr System.IntPtr::Zero
|
|
intptr_t ___Zero_1;
|
|
|
|
public:
|
|
inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
|
|
inline intptr_t get_Zero_1() const { return ___Zero_1; }
|
|
inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
|
|
inline void set_Zero_1(intptr_t value)
|
|
{
|
|
___Zero_1 = value;
|
|
}
|
|
};
|
|
|
|
|
|
// System.Void
|
|
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017
|
|
{
|
|
public:
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
};
|
|
uint8_t Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017__padding[1];
|
|
};
|
|
|
|
public:
|
|
};
|
|
|
|
|
|
// System.Delegate
|
|
struct Delegate_t : public RuntimeObject
|
|
{
|
|
public:
|
|
// System.IntPtr System.Delegate::method_ptr
|
|
Il2CppMethodPointer ___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.Reflection.MethodInfo System.Delegate::method_info
|
|
MethodInfo_t * ___method_info_7;
|
|
// System.Reflection.MethodInfo System.Delegate::original_method_info
|
|
MethodInfo_t * ___original_method_info_8;
|
|
// System.DelegateData System.Delegate::data
|
|
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
|
|
// System.Boolean System.Delegate::method_is_virtual
|
|
bool ___method_is_virtual_10;
|
|
|
|
public:
|
|
inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_ptr_0)); }
|
|
inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
|
|
inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
|
|
inline void set_method_ptr_0(Il2CppMethodPointer value)
|
|
{
|
|
___method_ptr_0 = value;
|
|
}
|
|
|
|
inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t, ___invoke_impl_1)); }
|
|
inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
|
|
inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
|
|
inline void set_invoke_impl_1(intptr_t value)
|
|
{
|
|
___invoke_impl_1 = value;
|
|
}
|
|
|
|
inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t, ___m_target_2)); }
|
|
inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
|
|
inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
|
|
inline void set_m_target_2(RuntimeObject * value)
|
|
{
|
|
___m_target_2 = value;
|
|
Il2CppCodeGenWriteBarrier((void**)(&___m_target_2), (void*)value);
|
|
}
|
|
|
|
inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_3)); }
|
|
inline intptr_t get_method_3() const { return ___method_3; }
|
|
inline intptr_t* get_address_of_method_3() { return &___method_3; }
|
|
inline void set_method_3(intptr_t value)
|
|
{
|
|
___method_3 = value;
|
|
}
|
|
|
|
inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t, ___delegate_trampoline_4)); }
|
|
inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
|
|
inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
|
|
inline void set_delegate_trampoline_4(intptr_t value)
|
|
{
|
|
___delegate_trampoline_4 = value;
|
|
}
|
|
|
|
inline static int32_t get_offset_of_extra_arg_5() { return static_cast<int32_t>(offsetof(Delegate_t, ___extra_arg_5)); }
|
|
inline intptr_t get_extra_arg_5() const { return ___extra_arg_5; }
|
|
inline intptr_t* get_address_of_extra_arg_5() { return &___extra_arg_5; }
|
|
inline void set_extra_arg_5(intptr_t value)
|
|
{
|
|
___extra_arg_5 = value;
|
|
}
|
|
|
|
inline static int32_t get_offset_of_method_code_6() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_code_6)); }
|
|
inline intptr_t get_method_code_6() const { return ___method_code_6; }
|
|
inline intptr_t* get_address_of_method_code_6() { return &___method_code_6; }
|
|
inline void set_method_code_6(intptr_t value)
|
|
{
|
|
___method_code_6 = value;
|
|
}
|
|
|
|
inline static int32_t get_offset_of_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_info_7)); }
|
|
inline MethodInfo_t * get_method_info_7() const { return ___method_info_7; }
|
|
inline MethodInfo_t ** get_address_of_method_info_7() { return &___method_info_7; }
|
|
inline void set_method_info_7(MethodInfo_t * value)
|
|
{
|
|
___method_info_7 = value;
|
|
Il2CppCodeGenWriteBarrier((void**)(&___method_info_7), (void*)value);
|
|
}
|
|
|
|
inline static int32_t get_offset_of_original_method_info_8() { return static_cast<int32_t>(offsetof(Delegate_t, ___original_method_info_8)); }
|
|
inline MethodInfo_t * get_original_method_info_8() const { return ___original_method_info_8; }
|
|
inline MethodInfo_t ** get_address_of_original_method_info_8() { return &___original_method_info_8; }
|
|
inline void set_original_method_info_8(MethodInfo_t * value)
|
|
{
|
|
___original_method_info_8 = value;
|
|
Il2CppCodeGenWriteBarrier((void**)(&___original_method_info_8), (void*)value);
|
|
}
|
|
|
|
inline static int32_t get_offset_of_data_9() { return static_cast<int32_t>(offsetof(Delegate_t, ___data_9)); }
|
|
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * get_data_9() const { return ___data_9; }
|
|
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE ** get_address_of_data_9() { return &___data_9; }
|
|
inline void set_data_9(DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * value)
|
|
{
|
|
___data_9 = value;
|
|
Il2CppCodeGenWriteBarrier((void**)(&___data_9), (void*)value);
|
|
}
|
|
|
|
inline static int32_t get_offset_of_method_is_virtual_10() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_is_virtual_10)); }
|
|
inline bool get_method_is_virtual_10() const { return ___method_is_virtual_10; }
|
|
inline bool* get_address_of_method_is_virtual_10() { return &___method_is_virtual_10; }
|
|
inline void set_method_is_virtual_10(bool value)
|
|
{
|
|
___method_is_virtual_10 = value;
|
|
}
|
|
};
|
|
|
|
// 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;
|
|
MethodInfo_t * ___method_info_7;
|
|
MethodInfo_t * ___original_method_info_8;
|
|
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
|
|
int32_t ___method_is_virtual_10;
|
|
};
|
|
// 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;
|
|
MethodInfo_t * ___method_info_7;
|
|
MethodInfo_t * ___original_method_info_8;
|
|
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
|
|
int32_t ___method_is_virtual_10;
|
|
};
|
|
|
|
// UnityEngine.Object
|
|
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 : public RuntimeObject
|
|
{
|
|
public:
|
|
// System.IntPtr UnityEngine.Object::m_CachedPtr
|
|
intptr_t ___m_CachedPtr_0;
|
|
|
|
public:
|
|
inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0, ___m_CachedPtr_0)); }
|
|
inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; }
|
|
inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; }
|
|
inline void set_m_CachedPtr_0(intptr_t value)
|
|
{
|
|
___m_CachedPtr_0 = value;
|
|
}
|
|
};
|
|
|
|
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields
|
|
{
|
|
public:
|
|
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
|
|
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
|
|
|
|
public:
|
|
inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
|
|
inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
|
|
inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
|
|
inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
|
|
{
|
|
___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
|
|
}
|
|
};
|
|
|
|
// Native definition for P/Invoke marshalling of UnityEngine.Object
|
|
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_pinvoke
|
|
{
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.Object
|
|
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_com
|
|
{
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
|
|
// System.MulticastDelegate
|
|
struct MulticastDelegate_t : public Delegate_t
|
|
{
|
|
public:
|
|
// System.Delegate[] System.MulticastDelegate::delegates
|
|
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* ___delegates_11;
|
|
|
|
public:
|
|
inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); }
|
|
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* get_delegates_11() const { return ___delegates_11; }
|
|
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86** get_address_of_delegates_11() { return &___delegates_11; }
|
|
inline void set_delegates_11(DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* value)
|
|
{
|
|
___delegates_11 = value;
|
|
Il2CppCodeGenWriteBarrier((void**)(&___delegates_11), (void*)value);
|
|
}
|
|
};
|
|
|
|
// Native definition for P/Invoke marshalling of System.MulticastDelegate
|
|
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
|
|
{
|
|
Delegate_t_marshaled_pinvoke** ___delegates_11;
|
|
};
|
|
// Native definition for COM marshalling of System.MulticastDelegate
|
|
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
|
|
{
|
|
Delegate_t_marshaled_com** ___delegates_11;
|
|
};
|
|
|
|
// UnityEngine.Component
|
|
struct Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
|
|
{
|
|
public:
|
|
|
|
public:
|
|
};
|
|
|
|
|
|
// System.Action`1<System.String>
|
|
struct Action_1_t32A9EECF5D4397CC1B9A7C7079870875411B06D0 : public MulticastDelegate_t
|
|
{
|
|
public:
|
|
|
|
public:
|
|
};
|
|
|
|
|
|
// System.AsyncCallback
|
|
struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 : public MulticastDelegate_t
|
|
{
|
|
public:
|
|
|
|
public:
|
|
};
|
|
|
|
|
|
// UnityEngine.XR.WSA.WorldAnchor
|
|
struct WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE : public Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621
|
|
{
|
|
public:
|
|
// UnityEngine.XR.WSA.WorldAnchor_OnTrackingChangedDelegate UnityEngine.XR.WSA.WorldAnchor::OnTrackingChanged
|
|
OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 * ___OnTrackingChanged_4;
|
|
|
|
public:
|
|
inline static int32_t get_offset_of_OnTrackingChanged_4() { return static_cast<int32_t>(offsetof(WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE, ___OnTrackingChanged_4)); }
|
|
inline OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 * get_OnTrackingChanged_4() const { return ___OnTrackingChanged_4; }
|
|
inline OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 ** get_address_of_OnTrackingChanged_4() { return &___OnTrackingChanged_4; }
|
|
inline void set_OnTrackingChanged_4(OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 * value)
|
|
{
|
|
___OnTrackingChanged_4 = value;
|
|
Il2CppCodeGenWriteBarrier((void**)(&___OnTrackingChanged_4), (void*)value);
|
|
}
|
|
};
|
|
|
|
|
|
// UnityEngine.XR.WSA.WorldAnchor_OnTrackingChangedDelegate
|
|
struct OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 : public MulticastDelegate_t
|
|
{
|
|
public:
|
|
|
|
public:
|
|
};
|
|
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
// System.Delegate[]
|
|
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86 : public RuntimeArray
|
|
{
|
|
public:
|
|
ALIGN_FIELD (8) Delegate_t * m_Items[1];
|
|
|
|
public:
|
|
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);
|
|
}
|
|
};
|
|
|
|
|
|
// System.Void System.Action`1<System.Object>::Invoke(!0)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1_Invoke_mB86FC1B303E77C41ED0E94FC3592A9CF8DA571D5_gshared (Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * __this, RuntimeObject * ___obj0, const RuntimeMethod* method);
|
|
|
|
// System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method);
|
|
// System.Void UnityEngine.XR.WSA.WorldAnchor/OnTrackingChangedDelegate::Invoke(UnityEngine.XR.WSA.WorldAnchor,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OnTrackingChangedDelegate_Invoke_mC3AAC3FBDB589E9DEE9D83664191AED37F03A23C (OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 * __this, WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE * ___worldAnchor0, bool ___located1, const RuntimeMethod* method);
|
|
// System.Void System.Action`1<System.String>::Invoke(!0)
|
|
inline void Action_1_Invoke_m6328F763431ED2ACDDB6ED8F0FDEA6194403E79F (Action_1_t32A9EECF5D4397CC1B9A7C7079870875411B06D0 * __this, String_t* ___obj0, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Action_1_t32A9EECF5D4397CC1B9A7C7079870875411B06D0 *, String_t*, const RuntimeMethod*))Action_1_Invoke_mB86FC1B303E77C41ED0E94FC3592A9CF8DA571D5_gshared)(__this, ___obj0, method);
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void UnityEngine.XR.WSA.WorldAnchor::Internal_TriggerEventOnTrackingLost(UnityEngine.XR.WSA.WorldAnchor,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorldAnchor_Internal_TriggerEventOnTrackingLost_m30225CE01803079AAA7C81877ABE5A4150960B3A (WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE * ___worldAnchor0, bool ___located1, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_method (WorldAnchor_Internal_TriggerEventOnTrackingLost_m30225CE01803079AAA7C81877ABE5A4150960B3A_MetadataUsageId);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
bool V_0 = false;
|
|
int32_t G_B3_0 = 0;
|
|
{
|
|
WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE * L_0 = ___worldAnchor0;
|
|
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
|
|
bool L_1 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE * L_2 = ___worldAnchor0;
|
|
NullCheck(L_2);
|
|
OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 * L_3 = L_2->get_OnTrackingChanged_4();
|
|
G_B3_0 = ((!(((RuntimeObject*)(OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 *)L_3) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
|
|
goto IL_0016;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
G_B3_0 = 0;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
V_0 = (bool)G_B3_0;
|
|
bool L_4 = V_0;
|
|
if (!L_4)
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
}
|
|
{
|
|
WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE * L_5 = ___worldAnchor0;
|
|
NullCheck(L_5);
|
|
OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 * L_6 = L_5->get_OnTrackingChanged_4();
|
|
WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE * L_7 = ___worldAnchor0;
|
|
bool L_8 = ___located1;
|
|
NullCheck(L_6);
|
|
OnTrackingChangedDelegate_Invoke_mC3AAC3FBDB589E9DEE9D83664191AED37F03A23C(L_6, L_7, L_8, /*hidden argument*/NULL);
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
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
|
|
// System.Void UnityEngine.XR.WSA.WorldAnchor_OnTrackingChangedDelegate::.ctor(System.Object,System.IntPtr)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OnTrackingChangedDelegate__ctor_m9CAD493361EE71D73CB61E7BFD889E88B5649497 (OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
|
|
{
|
|
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
|
|
__this->set_method_3(___method1);
|
|
__this->set_m_target_2(___object0);
|
|
}
|
|
// System.Void UnityEngine.XR.WSA.WorldAnchor_OnTrackingChangedDelegate::Invoke(UnityEngine.XR.WSA.WorldAnchor,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OnTrackingChangedDelegate_Invoke_mC3AAC3FBDB589E9DEE9D83664191AED37F03A23C (OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 * __this, WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE * ___worldAnchor0, bool ___located1, const RuntimeMethod* method)
|
|
{
|
|
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* delegateArrayToInvoke = __this->get_delegates_11();
|
|
Delegate_t** delegatesToInvoke;
|
|
il2cpp_array_size_t length;
|
|
if (delegateArrayToInvoke != NULL)
|
|
{
|
|
length = delegateArrayToInvoke->max_length;
|
|
delegatesToInvoke = reinterpret_cast<Delegate_t**>(delegateArrayToInvoke->GetAddressAtUnchecked(0));
|
|
}
|
|
else
|
|
{
|
|
length = 1;
|
|
delegatesToInvoke = reinterpret_cast<Delegate_t**>(&__this);
|
|
}
|
|
|
|
for (il2cpp_array_size_t i = 0; i < length; i++)
|
|
{
|
|
Delegate_t* currentDelegate = delegatesToInvoke[i];
|
|
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
|
|
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
|
|
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
|
|
if (!il2cpp_codegen_method_is_virtual(targetMethod))
|
|
{
|
|
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
|
|
}
|
|
bool ___methodIsStatic = MethodIsStatic(targetMethod);
|
|
int ___parameterCount = il2cpp_codegen_method_parameter_count(targetMethod);
|
|
if (___methodIsStatic)
|
|
{
|
|
if (___parameterCount == 2)
|
|
{
|
|
// open
|
|
typedef void (*FunctionPointerType) (WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE *, bool, const RuntimeMethod*);
|
|
((FunctionPointerType)targetMethodPointer)(___worldAnchor0, ___located1, targetMethod);
|
|
}
|
|
else
|
|
{
|
|
// closed
|
|
typedef void (*FunctionPointerType) (void*, WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE *, bool, const RuntimeMethod*);
|
|
((FunctionPointerType)targetMethodPointer)(targetThis, ___worldAnchor0, ___located1, targetMethod);
|
|
}
|
|
}
|
|
else if (___parameterCount != 2)
|
|
{
|
|
// open
|
|
if (il2cpp_codegen_method_is_virtual(targetMethod) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
|
|
{
|
|
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
|
|
{
|
|
if (il2cpp_codegen_method_is_interface_method(targetMethod))
|
|
GenericInterfaceActionInvoker1< bool >::Invoke(targetMethod, ___worldAnchor0, ___located1);
|
|
else
|
|
GenericVirtActionInvoker1< bool >::Invoke(targetMethod, ___worldAnchor0, ___located1);
|
|
}
|
|
else
|
|
{
|
|
if (il2cpp_codegen_method_is_interface_method(targetMethod))
|
|
InterfaceActionInvoker1< bool >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___worldAnchor0, ___located1);
|
|
else
|
|
VirtActionInvoker1< bool >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___worldAnchor0, ___located1);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (targetThis == NULL && il2cpp_codegen_class_is_value_type(il2cpp_codegen_method_get_declaring_type(targetMethod)))
|
|
{
|
|
typedef void (*FunctionPointerType) (RuntimeObject*, const RuntimeMethod*);
|
|
((FunctionPointerType)targetMethodPointer)((reinterpret_cast<RuntimeObject*>(&___located1) - 1), targetMethod);
|
|
}
|
|
typedef void (*FunctionPointerType) (WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE *, bool, const RuntimeMethod*);
|
|
((FunctionPointerType)targetMethodPointer)(___worldAnchor0, ___located1, targetMethod);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
// closed
|
|
if (targetThis != NULL && il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
|
|
{
|
|
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
|
|
{
|
|
if (il2cpp_codegen_method_is_interface_method(targetMethod))
|
|
GenericInterfaceActionInvoker2< WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE *, bool >::Invoke(targetMethod, targetThis, ___worldAnchor0, ___located1);
|
|
else
|
|
GenericVirtActionInvoker2< WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE *, bool >::Invoke(targetMethod, targetThis, ___worldAnchor0, ___located1);
|
|
}
|
|
else
|
|
{
|
|
if (il2cpp_codegen_method_is_interface_method(targetMethod))
|
|
InterfaceActionInvoker2< WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE *, bool >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___worldAnchor0, ___located1);
|
|
else
|
|
VirtActionInvoker2< WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE *, bool >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___worldAnchor0, ___located1);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (targetThis == NULL && il2cpp_codegen_class_is_value_type(il2cpp_codegen_method_get_declaring_type(targetMethod)))
|
|
{
|
|
typedef void (*FunctionPointerType) (RuntimeObject*, bool, const RuntimeMethod*);
|
|
((FunctionPointerType)targetMethodPointer)((reinterpret_cast<RuntimeObject*>(___worldAnchor0) - 1), ___located1, targetMethod);
|
|
}
|
|
if (targetThis == NULL)
|
|
{
|
|
typedef void (*FunctionPointerType) (WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE *, bool, const RuntimeMethod*);
|
|
((FunctionPointerType)targetMethodPointer)(___worldAnchor0, ___located1, targetMethod);
|
|
}
|
|
else
|
|
{
|
|
typedef void (*FunctionPointerType) (void*, WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE *, bool, const RuntimeMethod*);
|
|
((FunctionPointerType)targetMethodPointer)(targetThis, ___worldAnchor0, ___located1, targetMethod);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// System.IAsyncResult UnityEngine.XR.WSA.WorldAnchor_OnTrackingChangedDelegate::BeginInvoke(UnityEngine.XR.WSA.WorldAnchor,System.Boolean,System.AsyncCallback,System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* OnTrackingChangedDelegate_BeginInvoke_mF0EFF2F8F200DEEEF063BB19BA44ACFF920D5D8C (OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 * __this, WorldAnchor_tD6275232D14415769601A3BD6AE1E7D5622F96EE * ___worldAnchor0, bool ___located1, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback2, RuntimeObject * ___object3, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_method (OnTrackingChangedDelegate_BeginInvoke_mF0EFF2F8F200DEEEF063BB19BA44ACFF920D5D8C_MetadataUsageId);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
void *__d_args[3] = {0};
|
|
__d_args[0] = ___worldAnchor0;
|
|
__d_args[1] = Box(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_il2cpp_TypeInfo_var, &___located1);
|
|
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback2, (RuntimeObject*)___object3);
|
|
}
|
|
// System.Void UnityEngine.XR.WSA.WorldAnchor_OnTrackingChangedDelegate::EndInvoke(System.IAsyncResult)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OnTrackingChangedDelegate_EndInvoke_m00461C6664BBAAF38549748E6F2BEEBBA5F3EDD7 (OnTrackingChangedDelegate_t213BE1DC543541B52A31539ACEA406782B1DB253 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
|
|
{
|
|
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 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 UnityEngine.XR.XRDevice::InvokeDeviceLoaded(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void XRDevice_InvokeDeviceLoaded_mD5D5577A4E03D0474FAFBB2596B698B6A8B5FD11 (String_t* ___loadedDeviceName0, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_method (XRDevice_InvokeDeviceLoaded_mD5D5577A4E03D0474FAFBB2596B698B6A8B5FD11_MetadataUsageId);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
bool V_0 = false;
|
|
{
|
|
IL2CPP_RUNTIME_CLASS_INIT(XRDevice_t392FCA3D1DCEB95FF500C8F374C88B034C31DF4A_il2cpp_TypeInfo_var);
|
|
Action_1_t32A9EECF5D4397CC1B9A7C7079870875411B06D0 * L_0 = ((XRDevice_t392FCA3D1DCEB95FF500C8F374C88B034C31DF4A_StaticFields*)il2cpp_codegen_static_fields_for(XRDevice_t392FCA3D1DCEB95FF500C8F374C88B034C31DF4A_il2cpp_TypeInfo_var))->get_deviceLoaded_0();
|
|
V_0 = (bool)((!(((RuntimeObject*)(Action_1_t32A9EECF5D4397CC1B9A7C7079870875411B06D0 *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
|
|
bool L_1 = V_0;
|
|
if (!L_1)
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
{
|
|
IL2CPP_RUNTIME_CLASS_INIT(XRDevice_t392FCA3D1DCEB95FF500C8F374C88B034C31DF4A_il2cpp_TypeInfo_var);
|
|
Action_1_t32A9EECF5D4397CC1B9A7C7079870875411B06D0 * L_2 = ((XRDevice_t392FCA3D1DCEB95FF500C8F374C88B034C31DF4A_StaticFields*)il2cpp_codegen_static_fields_for(XRDevice_t392FCA3D1DCEB95FF500C8F374C88B034C31DF4A_il2cpp_TypeInfo_var))->get_deviceLoaded_0();
|
|
String_t* L_3 = ___loadedDeviceName0;
|
|
NullCheck(L_2);
|
|
Action_1_Invoke_m6328F763431ED2ACDDB6ED8F0FDEA6194403E79F(L_2, L_3, /*hidden argument*/Action_1_Invoke_m6328F763431ED2ACDDB6ED8F0FDEA6194403E79F_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Void UnityEngine.XR.XRDevice::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void XRDevice__cctor_m4FE111291FBDF43A481045CBABECF9AEC70B5EC9 (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_method (XRDevice__cctor_m4FE111291FBDF43A481045CBABECF9AEC70B5EC9_MetadataUsageId);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
((XRDevice_t392FCA3D1DCEB95FF500C8F374C88B034C31DF4A_StaticFields*)il2cpp_codegen_static_fields_for(XRDevice_t392FCA3D1DCEB95FF500C8F374C88B034C31DF4A_il2cpp_TypeInfo_var))->set_deviceLoaded_0((Action_1_t32A9EECF5D4397CC1B9A7C7079870875411B06D0 *)NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|