UnityEngine.AIModule.cpp 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764
  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 CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
  9. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  10. struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
  11. struct Delegate_t;
  12. struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
  13. struct MethodInfo_t;
  14. struct NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7;
  15. struct String_t;
  16. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  17. struct OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7;
  18. IL2CPP_EXTERN_C RuntimeClass* NavMesh_t3543D236ABB9A67F696BCF9440D669A1578B3D46_il2cpp_TypeInfo_var;
  19. IL2CPP_EXTERN_C RuntimeClass* Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var;
  20. struct Delegate_t_marshaled_com;
  21. struct Delegate_t_marshaled_pinvoke;
  22. struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2;
  23. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  24. struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
  25. IL2CPP_EXTERN_C_BEGIN
  26. IL2CPP_EXTERN_C_END
  27. #ifdef __clang__
  28. #pragma clang diagnostic push
  29. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  30. #pragma clang diagnostic ignored "-Wunused-variable"
  31. #endif
  32. struct U3CModuleU3E_tC64F337A786EF1DE807D08323D848149E353A750
  33. {
  34. };
  35. struct NavMesh_t3543D236ABB9A67F696BCF9440D669A1578B3D46 : public RuntimeObject
  36. {
  37. };
  38. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  39. {
  40. };
  41. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  42. {
  43. };
  44. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  45. {
  46. };
  47. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  48. {
  49. bool ___m_value;
  50. };
  51. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
  52. {
  53. };
  54. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
  55. {
  56. };
  57. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
  58. {
  59. };
  60. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  61. {
  62. int32_t ___m_value;
  63. };
  64. struct IntPtr_t
  65. {
  66. void* ___m_value;
  67. };
  68. struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
  69. {
  70. float ___m_value;
  71. };
  72. struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2
  73. {
  74. float ___x;
  75. float ___y;
  76. float ___z;
  77. };
  78. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  79. {
  80. union
  81. {
  82. struct
  83. {
  84. };
  85. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  86. };
  87. };
  88. struct Delegate_t : public RuntimeObject
  89. {
  90. intptr_t ___method_ptr;
  91. intptr_t ___invoke_impl;
  92. RuntimeObject* ___m_target;
  93. intptr_t ___method;
  94. intptr_t ___delegate_trampoline;
  95. intptr_t ___extra_arg;
  96. intptr_t ___method_code;
  97. intptr_t ___interp_method;
  98. intptr_t ___interp_invoke_impl;
  99. MethodInfo_t* ___method_info;
  100. MethodInfo_t* ___original_method_info;
  101. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  102. bool ___method_is_virtual;
  103. };
  104. struct Delegate_t_marshaled_pinvoke
  105. {
  106. intptr_t ___method_ptr;
  107. intptr_t ___invoke_impl;
  108. Il2CppIUnknown* ___m_target;
  109. intptr_t ___method;
  110. intptr_t ___delegate_trampoline;
  111. intptr_t ___extra_arg;
  112. intptr_t ___method_code;
  113. intptr_t ___interp_method;
  114. intptr_t ___interp_invoke_impl;
  115. MethodInfo_t* ___method_info;
  116. MethodInfo_t* ___original_method_info;
  117. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  118. int32_t ___method_is_virtual;
  119. };
  120. struct Delegate_t_marshaled_com
  121. {
  122. intptr_t ___method_ptr;
  123. intptr_t ___invoke_impl;
  124. Il2CppIUnknown* ___m_target;
  125. intptr_t ___method;
  126. intptr_t ___delegate_trampoline;
  127. intptr_t ___extra_arg;
  128. intptr_t ___method_code;
  129. intptr_t ___interp_method;
  130. intptr_t ___interp_invoke_impl;
  131. MethodInfo_t* ___method_info;
  132. MethodInfo_t* ___original_method_info;
  133. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  134. int32_t ___method_is_virtual;
  135. };
  136. struct NavMeshHit_t6323FC1F2D00E24FBFFC3E27C2F349A3BAD16F8B
  137. {
  138. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Position;
  139. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Normal;
  140. float ___m_Distance;
  141. int32_t ___m_Mask;
  142. int32_t ___m_Hit;
  143. };
  144. struct NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7 : public RuntimeObject
  145. {
  146. intptr_t ___m_Ptr;
  147. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___m_Corners;
  148. };
  149. struct NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshaled_pinvoke
  150. {
  151. intptr_t ___m_Ptr;
  152. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___m_Corners;
  153. };
  154. struct NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshaled_com
  155. {
  156. intptr_t ___m_Ptr;
  157. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___m_Corners;
  158. };
  159. struct NavMeshPathStatus_t1BCDA84284F9D364B8BB3BDF741D50D38932B205
  160. {
  161. int32_t ___value__;
  162. };
  163. struct MulticastDelegate_t : public Delegate_t
  164. {
  165. DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates;
  166. };
  167. struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
  168. {
  169. Delegate_t_marshaled_pinvoke** ___delegates;
  170. };
  171. struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
  172. {
  173. Delegate_t_marshaled_com** ___delegates;
  174. };
  175. struct OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7 : public MulticastDelegate_t
  176. {
  177. };
  178. struct NavMesh_t3543D236ABB9A67F696BCF9440D669A1578B3D46_StaticFields
  179. {
  180. OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7* ___onPreUpdate;
  181. };
  182. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  183. {
  184. String_t* ___TrueString;
  185. String_t* ___FalseString;
  186. };
  187. struct IntPtr_t_StaticFields
  188. {
  189. intptr_t ___Zero;
  190. };
  191. struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields
  192. {
  193. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___zeroVector;
  194. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___oneVector;
  195. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upVector;
  196. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___downVector;
  197. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftVector;
  198. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightVector;
  199. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forwardVector;
  200. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___backVector;
  201. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positiveInfinityVector;
  202. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___negativeInfinityVector;
  203. };
  204. #ifdef __clang__
  205. #pragma clang diagnostic pop
  206. #endif
  207. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771 : public RuntimeArray
  208. {
  209. ALIGN_FIELD (8) Delegate_t* m_Items[1];
  210. inline Delegate_t* GetAt(il2cpp_array_size_t index) const
  211. {
  212. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  213. return m_Items[index];
  214. }
  215. inline Delegate_t** GetAddressAt(il2cpp_array_size_t index)
  216. {
  217. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  218. return m_Items + index;
  219. }
  220. inline void SetAt(il2cpp_array_size_t index, Delegate_t* value)
  221. {
  222. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  223. m_Items[index] = value;
  224. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  225. }
  226. inline Delegate_t* GetAtUnchecked(il2cpp_array_size_t index) const
  227. {
  228. return m_Items[index];
  229. }
  230. inline Delegate_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
  231. {
  232. return m_Items + index;
  233. }
  234. inline void SetAtUnchecked(il2cpp_array_size_t index, Delegate_t* value)
  235. {
  236. m_Items[index] = value;
  237. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  238. }
  239. };
  240. struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C : public RuntimeArray
  241. {
  242. ALIGN_FIELD (8) Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 m_Items[1];
  243. inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAt(il2cpp_array_size_t index) const
  244. {
  245. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  246. return m_Items[index];
  247. }
  248. inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAt(il2cpp_array_size_t index)
  249. {
  250. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  251. return m_Items + index;
  252. }
  253. inline void SetAt(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
  254. {
  255. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  256. m_Items[index] = value;
  257. }
  258. inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAtUnchecked(il2cpp_array_size_t index) const
  259. {
  260. return m_Items[index];
  261. }
  262. inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAtUnchecked(il2cpp_array_size_t index)
  263. {
  264. return m_Items + index;
  265. }
  266. inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
  267. {
  268. m_Items[index] = value;
  269. }
  270. };
  271. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 NavMeshHit_get_position_m09E8FF6DEF5BFA3F30B3C4BCA4642442FF1BCBF1 (NavMeshHit_t6323FC1F2D00E24FBFFC3E27C2F349A3BAD16F8B* __this, const RuntimeMethod* method) ;
  272. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void OnNavMeshPreUpdate_Invoke_mFB224B9BBF9C78B7F39AA91A047F175C69897914_inline (OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7* __this, const RuntimeMethod* method) ;
  273. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshPath_ClearCorners_m8633C3989850C01982EBD3D4BC70E85AF461CE5B (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* __this, const RuntimeMethod* method) ;
  274. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMesh_CalculatePathInternal_m4463C51C0B2370D61653C4BC002C2A4AB7C5370F (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_sourcePosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_targetPosition, int32_t ___2_areaMask, NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* ___3_path, const RuntimeMethod* method) ;
  275. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMesh_CalculatePathInternal_Injected_mA35693202F3421933D42D9DF44F6CB0880E3EEEA (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___0_sourcePosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___1_targetPosition, int32_t ___2_areaMask, NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* ___3_path, const RuntimeMethod* method) ;
  276. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMesh_SamplePosition_Injected_m57BB80634365C0545A79CC653FCFECAA1879C6F0 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___0_sourcePosition, NavMeshHit_t6323FC1F2D00E24FBFFC3E27C2F349A3BAD16F8B* ___1_hit, float ___2_maxDistance, int32_t ___3_areaMask, const RuntimeMethod* method) ;
  277. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
  278. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t NavMeshPath_InitializeNavMeshPath_m14652B99A3EFB12B428AC2C959A629EE906DE5F1 (const RuntimeMethod* method) ;
  279. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_Finalize_mC98C96301CCABFE00F1A7EF8E15DF507CACD42B2 (RuntimeObject* __this, const RuntimeMethod* method) ;
  280. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshPath_DestroyNavMeshPath_mAB640913E8A9F1BE03EF9103FF34D5F4C5EBE3F7 (intptr_t ___0_ptr, const RuntimeMethod* method) ;
  281. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshPath_ClearCornersInternal_m2310C5CB9B4EB2B3C4685476B2CF8440ED369606 (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* __this, const RuntimeMethod* method) ;
  282. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* NavMeshPath_CalculateCornersInternal_m59C910C60F8C28D4E387C93B299B7D3F76213850 (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* __this, const RuntimeMethod* method) ;
  283. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshPath_CalculateCorners_mFC7D66E9304DE81D6030B3FEB237754DFFFDF548 (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* __this, const RuntimeMethod* method) ;
  284. #ifdef __clang__
  285. #pragma clang diagnostic push
  286. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  287. #pragma clang diagnostic ignored "-Wunused-variable"
  288. #endif
  289. #ifdef __clang__
  290. #pragma clang diagnostic pop
  291. #endif
  292. #ifdef __clang__
  293. #pragma clang diagnostic push
  294. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  295. #pragma clang diagnostic ignored "-Wunused-variable"
  296. #endif
  297. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 NavMeshHit_get_position_m09E8FF6DEF5BFA3F30B3C4BCA4642442FF1BCBF1 (NavMeshHit_t6323FC1F2D00E24FBFFC3E27C2F349A3BAD16F8B* __this, const RuntimeMethod* method)
  298. {
  299. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
  300. memset((&V_0), 0, sizeof(V_0));
  301. {
  302. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___m_Position;
  303. V_0 = L_0;
  304. goto IL_000a;
  305. }
  306. IL_000a:
  307. {
  308. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
  309. return L_1;
  310. }
  311. }
  312. IL2CPP_EXTERN_C Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 NavMeshHit_get_position_m09E8FF6DEF5BFA3F30B3C4BCA4642442FF1BCBF1_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
  313. {
  314. NavMeshHit_t6323FC1F2D00E24FBFFC3E27C2F349A3BAD16F8B* _thisAdjusted;
  315. int32_t _offset = 1;
  316. _thisAdjusted = reinterpret_cast<NavMeshHit_t6323FC1F2D00E24FBFFC3E27C2F349A3BAD16F8B*>(__this + _offset);
  317. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 _returnValue;
  318. _returnValue = NavMeshHit_get_position_m09E8FF6DEF5BFA3F30B3C4BCA4642442FF1BCBF1(_thisAdjusted, method);
  319. return _returnValue;
  320. }
  321. #ifdef __clang__
  322. #pragma clang diagnostic pop
  323. #endif
  324. #ifdef __clang__
  325. #pragma clang diagnostic push
  326. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  327. #pragma clang diagnostic ignored "-Wunused-variable"
  328. #endif
  329. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMesh_Internal_CallOnNavMeshPreUpdate_m2A62DB32F5E1435F527AD8A59A882B9F2A193177 (const RuntimeMethod* method)
  330. {
  331. static bool s_Il2CppMethodInitialized;
  332. if (!s_Il2CppMethodInitialized)
  333. {
  334. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavMesh_t3543D236ABB9A67F696BCF9440D669A1578B3D46_il2cpp_TypeInfo_var);
  335. s_Il2CppMethodInitialized = true;
  336. }
  337. bool V_0 = false;
  338. {
  339. OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7* L_0 = ((NavMesh_t3543D236ABB9A67F696BCF9440D669A1578B3D46_StaticFields*)il2cpp_codegen_static_fields_for(NavMesh_t3543D236ABB9A67F696BCF9440D669A1578B3D46_il2cpp_TypeInfo_var))->___onPreUpdate;
  340. V_0 = (bool)((!(((RuntimeObject*)(OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7*)L_0) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
  341. bool L_1 = V_0;
  342. if (!L_1)
  343. {
  344. goto IL_0018;
  345. }
  346. }
  347. {
  348. OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7* L_2 = ((NavMesh_t3543D236ABB9A67F696BCF9440D669A1578B3D46_StaticFields*)il2cpp_codegen_static_fields_for(NavMesh_t3543D236ABB9A67F696BCF9440D669A1578B3D46_il2cpp_TypeInfo_var))->___onPreUpdate;
  349. NullCheck(L_2);
  350. OnNavMeshPreUpdate_Invoke_mFB224B9BBF9C78B7F39AA91A047F175C69897914_inline(L_2, NULL);
  351. }
  352. IL_0018:
  353. {
  354. return;
  355. }
  356. }
  357. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMesh_CalculatePath_m15FF9A2E008A90375072B9293D290D9167E580E9 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_sourcePosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_targetPosition, int32_t ___2_areaMask, NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* ___3_path, const RuntimeMethod* method)
  358. {
  359. bool V_0 = false;
  360. {
  361. NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* L_0 = ___3_path;
  362. NullCheck(L_0);
  363. NavMeshPath_ClearCorners_m8633C3989850C01982EBD3D4BC70E85AF461CE5B(L_0, NULL);
  364. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_sourcePosition;
  365. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_targetPosition;
  366. int32_t L_3 = ___2_areaMask;
  367. NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* L_4 = ___3_path;
  368. bool L_5;
  369. L_5 = NavMesh_CalculatePathInternal_m4463C51C0B2370D61653C4BC002C2A4AB7C5370F(L_1, L_2, L_3, L_4, NULL);
  370. V_0 = L_5;
  371. goto IL_0014;
  372. }
  373. IL_0014:
  374. {
  375. bool L_6 = V_0;
  376. return L_6;
  377. }
  378. }
  379. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMesh_CalculatePathInternal_m4463C51C0B2370D61653C4BC002C2A4AB7C5370F (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_sourcePosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_targetPosition, int32_t ___2_areaMask, NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* ___3_path, const RuntimeMethod* method)
  380. {
  381. {
  382. int32_t L_0 = ___2_areaMask;
  383. NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* L_1 = ___3_path;
  384. bool L_2;
  385. L_2 = NavMesh_CalculatePathInternal_Injected_mA35693202F3421933D42D9DF44F6CB0880E3EEEA((&___0_sourcePosition), (&___1_targetPosition), L_0, L_1, NULL);
  386. return L_2;
  387. }
  388. }
  389. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMesh_SamplePosition_mEDAE8240217EED82B4519D4435E670A1655B2109 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_sourcePosition, NavMeshHit_t6323FC1F2D00E24FBFFC3E27C2F349A3BAD16F8B* ___1_hit, float ___2_maxDistance, int32_t ___3_areaMask, const RuntimeMethod* method)
  390. {
  391. {
  392. NavMeshHit_t6323FC1F2D00E24FBFFC3E27C2F349A3BAD16F8B* L_0 = ___1_hit;
  393. float L_1 = ___2_maxDistance;
  394. int32_t L_2 = ___3_areaMask;
  395. bool L_3;
  396. L_3 = NavMesh_SamplePosition_Injected_m57BB80634365C0545A79CC653FCFECAA1879C6F0((&___0_sourcePosition), L_0, L_1, L_2, NULL);
  397. return L_3;
  398. }
  399. }
  400. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMesh_CalculatePathInternal_Injected_mA35693202F3421933D42D9DF44F6CB0880E3EEEA (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___0_sourcePosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___1_targetPosition, int32_t ___2_areaMask, NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* ___3_path, const RuntimeMethod* method)
  401. {
  402. typedef bool (*NavMesh_CalculatePathInternal_Injected_mA35693202F3421933D42D9DF44F6CB0880E3EEEA_ftn) (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*, int32_t, NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7*);
  403. static NavMesh_CalculatePathInternal_Injected_mA35693202F3421933D42D9DF44F6CB0880E3EEEA_ftn _il2cpp_icall_func;
  404. if (!_il2cpp_icall_func)
  405. _il2cpp_icall_func = (NavMesh_CalculatePathInternal_Injected_mA35693202F3421933D42D9DF44F6CB0880E3EEEA_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AI.NavMesh::CalculatePathInternal_Injected(UnityEngine.Vector3&,UnityEngine.Vector3&,System.Int32,UnityEngine.AI.NavMeshPath)");
  406. bool icallRetVal = _il2cpp_icall_func(___0_sourcePosition, ___1_targetPosition, ___2_areaMask, ___3_path);
  407. return icallRetVal;
  408. }
  409. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMesh_SamplePosition_Injected_m57BB80634365C0545A79CC653FCFECAA1879C6F0 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___0_sourcePosition, NavMeshHit_t6323FC1F2D00E24FBFFC3E27C2F349A3BAD16F8B* ___1_hit, float ___2_maxDistance, int32_t ___3_areaMask, const RuntimeMethod* method)
  410. {
  411. typedef bool (*NavMesh_SamplePosition_Injected_m57BB80634365C0545A79CC653FCFECAA1879C6F0_ftn) (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*, NavMeshHit_t6323FC1F2D00E24FBFFC3E27C2F349A3BAD16F8B*, float, int32_t);
  412. static NavMesh_SamplePosition_Injected_m57BB80634365C0545A79CC653FCFECAA1879C6F0_ftn _il2cpp_icall_func;
  413. if (!_il2cpp_icall_func)
  414. _il2cpp_icall_func = (NavMesh_SamplePosition_Injected_m57BB80634365C0545A79CC653FCFECAA1879C6F0_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AI.NavMesh::SamplePosition_Injected(UnityEngine.Vector3&,UnityEngine.AI.NavMeshHit&,System.Single,System.Int32)");
  415. bool icallRetVal = _il2cpp_icall_func(___0_sourcePosition, ___1_hit, ___2_maxDistance, ___3_areaMask);
  416. return icallRetVal;
  417. }
  418. #ifdef __clang__
  419. #pragma clang diagnostic pop
  420. #endif
  421. #ifdef __clang__
  422. #pragma clang diagnostic push
  423. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  424. #pragma clang diagnostic ignored "-Wunused-variable"
  425. #endif
  426. void OnNavMeshPreUpdate_Invoke_mFB224B9BBF9C78B7F39AA91A047F175C69897914_Multicast(OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7* __this, const RuntimeMethod* method)
  427. {
  428. il2cpp_array_size_t length = __this->___delegates->max_length;
  429. Delegate_t** delegatesToInvoke = reinterpret_cast<Delegate_t**>(__this->___delegates->GetAddressAtUnchecked(0));
  430. for (il2cpp_array_size_t i = 0; i < length; i++)
  431. {
  432. OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7* currentDelegate = reinterpret_cast<OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7*>(delegatesToInvoke[i]);
  433. typedef void (*FunctionPointerType) (RuntimeObject*, const RuntimeMethod*);
  434. ((FunctionPointerType)currentDelegate->___invoke_impl)((Il2CppObject*)currentDelegate->___method_code, reinterpret_cast<RuntimeMethod*>(currentDelegate->___method));
  435. }
  436. }
  437. void OnNavMeshPreUpdate_Invoke_mFB224B9BBF9C78B7F39AA91A047F175C69897914_OpenInst(OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7* __this, const RuntimeMethod* method)
  438. {
  439. typedef void (*FunctionPointerType) (const RuntimeMethod*);
  440. ((FunctionPointerType)__this->___method_ptr)(method);
  441. }
  442. void OnNavMeshPreUpdate_Invoke_mFB224B9BBF9C78B7F39AA91A047F175C69897914_OpenStatic(OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7* __this, const RuntimeMethod* method)
  443. {
  444. typedef void (*FunctionPointerType) (const RuntimeMethod*);
  445. ((FunctionPointerType)__this->___method_ptr)(method);
  446. }
  447. IL2CPP_EXTERN_C void DelegatePInvokeWrapper_OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7 (OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7* __this, const RuntimeMethod* method)
  448. {
  449. typedef void (DEFAULT_CALL *PInvokeFunc)();
  450. PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_reverse_pinvoke_function_ptr(__this));
  451. il2cppPInvokeFunc();
  452. }
  453. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OnNavMeshPreUpdate__ctor_m7142A3AA991BE50B637A16D946AB7604C64EF9BA (OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
  454. {
  455. __this->___method_ptr = (intptr_t)il2cpp_codegen_get_method_pointer((RuntimeMethod*)___1_method);
  456. __this->___method = ___1_method;
  457. __this->___m_target = ___0_object;
  458. Il2CppCodeGenWriteBarrier((void**)(&__this->___m_target), (void*)___0_object);
  459. int parameterCount = il2cpp_codegen_method_parameter_count((RuntimeMethod*)___1_method);
  460. __this->___method_code = (intptr_t)__this;
  461. if (MethodIsStatic((RuntimeMethod*)___1_method))
  462. {
  463. bool isOpen = parameterCount == 0;
  464. if (isOpen)
  465. __this->___invoke_impl = (intptr_t)&OnNavMeshPreUpdate_Invoke_mFB224B9BBF9C78B7F39AA91A047F175C69897914_OpenStatic;
  466. else
  467. {
  468. __this->___invoke_impl = __this->___method_ptr;
  469. __this->___method_code = (intptr_t)__this->___m_target;
  470. }
  471. }
  472. else
  473. {
  474. if (___0_object == NULL)
  475. il2cpp_codegen_raise_exception(il2cpp_codegen_get_argument_exception(NULL, "Delegate to an instance method cannot have null 'this'."), NULL);
  476. __this->___invoke_impl = __this->___method_ptr;
  477. __this->___method_code = (intptr_t)__this->___m_target;
  478. }
  479. __this->___extra_arg = (intptr_t)&OnNavMeshPreUpdate_Invoke_mFB224B9BBF9C78B7F39AA91A047F175C69897914_Multicast;
  480. }
  481. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OnNavMeshPreUpdate_Invoke_mFB224B9BBF9C78B7F39AA91A047F175C69897914 (OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7* __this, const RuntimeMethod* method)
  482. {
  483. typedef void (*FunctionPointerType) (RuntimeObject*, const RuntimeMethod*);
  484. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, reinterpret_cast<RuntimeMethod*>(__this->___method));
  485. }
  486. #ifdef __clang__
  487. #pragma clang diagnostic pop
  488. #endif
  489. #ifdef __clang__
  490. #pragma clang diagnostic push
  491. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  492. #pragma clang diagnostic ignored "-Wunused-variable"
  493. #endif
  494. #ifdef __clang__
  495. #pragma clang diagnostic pop
  496. #endif
  497. #ifdef __clang__
  498. #pragma clang diagnostic push
  499. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  500. #pragma clang diagnostic ignored "-Wunused-variable"
  501. #endif
  502. IL2CPP_EXTERN_C void NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshal_pinvoke(const NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7& unmarshaled, NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshaled_pinvoke& marshaled)
  503. {
  504. marshaled.___m_Ptr = unmarshaled.___m_Ptr;
  505. if (unmarshaled.___m_Corners != NULL)
  506. {
  507. il2cpp_array_size_t _unmarshaledm_Corners_Length = (unmarshaled.___m_Corners)->max_length;
  508. marshaled.___m_Corners = il2cpp_codegen_marshal_allocate_array<Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2>(_unmarshaledm_Corners_Length);
  509. for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_unmarshaledm_Corners_Length); i++)
  510. {
  511. (marshaled.___m_Corners)[i] = (unmarshaled.___m_Corners)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
  512. }
  513. }
  514. else
  515. {
  516. marshaled.___m_Corners = NULL;
  517. }
  518. }
  519. IL2CPP_EXTERN_C void NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshal_pinvoke_back(const NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshaled_pinvoke& marshaled, NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7& unmarshaled)
  520. {
  521. static bool s_Il2CppMethodInitialized;
  522. if (!s_Il2CppMethodInitialized)
  523. {
  524. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
  525. s_Il2CppMethodInitialized = true;
  526. }
  527. intptr_t unmarshaledm_Ptr_temp_0;
  528. memset((&unmarshaledm_Ptr_temp_0), 0, sizeof(unmarshaledm_Ptr_temp_0));
  529. unmarshaledm_Ptr_temp_0 = marshaled.___m_Ptr;
  530. unmarshaled.___m_Ptr = unmarshaledm_Ptr_temp_0;
  531. if (marshaled.___m_Corners != NULL)
  532. {
  533. if (unmarshaled.___m_Corners == NULL)
  534. {
  535. unmarshaled.___m_Corners = reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1));
  536. Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___m_Corners), (void*)reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1)));
  537. }
  538. il2cpp_array_size_t _arrayLength = (unmarshaled.___m_Corners)->max_length;
  539. for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_arrayLength); i++)
  540. {
  541. (unmarshaled.___m_Corners)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___m_Corners)[i]);
  542. }
  543. }
  544. }
  545. IL2CPP_EXTERN_C void NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshal_pinvoke_cleanup(NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshaled_pinvoke& marshaled)
  546. {
  547. if (marshaled.___m_Corners != NULL)
  548. {
  549. il2cpp_codegen_marshal_free(marshaled.___m_Corners);
  550. marshaled.___m_Corners = NULL;
  551. }
  552. }
  553. IL2CPP_EXTERN_C void NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshal_com(const NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7& unmarshaled, NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshaled_com& marshaled)
  554. {
  555. marshaled.___m_Ptr = unmarshaled.___m_Ptr;
  556. if (unmarshaled.___m_Corners != NULL)
  557. {
  558. il2cpp_array_size_t _unmarshaledm_Corners_Length = (unmarshaled.___m_Corners)->max_length;
  559. marshaled.___m_Corners = il2cpp_codegen_marshal_allocate_array<Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2>(_unmarshaledm_Corners_Length);
  560. for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_unmarshaledm_Corners_Length); i++)
  561. {
  562. (marshaled.___m_Corners)[i] = (unmarshaled.___m_Corners)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
  563. }
  564. }
  565. else
  566. {
  567. marshaled.___m_Corners = NULL;
  568. }
  569. }
  570. IL2CPP_EXTERN_C void NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshal_com_back(const NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshaled_com& marshaled, NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7& unmarshaled)
  571. {
  572. static bool s_Il2CppMethodInitialized;
  573. if (!s_Il2CppMethodInitialized)
  574. {
  575. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
  576. s_Il2CppMethodInitialized = true;
  577. }
  578. intptr_t unmarshaledm_Ptr_temp_0;
  579. memset((&unmarshaledm_Ptr_temp_0), 0, sizeof(unmarshaledm_Ptr_temp_0));
  580. unmarshaledm_Ptr_temp_0 = marshaled.___m_Ptr;
  581. unmarshaled.___m_Ptr = unmarshaledm_Ptr_temp_0;
  582. if (marshaled.___m_Corners != NULL)
  583. {
  584. if (unmarshaled.___m_Corners == NULL)
  585. {
  586. unmarshaled.___m_Corners = reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1));
  587. Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___m_Corners), (void*)reinterpret_cast<Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*>((Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, 1)));
  588. }
  589. il2cpp_array_size_t _arrayLength = (unmarshaled.___m_Corners)->max_length;
  590. for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_arrayLength); i++)
  591. {
  592. (unmarshaled.___m_Corners)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___m_Corners)[i]);
  593. }
  594. }
  595. }
  596. IL2CPP_EXTERN_C void NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshal_com_cleanup(NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7_marshaled_com& marshaled)
  597. {
  598. if (marshaled.___m_Corners != NULL)
  599. {
  600. il2cpp_codegen_marshal_free(marshaled.___m_Corners);
  601. marshaled.___m_Corners = NULL;
  602. }
  603. }
  604. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshPath__ctor_mEA40BFC2492814FFC97A71C3AEC2154A9415C37F (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* __this, const RuntimeMethod* method)
  605. {
  606. {
  607. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  608. intptr_t L_0;
  609. L_0 = NavMeshPath_InitializeNavMeshPath_m14652B99A3EFB12B428AC2C959A629EE906DE5F1(NULL);
  610. __this->___m_Ptr = L_0;
  611. return;
  612. }
  613. }
  614. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshPath_Finalize_mB151BFBD5D7E65C343415B6B332A58504F12AF77 (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* __this, const RuntimeMethod* method)
  615. {
  616. {
  617. }
  618. {
  619. auto __finallyBlock = il2cpp::utils::Finally([&]
  620. {
  621. FINALLY_001b:
  622. {
  623. Object_Finalize_mC98C96301CCABFE00F1A7EF8E15DF507CACD42B2(__this, NULL);
  624. return;
  625. }
  626. });
  627. try
  628. {
  629. intptr_t L_0 = __this->___m_Ptr;
  630. NavMeshPath_DestroyNavMeshPath_mAB640913E8A9F1BE03EF9103FF34D5F4C5EBE3F7(L_0, NULL);
  631. __this->___m_Ptr = 0;
  632. goto IL_0023;
  633. }
  634. catch(Il2CppExceptionWrapper& e)
  635. {
  636. __finallyBlock.StoreException(e.ex);
  637. }
  638. }
  639. IL_0023:
  640. {
  641. return;
  642. }
  643. }
  644. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t NavMeshPath_InitializeNavMeshPath_m14652B99A3EFB12B428AC2C959A629EE906DE5F1 (const RuntimeMethod* method)
  645. {
  646. typedef intptr_t (*NavMeshPath_InitializeNavMeshPath_m14652B99A3EFB12B428AC2C959A629EE906DE5F1_ftn) ();
  647. static NavMeshPath_InitializeNavMeshPath_m14652B99A3EFB12B428AC2C959A629EE906DE5F1_ftn _il2cpp_icall_func;
  648. if (!_il2cpp_icall_func)
  649. _il2cpp_icall_func = (NavMeshPath_InitializeNavMeshPath_m14652B99A3EFB12B428AC2C959A629EE906DE5F1_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AI.NavMeshPath::InitializeNavMeshPath()");
  650. intptr_t icallRetVal = _il2cpp_icall_func();
  651. return icallRetVal;
  652. }
  653. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshPath_DestroyNavMeshPath_mAB640913E8A9F1BE03EF9103FF34D5F4C5EBE3F7 (intptr_t ___0_ptr, const RuntimeMethod* method)
  654. {
  655. typedef void (*NavMeshPath_DestroyNavMeshPath_mAB640913E8A9F1BE03EF9103FF34D5F4C5EBE3F7_ftn) (intptr_t);
  656. static NavMeshPath_DestroyNavMeshPath_mAB640913E8A9F1BE03EF9103FF34D5F4C5EBE3F7_ftn _il2cpp_icall_func;
  657. if (!_il2cpp_icall_func)
  658. _il2cpp_icall_func = (NavMeshPath_DestroyNavMeshPath_mAB640913E8A9F1BE03EF9103FF34D5F4C5EBE3F7_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AI.NavMeshPath::DestroyNavMeshPath(System.IntPtr)");
  659. _il2cpp_icall_func(___0_ptr);
  660. }
  661. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* NavMeshPath_CalculateCornersInternal_m59C910C60F8C28D4E387C93B299B7D3F76213850 (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* __this, const RuntimeMethod* method)
  662. {
  663. typedef Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* (*NavMeshPath_CalculateCornersInternal_m59C910C60F8C28D4E387C93B299B7D3F76213850_ftn) (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7*);
  664. static NavMeshPath_CalculateCornersInternal_m59C910C60F8C28D4E387C93B299B7D3F76213850_ftn _il2cpp_icall_func;
  665. if (!_il2cpp_icall_func)
  666. _il2cpp_icall_func = (NavMeshPath_CalculateCornersInternal_m59C910C60F8C28D4E387C93B299B7D3F76213850_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AI.NavMeshPath::CalculateCornersInternal()");
  667. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* icallRetVal = _il2cpp_icall_func(__this);
  668. return icallRetVal;
  669. }
  670. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshPath_ClearCornersInternal_m2310C5CB9B4EB2B3C4685476B2CF8440ED369606 (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* __this, const RuntimeMethod* method)
  671. {
  672. typedef void (*NavMeshPath_ClearCornersInternal_m2310C5CB9B4EB2B3C4685476B2CF8440ED369606_ftn) (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7*);
  673. static NavMeshPath_ClearCornersInternal_m2310C5CB9B4EB2B3C4685476B2CF8440ED369606_ftn _il2cpp_icall_func;
  674. if (!_il2cpp_icall_func)
  675. _il2cpp_icall_func = (NavMeshPath_ClearCornersInternal_m2310C5CB9B4EB2B3C4685476B2CF8440ED369606_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AI.NavMeshPath::ClearCornersInternal()");
  676. _il2cpp_icall_func(__this);
  677. }
  678. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshPath_ClearCorners_m8633C3989850C01982EBD3D4BC70E85AF461CE5B (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* __this, const RuntimeMethod* method)
  679. {
  680. {
  681. NavMeshPath_ClearCornersInternal_m2310C5CB9B4EB2B3C4685476B2CF8440ED369606(__this, NULL);
  682. __this->___m_Corners = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)NULL;
  683. Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Corners), (void*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)NULL);
  684. return;
  685. }
  686. }
  687. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshPath_CalculateCorners_mFC7D66E9304DE81D6030B3FEB237754DFFFDF548 (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* __this, const RuntimeMethod* method)
  688. {
  689. bool V_0 = false;
  690. {
  691. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_0 = __this->___m_Corners;
  692. V_0 = (bool)((((RuntimeObject*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)L_0) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
  693. bool L_1 = V_0;
  694. if (!L_1)
  695. {
  696. goto IL_001a;
  697. }
  698. }
  699. {
  700. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_2;
  701. L_2 = NavMeshPath_CalculateCornersInternal_m59C910C60F8C28D4E387C93B299B7D3F76213850(__this, NULL);
  702. __this->___m_Corners = L_2;
  703. Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Corners), (void*)L_2);
  704. }
  705. IL_001a:
  706. {
  707. return;
  708. }
  709. }
  710. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* NavMeshPath_get_corners_m469237DE430A001BE7050BEF5D05A20B94D76F3E (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* __this, const RuntimeMethod* method)
  711. {
  712. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_0 = NULL;
  713. {
  714. NavMeshPath_CalculateCorners_mFC7D66E9304DE81D6030B3FEB237754DFFFDF548(__this, NULL);
  715. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_0 = __this->___m_Corners;
  716. V_0 = L_0;
  717. goto IL_0011;
  718. }
  719. IL_0011:
  720. {
  721. Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1 = V_0;
  722. return L_1;
  723. }
  724. }
  725. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NavMeshPath_get_status_m63B0AEDA3149C7053987C4D0A02B3FE8B41BD74B (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7* __this, const RuntimeMethod* method)
  726. {
  727. typedef int32_t (*NavMeshPath_get_status_m63B0AEDA3149C7053987C4D0A02B3FE8B41BD74B_ftn) (NavMeshPath_tC77ABF4A25FC0F0A94E8A70E304E114FE690A3A7*);
  728. static NavMeshPath_get_status_m63B0AEDA3149C7053987C4D0A02B3FE8B41BD74B_ftn _il2cpp_icall_func;
  729. if (!_il2cpp_icall_func)
  730. _il2cpp_icall_func = (NavMeshPath_get_status_m63B0AEDA3149C7053987C4D0A02B3FE8B41BD74B_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AI.NavMeshPath::get_status()");
  731. int32_t icallRetVal = _il2cpp_icall_func(__this);
  732. return icallRetVal;
  733. }
  734. #ifdef __clang__
  735. #pragma clang diagnostic pop
  736. #endif
  737. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void OnNavMeshPreUpdate_Invoke_mFB224B9BBF9C78B7F39AA91A047F175C69897914_inline (OnNavMeshPreUpdate_t332BD19DBCB087D7DE3F4F48C1E8F6A4EAB691C7* __this, const RuntimeMethod* method)
  738. {
  739. typedef void (*FunctionPointerType) (RuntimeObject*, const RuntimeMethod*);
  740. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, reinterpret_cast<RuntimeMethod*>(__this->___method));
  741. }