Bulk_UnityEngine.UIModule_0.cpp 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692
  1. #include "il2cpp-config.h"
  2. #ifndef _MSC_VER
  3. # include <alloca.h>
  4. #else
  5. # include <malloc.h>
  6. #endif
  7. #include <cstring>
  8. #include <string.h>
  9. #include <stdio.h>
  10. #include <cmath>
  11. #include <limits>
  12. #include <assert.h>
  13. #include <stdint.h>
  14. #include "il2cpp-class-internals.h"
  15. #include "codegen/il2cpp-codegen.h"
  16. #include "il2cpp-object-internals.h"
  17. struct VirtActionInvoker0
  18. {
  19. typedef void (*Action)(void*, const RuntimeMethod*);
  20. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
  21. {
  22. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  23. ((Action)invokeData.methodPtr)(obj, invokeData.method);
  24. }
  25. };
  26. struct GenericVirtActionInvoker0
  27. {
  28. typedef void (*Action)(void*, const RuntimeMethod*);
  29. static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj)
  30. {
  31. VirtualInvokeData invokeData;
  32. il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
  33. ((Action)invokeData.methodPtr)(obj, invokeData.method);
  34. }
  35. };
  36. struct InterfaceActionInvoker0
  37. {
  38. typedef void (*Action)(void*, const RuntimeMethod*);
  39. static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
  40. {
  41. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  42. ((Action)invokeData.methodPtr)(obj, invokeData.method);
  43. }
  44. };
  45. struct GenericInterfaceActionInvoker0
  46. {
  47. typedef void (*Action)(void*, const RuntimeMethod*);
  48. static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj)
  49. {
  50. VirtualInvokeData invokeData;
  51. il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
  52. ((Action)invokeData.methodPtr)(obj, invokeData.method);
  53. }
  54. };
  55. // UnityEngine.Canvas/WillRenderCanvases
  56. struct WillRenderCanvases_t3309123499;
  57. // System.IAsyncResult
  58. struct IAsyncResult_t767004451;
  59. // System.AsyncCallback
  60. struct AsyncCallback_t3962456242;
  61. // System.Void
  62. struct Void_t1185182177;
  63. // System.Reflection.MethodInfo
  64. struct MethodInfo_t;
  65. // System.DelegateData
  66. struct DelegateData_t1677132599;
  67. extern RuntimeClass* Canvas_t3310196443_il2cpp_TypeInfo_var;
  68. extern const uint32_t Canvas_SendWillRenderCanvases_m4288867005_MetadataUsageId;
  69. #ifndef U3CMODULEU3E_T692745554_H
  70. #define U3CMODULEU3E_T692745554_H
  71. #ifdef __clang__
  72. #pragma clang diagnostic push
  73. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  74. #pragma clang diagnostic ignored "-Wunused-variable"
  75. #endif
  76. // <Module>
  77. struct U3CModuleU3E_t692745554
  78. {
  79. public:
  80. public:
  81. };
  82. #ifdef __clang__
  83. #pragma clang diagnostic pop
  84. #endif
  85. #endif // U3CMODULEU3E_T692745554_H
  86. #ifndef RUNTIMEOBJECT_H
  87. #define RUNTIMEOBJECT_H
  88. #ifdef __clang__
  89. #pragma clang diagnostic push
  90. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  91. #pragma clang diagnostic ignored "-Wunused-variable"
  92. #endif
  93. // System.Object
  94. #ifdef __clang__
  95. #pragma clang diagnostic pop
  96. #endif
  97. #endif // RUNTIMEOBJECT_H
  98. struct Il2CppArrayBounds;
  99. #ifndef RUNTIMEARRAY_H
  100. #define RUNTIMEARRAY_H
  101. #ifdef __clang__
  102. #pragma clang diagnostic push
  103. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  104. #pragma clang diagnostic ignored "-Wunused-variable"
  105. #endif
  106. // System.Array
  107. #ifdef __clang__
  108. #pragma clang diagnostic pop
  109. #endif
  110. #endif // RUNTIMEARRAY_H
  111. #ifndef VALUETYPE_T3640485471_H
  112. #define VALUETYPE_T3640485471_H
  113. #ifdef __clang__
  114. #pragma clang diagnostic push
  115. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  116. #pragma clang diagnostic ignored "-Wunused-variable"
  117. #endif
  118. // System.ValueType
  119. struct ValueType_t3640485471 : public RuntimeObject
  120. {
  121. public:
  122. public:
  123. };
  124. #ifdef __clang__
  125. #pragma clang diagnostic pop
  126. #endif
  127. // Native definition for P/Invoke marshalling of System.ValueType
  128. struct ValueType_t3640485471_marshaled_pinvoke
  129. {
  130. };
  131. // Native definition for COM marshalling of System.ValueType
  132. struct ValueType_t3640485471_marshaled_com
  133. {
  134. };
  135. #endif // VALUETYPE_T3640485471_H
  136. #ifndef INTPTR_T_H
  137. #define INTPTR_T_H
  138. #ifdef __clang__
  139. #pragma clang diagnostic push
  140. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  141. #pragma clang diagnostic ignored "-Wunused-variable"
  142. #endif
  143. // System.IntPtr
  144. struct IntPtr_t
  145. {
  146. public:
  147. // System.Void* System.IntPtr::m_value
  148. void* ___m_value_0;
  149. public:
  150. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
  151. inline void* get_m_value_0() const { return ___m_value_0; }
  152. inline void** get_address_of_m_value_0() { return &___m_value_0; }
  153. inline void set_m_value_0(void* value)
  154. {
  155. ___m_value_0 = value;
  156. }
  157. };
  158. struct IntPtr_t_StaticFields
  159. {
  160. public:
  161. // System.IntPtr System.IntPtr::Zero
  162. intptr_t ___Zero_1;
  163. public:
  164. inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
  165. inline intptr_t get_Zero_1() const { return ___Zero_1; }
  166. inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
  167. inline void set_Zero_1(intptr_t value)
  168. {
  169. ___Zero_1 = value;
  170. }
  171. };
  172. #ifdef __clang__
  173. #pragma clang diagnostic pop
  174. #endif
  175. #endif // INTPTR_T_H
  176. #ifndef VOID_T1185182177_H
  177. #define VOID_T1185182177_H
  178. #ifdef __clang__
  179. #pragma clang diagnostic push
  180. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  181. #pragma clang diagnostic ignored "-Wunused-variable"
  182. #endif
  183. // System.Void
  184. struct Void_t1185182177
  185. {
  186. public:
  187. public:
  188. };
  189. #ifdef __clang__
  190. #pragma clang diagnostic pop
  191. #endif
  192. #endif // VOID_T1185182177_H
  193. #ifndef DELEGATE_T1188392813_H
  194. #define DELEGATE_T1188392813_H
  195. #ifdef __clang__
  196. #pragma clang diagnostic push
  197. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  198. #pragma clang diagnostic ignored "-Wunused-variable"
  199. #endif
  200. // System.Delegate
  201. struct Delegate_t1188392813 : public RuntimeObject
  202. {
  203. public:
  204. // System.IntPtr System.Delegate::method_ptr
  205. Il2CppMethodPointer ___method_ptr_0;
  206. // System.IntPtr System.Delegate::invoke_impl
  207. intptr_t ___invoke_impl_1;
  208. // System.Object System.Delegate::m_target
  209. RuntimeObject * ___m_target_2;
  210. // System.IntPtr System.Delegate::method
  211. intptr_t ___method_3;
  212. // System.IntPtr System.Delegate::delegate_trampoline
  213. intptr_t ___delegate_trampoline_4;
  214. // System.IntPtr System.Delegate::method_code
  215. intptr_t ___method_code_5;
  216. // System.Reflection.MethodInfo System.Delegate::method_info
  217. MethodInfo_t * ___method_info_6;
  218. // System.Reflection.MethodInfo System.Delegate::original_method_info
  219. MethodInfo_t * ___original_method_info_7;
  220. // System.DelegateData System.Delegate::data
  221. DelegateData_t1677132599 * ___data_8;
  222. public:
  223. inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_ptr_0)); }
  224. inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
  225. inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
  226. inline void set_method_ptr_0(Il2CppMethodPointer value)
  227. {
  228. ___method_ptr_0 = value;
  229. }
  230. inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___invoke_impl_1)); }
  231. inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
  232. inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
  233. inline void set_invoke_impl_1(intptr_t value)
  234. {
  235. ___invoke_impl_1 = value;
  236. }
  237. inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___m_target_2)); }
  238. inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
  239. inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
  240. inline void set_m_target_2(RuntimeObject * value)
  241. {
  242. ___m_target_2 = value;
  243. Il2CppCodeGenWriteBarrier((&___m_target_2), value);
  244. }
  245. inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_3)); }
  246. inline intptr_t get_method_3() const { return ___method_3; }
  247. inline intptr_t* get_address_of_method_3() { return &___method_3; }
  248. inline void set_method_3(intptr_t value)
  249. {
  250. ___method_3 = value;
  251. }
  252. inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___delegate_trampoline_4)); }
  253. inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
  254. inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
  255. inline void set_delegate_trampoline_4(intptr_t value)
  256. {
  257. ___delegate_trampoline_4 = value;
  258. }
  259. inline static int32_t get_offset_of_method_code_5() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_code_5)); }
  260. inline intptr_t get_method_code_5() const { return ___method_code_5; }
  261. inline intptr_t* get_address_of_method_code_5() { return &___method_code_5; }
  262. inline void set_method_code_5(intptr_t value)
  263. {
  264. ___method_code_5 = value;
  265. }
  266. inline static int32_t get_offset_of_method_info_6() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_info_6)); }
  267. inline MethodInfo_t * get_method_info_6() const { return ___method_info_6; }
  268. inline MethodInfo_t ** get_address_of_method_info_6() { return &___method_info_6; }
  269. inline void set_method_info_6(MethodInfo_t * value)
  270. {
  271. ___method_info_6 = value;
  272. Il2CppCodeGenWriteBarrier((&___method_info_6), value);
  273. }
  274. inline static int32_t get_offset_of_original_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___original_method_info_7)); }
  275. inline MethodInfo_t * get_original_method_info_7() const { return ___original_method_info_7; }
  276. inline MethodInfo_t ** get_address_of_original_method_info_7() { return &___original_method_info_7; }
  277. inline void set_original_method_info_7(MethodInfo_t * value)
  278. {
  279. ___original_method_info_7 = value;
  280. Il2CppCodeGenWriteBarrier((&___original_method_info_7), value);
  281. }
  282. inline static int32_t get_offset_of_data_8() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___data_8)); }
  283. inline DelegateData_t1677132599 * get_data_8() const { return ___data_8; }
  284. inline DelegateData_t1677132599 ** get_address_of_data_8() { return &___data_8; }
  285. inline void set_data_8(DelegateData_t1677132599 * value)
  286. {
  287. ___data_8 = value;
  288. Il2CppCodeGenWriteBarrier((&___data_8), value);
  289. }
  290. };
  291. #ifdef __clang__
  292. #pragma clang diagnostic pop
  293. #endif
  294. #endif // DELEGATE_T1188392813_H
  295. #ifndef OBJECT_T631007953_H
  296. #define OBJECT_T631007953_H
  297. #ifdef __clang__
  298. #pragma clang diagnostic push
  299. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  300. #pragma clang diagnostic ignored "-Wunused-variable"
  301. #endif
  302. // UnityEngine.Object
  303. struct Object_t631007953 : public RuntimeObject
  304. {
  305. public:
  306. // System.IntPtr UnityEngine.Object::m_CachedPtr
  307. intptr_t ___m_CachedPtr_0;
  308. public:
  309. inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_t631007953, ___m_CachedPtr_0)); }
  310. inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; }
  311. inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; }
  312. inline void set_m_CachedPtr_0(intptr_t value)
  313. {
  314. ___m_CachedPtr_0 = value;
  315. }
  316. };
  317. struct Object_t631007953_StaticFields
  318. {
  319. public:
  320. // System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
  321. int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
  322. public:
  323. inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_t631007953_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
  324. inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
  325. inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
  326. inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
  327. {
  328. ___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
  329. }
  330. };
  331. #ifdef __clang__
  332. #pragma clang diagnostic pop
  333. #endif
  334. // Native definition for P/Invoke marshalling of UnityEngine.Object
  335. struct Object_t631007953_marshaled_pinvoke
  336. {
  337. intptr_t ___m_CachedPtr_0;
  338. };
  339. // Native definition for COM marshalling of UnityEngine.Object
  340. struct Object_t631007953_marshaled_com
  341. {
  342. intptr_t ___m_CachedPtr_0;
  343. };
  344. #endif // OBJECT_T631007953_H
  345. #ifndef MULTICASTDELEGATE_T_H
  346. #define MULTICASTDELEGATE_T_H
  347. #ifdef __clang__
  348. #pragma clang diagnostic push
  349. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  350. #pragma clang diagnostic ignored "-Wunused-variable"
  351. #endif
  352. // System.MulticastDelegate
  353. struct MulticastDelegate_t : public Delegate_t1188392813
  354. {
  355. public:
  356. // System.MulticastDelegate System.MulticastDelegate::prev
  357. MulticastDelegate_t * ___prev_9;
  358. // System.MulticastDelegate System.MulticastDelegate::kpm_next
  359. MulticastDelegate_t * ___kpm_next_10;
  360. public:
  361. inline static int32_t get_offset_of_prev_9() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___prev_9)); }
  362. inline MulticastDelegate_t * get_prev_9() const { return ___prev_9; }
  363. inline MulticastDelegate_t ** get_address_of_prev_9() { return &___prev_9; }
  364. inline void set_prev_9(MulticastDelegate_t * value)
  365. {
  366. ___prev_9 = value;
  367. Il2CppCodeGenWriteBarrier((&___prev_9), value);
  368. }
  369. inline static int32_t get_offset_of_kpm_next_10() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___kpm_next_10)); }
  370. inline MulticastDelegate_t * get_kpm_next_10() const { return ___kpm_next_10; }
  371. inline MulticastDelegate_t ** get_address_of_kpm_next_10() { return &___kpm_next_10; }
  372. inline void set_kpm_next_10(MulticastDelegate_t * value)
  373. {
  374. ___kpm_next_10 = value;
  375. Il2CppCodeGenWriteBarrier((&___kpm_next_10), value);
  376. }
  377. };
  378. #ifdef __clang__
  379. #pragma clang diagnostic pop
  380. #endif
  381. #endif // MULTICASTDELEGATE_T_H
  382. #ifndef COMPONENT_T1923634451_H
  383. #define COMPONENT_T1923634451_H
  384. #ifdef __clang__
  385. #pragma clang diagnostic push
  386. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  387. #pragma clang diagnostic ignored "-Wunused-variable"
  388. #endif
  389. // UnityEngine.Component
  390. struct Component_t1923634451 : public Object_t631007953
  391. {
  392. public:
  393. public:
  394. };
  395. #ifdef __clang__
  396. #pragma clang diagnostic pop
  397. #endif
  398. #endif // COMPONENT_T1923634451_H
  399. #ifndef ASYNCCALLBACK_T3962456242_H
  400. #define ASYNCCALLBACK_T3962456242_H
  401. #ifdef __clang__
  402. #pragma clang diagnostic push
  403. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  404. #pragma clang diagnostic ignored "-Wunused-variable"
  405. #endif
  406. // System.AsyncCallback
  407. struct AsyncCallback_t3962456242 : public MulticastDelegate_t
  408. {
  409. public:
  410. public:
  411. };
  412. #ifdef __clang__
  413. #pragma clang diagnostic pop
  414. #endif
  415. #endif // ASYNCCALLBACK_T3962456242_H
  416. #ifndef WILLRENDERCANVASES_T3309123499_H
  417. #define WILLRENDERCANVASES_T3309123499_H
  418. #ifdef __clang__
  419. #pragma clang diagnostic push
  420. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  421. #pragma clang diagnostic ignored "-Wunused-variable"
  422. #endif
  423. // UnityEngine.Canvas/WillRenderCanvases
  424. struct WillRenderCanvases_t3309123499 : public MulticastDelegate_t
  425. {
  426. public:
  427. public:
  428. };
  429. #ifdef __clang__
  430. #pragma clang diagnostic pop
  431. #endif
  432. #endif // WILLRENDERCANVASES_T3309123499_H
  433. #ifndef BEHAVIOUR_T1437897464_H
  434. #define BEHAVIOUR_T1437897464_H
  435. #ifdef __clang__
  436. #pragma clang diagnostic push
  437. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  438. #pragma clang diagnostic ignored "-Wunused-variable"
  439. #endif
  440. // UnityEngine.Behaviour
  441. struct Behaviour_t1437897464 : public Component_t1923634451
  442. {
  443. public:
  444. public:
  445. };
  446. #ifdef __clang__
  447. #pragma clang diagnostic pop
  448. #endif
  449. #endif // BEHAVIOUR_T1437897464_H
  450. #ifndef CANVAS_T3310196443_H
  451. #define CANVAS_T3310196443_H
  452. #ifdef __clang__
  453. #pragma clang diagnostic push
  454. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  455. #pragma clang diagnostic ignored "-Wunused-variable"
  456. #endif
  457. // UnityEngine.Canvas
  458. struct Canvas_t3310196443 : public Behaviour_t1437897464
  459. {
  460. public:
  461. public:
  462. };
  463. struct Canvas_t3310196443_StaticFields
  464. {
  465. public:
  466. // UnityEngine.Canvas/WillRenderCanvases UnityEngine.Canvas::willRenderCanvases
  467. WillRenderCanvases_t3309123499 * ___willRenderCanvases_2;
  468. public:
  469. inline static int32_t get_offset_of_willRenderCanvases_2() { return static_cast<int32_t>(offsetof(Canvas_t3310196443_StaticFields, ___willRenderCanvases_2)); }
  470. inline WillRenderCanvases_t3309123499 * get_willRenderCanvases_2() const { return ___willRenderCanvases_2; }
  471. inline WillRenderCanvases_t3309123499 ** get_address_of_willRenderCanvases_2() { return &___willRenderCanvases_2; }
  472. inline void set_willRenderCanvases_2(WillRenderCanvases_t3309123499 * value)
  473. {
  474. ___willRenderCanvases_2 = value;
  475. Il2CppCodeGenWriteBarrier((&___willRenderCanvases_2), value);
  476. }
  477. };
  478. #ifdef __clang__
  479. #pragma clang diagnostic pop
  480. #endif
  481. #endif // CANVAS_T3310196443_H
  482. // System.Void UnityEngine.Canvas/WillRenderCanvases::Invoke()
  483. extern "C" IL2CPP_METHOD_ATTR void WillRenderCanvases_Invoke_m1240663687 (WillRenderCanvases_t3309123499 * __this, const RuntimeMethod* method);
  484. #ifdef __clang__
  485. #pragma clang diagnostic push
  486. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  487. #pragma clang diagnostic ignored "-Wunused-variable"
  488. #endif
  489. #ifdef __clang__
  490. #pragma clang diagnostic pop
  491. #endif
  492. #ifdef __clang__
  493. #pragma clang diagnostic push
  494. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  495. #pragma clang diagnostic ignored "-Wunused-variable"
  496. #endif
  497. // System.Void UnityEngine.Canvas::SendWillRenderCanvases()
  498. extern "C" IL2CPP_METHOD_ATTR void Canvas_SendWillRenderCanvases_m4288867005 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
  499. {
  500. static bool s_Il2CppMethodInitialized;
  501. if (!s_Il2CppMethodInitialized)
  502. {
  503. il2cpp_codegen_initialize_method (Canvas_SendWillRenderCanvases_m4288867005_MetadataUsageId);
  504. s_Il2CppMethodInitialized = true;
  505. }
  506. {
  507. WillRenderCanvases_t3309123499 * L_0 = ((Canvas_t3310196443_StaticFields*)il2cpp_codegen_static_fields_for(Canvas_t3310196443_il2cpp_TypeInfo_var))->get_willRenderCanvases_2();
  508. if (!L_0)
  509. {
  510. goto IL_0015;
  511. }
  512. }
  513. {
  514. WillRenderCanvases_t3309123499 * L_1 = ((Canvas_t3310196443_StaticFields*)il2cpp_codegen_static_fields_for(Canvas_t3310196443_il2cpp_TypeInfo_var))->get_willRenderCanvases_2();
  515. NullCheck(L_1);
  516. WillRenderCanvases_Invoke_m1240663687(L_1, /*hidden argument*/NULL);
  517. }
  518. IL_0015:
  519. {
  520. return;
  521. }
  522. }
  523. #ifdef __clang__
  524. #pragma clang diagnostic pop
  525. #endif
  526. #ifdef __clang__
  527. #pragma clang diagnostic push
  528. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  529. #pragma clang diagnostic ignored "-Wunused-variable"
  530. #endif
  531. extern "C" void DelegatePInvokeWrapper_WillRenderCanvases_t3309123499 (WillRenderCanvases_t3309123499 * __this, const RuntimeMethod* method)
  532. {
  533. typedef void (DEFAULT_CALL *PInvokeFunc)();
  534. PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
  535. // Native function invocation
  536. il2cppPInvokeFunc();
  537. }
  538. // System.Void UnityEngine.Canvas/WillRenderCanvases::.ctor(System.Object,System.IntPtr)
  539. extern "C" IL2CPP_METHOD_ATTR void WillRenderCanvases__ctor_m147079397 (WillRenderCanvases_t3309123499 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
  540. {
  541. __this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
  542. __this->set_method_3(___method1);
  543. __this->set_m_target_2(___object0);
  544. }
  545. // System.Void UnityEngine.Canvas/WillRenderCanvases::Invoke()
  546. extern "C" IL2CPP_METHOD_ATTR void WillRenderCanvases_Invoke_m1240663687 (WillRenderCanvases_t3309123499 * __this, const RuntimeMethod* method)
  547. {
  548. if(__this->get_prev_9() != NULL)
  549. {
  550. WillRenderCanvases_Invoke_m1240663687((WillRenderCanvases_t3309123499 *)__this->get_prev_9(), method);
  551. }
  552. Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
  553. RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
  554. RuntimeObject* targetThis = __this->get_m_target_2();
  555. il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
  556. bool ___methodIsStatic = MethodIsStatic(targetMethod);
  557. if (___methodIsStatic)
  558. {
  559. if (il2cpp_codegen_method_parameter_count(targetMethod) == 0)
  560. {
  561. // open
  562. {
  563. typedef void (*FunctionPointerType) (RuntimeObject *, const RuntimeMethod*);
  564. ((FunctionPointerType)targetMethodPointer)(NULL, targetMethod);
  565. }
  566. }
  567. else
  568. {
  569. // closed
  570. {
  571. typedef void (*FunctionPointerType) (RuntimeObject *, void*, const RuntimeMethod*);
  572. ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, targetMethod);
  573. }
  574. }
  575. }
  576. else
  577. {
  578. {
  579. // closed
  580. if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
  581. {
  582. if (il2cpp_codegen_method_is_generic_instance(targetMethod))
  583. {
  584. if (il2cpp_codegen_method_is_interface_method(targetMethod))
  585. GenericInterfaceActionInvoker0::Invoke(targetMethod, targetThis);
  586. else
  587. GenericVirtActionInvoker0::Invoke(targetMethod, targetThis);
  588. }
  589. else
  590. {
  591. if (il2cpp_codegen_method_is_interface_method(targetMethod))
  592. InterfaceActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis);
  593. else
  594. VirtActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis);
  595. }
  596. }
  597. else
  598. {
  599. typedef void (*FunctionPointerType) (void*, const RuntimeMethod*);
  600. ((FunctionPointerType)targetMethodPointer)(targetThis, targetMethod);
  601. }
  602. }
  603. }
  604. }
  605. // System.IAsyncResult UnityEngine.Canvas/WillRenderCanvases::BeginInvoke(System.AsyncCallback,System.Object)
  606. extern "C" IL2CPP_METHOD_ATTR RuntimeObject* WillRenderCanvases_BeginInvoke_m1804779886 (WillRenderCanvases_t3309123499 * __this, AsyncCallback_t3962456242 * ___callback0, RuntimeObject * ___object1, const RuntimeMethod* method)
  607. {
  608. void *__d_args[1] = {0};
  609. return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback0, (RuntimeObject*)___object1);
  610. }
  611. // System.Void UnityEngine.Canvas/WillRenderCanvases::EndInvoke(System.IAsyncResult)
  612. extern "C" IL2CPP_METHOD_ATTR void WillRenderCanvases_EndInvoke_m164864243 (WillRenderCanvases_t3309123499 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
  613. {
  614. il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
  615. }
  616. #ifdef __clang__
  617. #pragma clang diagnostic pop
  618. #endif