123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692 |
- #include "il2cpp-config.h"
- #ifndef _MSC_VER
- # include <alloca.h>
- #else
- # include <malloc.h>
- #endif
- #include <cstring>
- #include <string.h>
- #include <stdio.h>
- #include <cmath>
- #include <limits>
- #include <assert.h>
- #include <stdint.h>
- #include "il2cpp-class-internals.h"
- #include "codegen/il2cpp-codegen.h"
- #include "il2cpp-object-internals.h"
- struct VirtActionInvoker0
- {
- typedef void (*Action)(void*, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- ((Action)invokeData.methodPtr)(obj, invokeData.method);
- }
- };
- struct GenericVirtActionInvoker0
- {
- typedef void (*Action)(void*, const RuntimeMethod*);
- static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj)
- {
- VirtualInvokeData invokeData;
- il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
- ((Action)invokeData.methodPtr)(obj, invokeData.method);
- }
- };
- struct InterfaceActionInvoker0
- {
- typedef void (*Action)(void*, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
- ((Action)invokeData.methodPtr)(obj, invokeData.method);
- }
- };
- struct GenericInterfaceActionInvoker0
- {
- typedef void (*Action)(void*, const RuntimeMethod*);
- static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj)
- {
- VirtualInvokeData invokeData;
- il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
- ((Action)invokeData.methodPtr)(obj, invokeData.method);
- }
- };
- // UnityEngine.Canvas/WillRenderCanvases
- struct WillRenderCanvases_t3309123499;
- // System.IAsyncResult
- struct IAsyncResult_t767004451;
- // System.AsyncCallback
- struct AsyncCallback_t3962456242;
- // System.Void
- struct Void_t1185182177;
- // System.Reflection.MethodInfo
- struct MethodInfo_t;
- // System.DelegateData
- struct DelegateData_t1677132599;
- extern RuntimeClass* Canvas_t3310196443_il2cpp_TypeInfo_var;
- extern const uint32_t Canvas_SendWillRenderCanvases_m4288867005_MetadataUsageId;
- #ifndef U3CMODULEU3E_T692745554_H
- #define U3CMODULEU3E_T692745554_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // <Module>
- struct U3CModuleU3E_t692745554
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // U3CMODULEU3E_T692745554_H
- #ifndef RUNTIMEOBJECT_H
- #define RUNTIMEOBJECT_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Object
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // RUNTIMEOBJECT_H
- struct Il2CppArrayBounds;
- #ifndef RUNTIMEARRAY_H
- #define RUNTIMEARRAY_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Array
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // RUNTIMEARRAY_H
- #ifndef VALUETYPE_T3640485471_H
- #define VALUETYPE_T3640485471_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.ValueType
- struct ValueType_t3640485471 : public RuntimeObject
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- // Native definition for P/Invoke marshalling of System.ValueType
- struct ValueType_t3640485471_marshaled_pinvoke
- {
- };
- // Native definition for COM marshalling of System.ValueType
- struct ValueType_t3640485471_marshaled_com
- {
- };
- #endif // VALUETYPE_T3640485471_H
- #ifndef INTPTR_T_H
- #define INTPTR_T_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.IntPtr
- struct IntPtr_t
- {
- public:
- // System.Void* System.IntPtr::m_value
- void* ___m_value_0;
- public:
- inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
- inline void* get_m_value_0() const { return ___m_value_0; }
- inline void** get_address_of_m_value_0() { return &___m_value_0; }
- inline void set_m_value_0(void* value)
- {
- ___m_value_0 = value;
- }
- };
- struct IntPtr_t_StaticFields
- {
- public:
- // System.IntPtr System.IntPtr::Zero
- intptr_t ___Zero_1;
- public:
- inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
- inline intptr_t get_Zero_1() const { return ___Zero_1; }
- inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
- inline void set_Zero_1(intptr_t value)
- {
- ___Zero_1 = value;
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // INTPTR_T_H
- #ifndef VOID_T1185182177_H
- #define VOID_T1185182177_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void
- struct Void_t1185182177
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // VOID_T1185182177_H
- #ifndef DELEGATE_T1188392813_H
- #define DELEGATE_T1188392813_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Delegate
- struct Delegate_t1188392813 : 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::method_code
- intptr_t ___method_code_5;
- // System.Reflection.MethodInfo System.Delegate::method_info
- MethodInfo_t * ___method_info_6;
- // System.Reflection.MethodInfo System.Delegate::original_method_info
- MethodInfo_t * ___original_method_info_7;
- // System.DelegateData System.Delegate::data
- DelegateData_t1677132599 * ___data_8;
- public:
- inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___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_t1188392813, ___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_t1188392813, ___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((&___m_target_2), value);
- }
- inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___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_t1188392813, ___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_method_code_5() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_code_5)); }
- inline intptr_t get_method_code_5() const { return ___method_code_5; }
- inline intptr_t* get_address_of_method_code_5() { return &___method_code_5; }
- inline void set_method_code_5(intptr_t value)
- {
- ___method_code_5 = value;
- }
- inline static int32_t get_offset_of_method_info_6() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_info_6)); }
- inline MethodInfo_t * get_method_info_6() const { return ___method_info_6; }
- inline MethodInfo_t ** get_address_of_method_info_6() { return &___method_info_6; }
- inline void set_method_info_6(MethodInfo_t * value)
- {
- ___method_info_6 = value;
- Il2CppCodeGenWriteBarrier((&___method_info_6), value);
- }
- inline static int32_t get_offset_of_original_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___original_method_info_7)); }
- inline MethodInfo_t * get_original_method_info_7() const { return ___original_method_info_7; }
- inline MethodInfo_t ** get_address_of_original_method_info_7() { return &___original_method_info_7; }
- inline void set_original_method_info_7(MethodInfo_t * value)
- {
- ___original_method_info_7 = value;
- Il2CppCodeGenWriteBarrier((&___original_method_info_7), value);
- }
- inline static int32_t get_offset_of_data_8() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___data_8)); }
- inline DelegateData_t1677132599 * get_data_8() const { return ___data_8; }
- inline DelegateData_t1677132599 ** get_address_of_data_8() { return &___data_8; }
- inline void set_data_8(DelegateData_t1677132599 * value)
- {
- ___data_8 = value;
- Il2CppCodeGenWriteBarrier((&___data_8), value);
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // DELEGATE_T1188392813_H
- #ifndef OBJECT_T631007953_H
- #define OBJECT_T631007953_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngine.Object
- struct Object_t631007953 : 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_t631007953, ___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_t631007953_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_t631007953_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;
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- // Native definition for P/Invoke marshalling of UnityEngine.Object
- struct Object_t631007953_marshaled_pinvoke
- {
- intptr_t ___m_CachedPtr_0;
- };
- // Native definition for COM marshalling of UnityEngine.Object
- struct Object_t631007953_marshaled_com
- {
- intptr_t ___m_CachedPtr_0;
- };
- #endif // OBJECT_T631007953_H
- #ifndef MULTICASTDELEGATE_T_H
- #define MULTICASTDELEGATE_T_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.MulticastDelegate
- struct MulticastDelegate_t : public Delegate_t1188392813
- {
- public:
- // System.MulticastDelegate System.MulticastDelegate::prev
- MulticastDelegate_t * ___prev_9;
- // System.MulticastDelegate System.MulticastDelegate::kpm_next
- MulticastDelegate_t * ___kpm_next_10;
- public:
- inline static int32_t get_offset_of_prev_9() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___prev_9)); }
- inline MulticastDelegate_t * get_prev_9() const { return ___prev_9; }
- inline MulticastDelegate_t ** get_address_of_prev_9() { return &___prev_9; }
- inline void set_prev_9(MulticastDelegate_t * value)
- {
- ___prev_9 = value;
- Il2CppCodeGenWriteBarrier((&___prev_9), value);
- }
- inline static int32_t get_offset_of_kpm_next_10() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___kpm_next_10)); }
- inline MulticastDelegate_t * get_kpm_next_10() const { return ___kpm_next_10; }
- inline MulticastDelegate_t ** get_address_of_kpm_next_10() { return &___kpm_next_10; }
- inline void set_kpm_next_10(MulticastDelegate_t * value)
- {
- ___kpm_next_10 = value;
- Il2CppCodeGenWriteBarrier((&___kpm_next_10), value);
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // MULTICASTDELEGATE_T_H
- #ifndef COMPONENT_T1923634451_H
- #define COMPONENT_T1923634451_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngine.Component
- struct Component_t1923634451 : public Object_t631007953
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // COMPONENT_T1923634451_H
- #ifndef ASYNCCALLBACK_T3962456242_H
- #define ASYNCCALLBACK_T3962456242_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.AsyncCallback
- struct AsyncCallback_t3962456242 : public MulticastDelegate_t
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // ASYNCCALLBACK_T3962456242_H
- #ifndef WILLRENDERCANVASES_T3309123499_H
- #define WILLRENDERCANVASES_T3309123499_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngine.Canvas/WillRenderCanvases
- struct WillRenderCanvases_t3309123499 : public MulticastDelegate_t
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // WILLRENDERCANVASES_T3309123499_H
- #ifndef BEHAVIOUR_T1437897464_H
- #define BEHAVIOUR_T1437897464_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngine.Behaviour
- struct Behaviour_t1437897464 : public Component_t1923634451
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // BEHAVIOUR_T1437897464_H
- #ifndef CANVAS_T3310196443_H
- #define CANVAS_T3310196443_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngine.Canvas
- struct Canvas_t3310196443 : public Behaviour_t1437897464
- {
- public:
- public:
- };
- struct Canvas_t3310196443_StaticFields
- {
- public:
- // UnityEngine.Canvas/WillRenderCanvases UnityEngine.Canvas::willRenderCanvases
- WillRenderCanvases_t3309123499 * ___willRenderCanvases_2;
- public:
- inline static int32_t get_offset_of_willRenderCanvases_2() { return static_cast<int32_t>(offsetof(Canvas_t3310196443_StaticFields, ___willRenderCanvases_2)); }
- inline WillRenderCanvases_t3309123499 * get_willRenderCanvases_2() const { return ___willRenderCanvases_2; }
- inline WillRenderCanvases_t3309123499 ** get_address_of_willRenderCanvases_2() { return &___willRenderCanvases_2; }
- inline void set_willRenderCanvases_2(WillRenderCanvases_t3309123499 * value)
- {
- ___willRenderCanvases_2 = value;
- Il2CppCodeGenWriteBarrier((&___willRenderCanvases_2), value);
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // CANVAS_T3310196443_H
- // System.Void UnityEngine.Canvas/WillRenderCanvases::Invoke()
- extern "C" IL2CPP_METHOD_ATTR void WillRenderCanvases_Invoke_m1240663687 (WillRenderCanvases_t3309123499 * __this, const RuntimeMethod* method);
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void UnityEngine.Canvas::SendWillRenderCanvases()
- extern "C" IL2CPP_METHOD_ATTR void Canvas_SendWillRenderCanvases_m4288867005 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_method (Canvas_SendWillRenderCanvases_m4288867005_MetadataUsageId);
- s_Il2CppMethodInitialized = true;
- }
- {
- WillRenderCanvases_t3309123499 * L_0 = ((Canvas_t3310196443_StaticFields*)il2cpp_codegen_static_fields_for(Canvas_t3310196443_il2cpp_TypeInfo_var))->get_willRenderCanvases_2();
- if (!L_0)
- {
- goto IL_0015;
- }
- }
- {
- WillRenderCanvases_t3309123499 * L_1 = ((Canvas_t3310196443_StaticFields*)il2cpp_codegen_static_fields_for(Canvas_t3310196443_il2cpp_TypeInfo_var))->get_willRenderCanvases_2();
- NullCheck(L_1);
- WillRenderCanvases_Invoke_m1240663687(L_1, /*hidden argument*/NULL);
- }
- IL_0015:
- {
- 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
- extern "C" void DelegatePInvokeWrapper_WillRenderCanvases_t3309123499 (WillRenderCanvases_t3309123499 * __this, const RuntimeMethod* method)
- {
- typedef void (DEFAULT_CALL *PInvokeFunc)();
- PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
- // Native function invocation
- il2cppPInvokeFunc();
- }
- // System.Void UnityEngine.Canvas/WillRenderCanvases::.ctor(System.Object,System.IntPtr)
- extern "C" IL2CPP_METHOD_ATTR void WillRenderCanvases__ctor_m147079397 (WillRenderCanvases_t3309123499 * __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.Canvas/WillRenderCanvases::Invoke()
- extern "C" IL2CPP_METHOD_ATTR void WillRenderCanvases_Invoke_m1240663687 (WillRenderCanvases_t3309123499 * __this, const RuntimeMethod* method)
- {
- if(__this->get_prev_9() != NULL)
- {
- WillRenderCanvases_Invoke_m1240663687((WillRenderCanvases_t3309123499 *)__this->get_prev_9(), method);
- }
- Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
- RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
- RuntimeObject* targetThis = __this->get_m_target_2();
- il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
- bool ___methodIsStatic = MethodIsStatic(targetMethod);
- if (___methodIsStatic)
- {
- if (il2cpp_codegen_method_parameter_count(targetMethod) == 0)
- {
- // open
- {
- typedef void (*FunctionPointerType) (RuntimeObject *, const RuntimeMethod*);
- ((FunctionPointerType)targetMethodPointer)(NULL, targetMethod);
- }
- }
- else
- {
- // closed
- {
- typedef void (*FunctionPointerType) (RuntimeObject *, void*, const RuntimeMethod*);
- ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, targetMethod);
- }
- }
- }
- else
- {
- {
- // closed
- if (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))
- GenericInterfaceActionInvoker0::Invoke(targetMethod, targetThis);
- else
- GenericVirtActionInvoker0::Invoke(targetMethod, targetThis);
- }
- else
- {
- if (il2cpp_codegen_method_is_interface_method(targetMethod))
- InterfaceActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis);
- else
- VirtActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis);
- }
- }
- else
- {
- typedef void (*FunctionPointerType) (void*, const RuntimeMethod*);
- ((FunctionPointerType)targetMethodPointer)(targetThis, targetMethod);
- }
- }
- }
- }
- // System.IAsyncResult UnityEngine.Canvas/WillRenderCanvases::BeginInvoke(System.AsyncCallback,System.Object)
- extern "C" IL2CPP_METHOD_ATTR RuntimeObject* WillRenderCanvases_BeginInvoke_m1804779886 (WillRenderCanvases_t3309123499 * __this, AsyncCallback_t3962456242 * ___callback0, RuntimeObject * ___object1, const RuntimeMethod* method)
- {
- void *__d_args[1] = {0};
- return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback0, (RuntimeObject*)___object1);
- }
- // System.Void UnityEngine.Canvas/WillRenderCanvases::EndInvoke(System.IAsyncResult)
- extern "C" IL2CPP_METHOD_ATTR void WillRenderCanvases_EndInvoke_m164864243 (WillRenderCanvases_t3309123499 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
- {
- il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
|