UnityEngine.DirectorModule.cpp 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. #include "pch-cpp.hpp"
  2. #ifndef _MSC_VER
  3. # include <alloca.h>
  4. #else
  5. # include <malloc.h>
  6. #endif
  7. #include <limits>
  8. struct Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87;
  9. struct Action_1_tB645F646DB079054A9500B09427CB02A88372D3F;
  10. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  11. struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
  12. struct MethodInfo_t;
  13. struct PlayableDirector_t895D7BC3CFBFFD823278F438EAC4AA91DBFEC475;
  14. struct String_t;
  15. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  16. struct Delegate_t_marshaled_com;
  17. struct Delegate_t_marshaled_pinvoke;
  18. IL2CPP_EXTERN_C_BEGIN
  19. IL2CPP_EXTERN_C_END
  20. #ifdef __clang__
  21. #pragma clang diagnostic push
  22. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  23. #pragma clang diagnostic ignored "-Wunused-variable"
  24. #endif
  25. struct U3CModuleU3E_t30BE97772842985A3AF723FA1759387A3E79C563
  26. {
  27. };
  28. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  29. {
  30. };
  31. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  32. {
  33. };
  34. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  35. {
  36. };
  37. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  38. {
  39. bool ___m_value;
  40. };
  41. struct IntPtr_t
  42. {
  43. void* ___m_value;
  44. };
  45. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  46. {
  47. union
  48. {
  49. struct
  50. {
  51. };
  52. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  53. };
  54. };
  55. struct Delegate_t : public RuntimeObject
  56. {
  57. intptr_t ___method_ptr;
  58. intptr_t ___invoke_impl;
  59. RuntimeObject* ___m_target;
  60. intptr_t ___method;
  61. intptr_t ___delegate_trampoline;
  62. intptr_t ___extra_arg;
  63. intptr_t ___method_code;
  64. intptr_t ___interp_method;
  65. intptr_t ___interp_invoke_impl;
  66. MethodInfo_t* ___method_info;
  67. MethodInfo_t* ___original_method_info;
  68. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  69. bool ___method_is_virtual;
  70. };
  71. struct Delegate_t_marshaled_pinvoke
  72. {
  73. intptr_t ___method_ptr;
  74. intptr_t ___invoke_impl;
  75. Il2CppIUnknown* ___m_target;
  76. intptr_t ___method;
  77. intptr_t ___delegate_trampoline;
  78. intptr_t ___extra_arg;
  79. intptr_t ___method_code;
  80. intptr_t ___interp_method;
  81. intptr_t ___interp_invoke_impl;
  82. MethodInfo_t* ___method_info;
  83. MethodInfo_t* ___original_method_info;
  84. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  85. int32_t ___method_is_virtual;
  86. };
  87. struct Delegate_t_marshaled_com
  88. {
  89. intptr_t ___method_ptr;
  90. intptr_t ___invoke_impl;
  91. Il2CppIUnknown* ___m_target;
  92. intptr_t ___method;
  93. intptr_t ___delegate_trampoline;
  94. intptr_t ___extra_arg;
  95. intptr_t ___method_code;
  96. intptr_t ___interp_method;
  97. intptr_t ___interp_invoke_impl;
  98. MethodInfo_t* ___method_info;
  99. MethodInfo_t* ___original_method_info;
  100. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  101. int32_t ___method_is_virtual;
  102. };
  103. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
  104. {
  105. intptr_t ___m_CachedPtr;
  106. };
  107. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
  108. {
  109. intptr_t ___m_CachedPtr;
  110. };
  111. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
  112. {
  113. intptr_t ___m_CachedPtr;
  114. };
  115. struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  116. {
  117. };
  118. struct MulticastDelegate_t : public Delegate_t
  119. {
  120. DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates;
  121. };
  122. struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
  123. {
  124. Delegate_t_marshaled_pinvoke** ___delegates;
  125. };
  126. struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
  127. {
  128. Delegate_t_marshaled_com** ___delegates;
  129. };
  130. struct Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87 : public MulticastDelegate_t
  131. {
  132. };
  133. struct Action_1_tB645F646DB079054A9500B09427CB02A88372D3F : public MulticastDelegate_t
  134. {
  135. };
  136. struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
  137. {
  138. };
  139. struct PlayableDirector_t895D7BC3CFBFFD823278F438EAC4AA91DBFEC475 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
  140. {
  141. Action_1_tB645F646DB079054A9500B09427CB02A88372D3F* ___played;
  142. Action_1_tB645F646DB079054A9500B09427CB02A88372D3F* ___paused;
  143. Action_1_tB645F646DB079054A9500B09427CB02A88372D3F* ___stopped;
  144. };
  145. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  146. {
  147. String_t* ___TrueString;
  148. String_t* ___FalseString;
  149. };
  150. #ifdef __clang__
  151. #pragma clang diagnostic pop
  152. #endif
  153. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_1_Invoke_mF2422B2DD29F74CE66F791C3F68E288EC7C3DB9E_gshared_inline (Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
  154. inline void Action_1_Invoke_m1DDC149E3BDDF7CAA1CCEBDA6D58D6971F126303_inline (Action_1_tB645F646DB079054A9500B09427CB02A88372D3F* __this, PlayableDirector_t895D7BC3CFBFFD823278F438EAC4AA91DBFEC475* ___0_obj, const RuntimeMethod* method)
  155. {
  156. (( void (*) (Action_1_tB645F646DB079054A9500B09427CB02A88372D3F*, PlayableDirector_t895D7BC3CFBFFD823278F438EAC4AA91DBFEC475*, const RuntimeMethod*))Action_1_Invoke_mF2422B2DD29F74CE66F791C3F68E288EC7C3DB9E_gshared_inline)(__this, ___0_obj, method);
  157. }
  158. #ifdef __clang__
  159. #pragma clang diagnostic push
  160. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  161. #pragma clang diagnostic ignored "-Wunused-variable"
  162. #endif
  163. #ifdef __clang__
  164. #pragma clang diagnostic pop
  165. #endif
  166. #ifdef __clang__
  167. #pragma clang diagnostic push
  168. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  169. #pragma clang diagnostic ignored "-Wunused-variable"
  170. #endif
  171. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlayableDirector_SendOnPlayableDirectorPlay_m7F75DBA4355DAA92F53AC337BB952069B63081A0 (PlayableDirector_t895D7BC3CFBFFD823278F438EAC4AA91DBFEC475* __this, const RuntimeMethod* method)
  172. {
  173. bool V_0 = false;
  174. {
  175. Action_1_tB645F646DB079054A9500B09427CB02A88372D3F* L_0 = __this->___played;
  176. V_0 = (bool)((!(((RuntimeObject*)(Action_1_tB645F646DB079054A9500B09427CB02A88372D3F*)L_0) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
  177. bool L_1 = V_0;
  178. if (!L_1)
  179. {
  180. goto IL_001b;
  181. }
  182. }
  183. {
  184. Action_1_tB645F646DB079054A9500B09427CB02A88372D3F* L_2 = __this->___played;
  185. NullCheck(L_2);
  186. Action_1_Invoke_m1DDC149E3BDDF7CAA1CCEBDA6D58D6971F126303_inline(L_2, __this, NULL);
  187. }
  188. IL_001b:
  189. {
  190. return;
  191. }
  192. }
  193. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlayableDirector_SendOnPlayableDirectorPause_m1B8EE7CBD23957C664AA417A9261194DFFFADFE1 (PlayableDirector_t895D7BC3CFBFFD823278F438EAC4AA91DBFEC475* __this, const RuntimeMethod* method)
  194. {
  195. bool V_0 = false;
  196. {
  197. Action_1_tB645F646DB079054A9500B09427CB02A88372D3F* L_0 = __this->___paused;
  198. V_0 = (bool)((!(((RuntimeObject*)(Action_1_tB645F646DB079054A9500B09427CB02A88372D3F*)L_0) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
  199. bool L_1 = V_0;
  200. if (!L_1)
  201. {
  202. goto IL_001b;
  203. }
  204. }
  205. {
  206. Action_1_tB645F646DB079054A9500B09427CB02A88372D3F* L_2 = __this->___paused;
  207. NullCheck(L_2);
  208. Action_1_Invoke_m1DDC149E3BDDF7CAA1CCEBDA6D58D6971F126303_inline(L_2, __this, NULL);
  209. }
  210. IL_001b:
  211. {
  212. return;
  213. }
  214. }
  215. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlayableDirector_SendOnPlayableDirectorStop_m4E9AEB579B8EA66ECC6FA9BE23BBF7973AB3EDD7 (PlayableDirector_t895D7BC3CFBFFD823278F438EAC4AA91DBFEC475* __this, const RuntimeMethod* method)
  216. {
  217. bool V_0 = false;
  218. {
  219. Action_1_tB645F646DB079054A9500B09427CB02A88372D3F* L_0 = __this->___stopped;
  220. V_0 = (bool)((!(((RuntimeObject*)(Action_1_tB645F646DB079054A9500B09427CB02A88372D3F*)L_0) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
  221. bool L_1 = V_0;
  222. if (!L_1)
  223. {
  224. goto IL_001b;
  225. }
  226. }
  227. {
  228. Action_1_tB645F646DB079054A9500B09427CB02A88372D3F* L_2 = __this->___stopped;
  229. NullCheck(L_2);
  230. Action_1_Invoke_m1DDC149E3BDDF7CAA1CCEBDA6D58D6971F126303_inline(L_2, __this, NULL);
  231. }
  232. IL_001b:
  233. {
  234. return;
  235. }
  236. }
  237. #ifdef __clang__
  238. #pragma clang diagnostic pop
  239. #endif
  240. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_1_Invoke_mF2422B2DD29F74CE66F791C3F68E288EC7C3DB9E_gshared_inline (Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
  241. {
  242. typedef void (*FunctionPointerType) (RuntimeObject*, RuntimeObject*, const RuntimeMethod*);
  243. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_obj, reinterpret_cast<RuntimeMethod*>(__this->___method));
  244. }