Bulk_UnityEngine.AIModule_0.cpp 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597
  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.AI.NavMesh/OnNavMeshPreUpdate
  56. struct OnNavMeshPreUpdate_t1580782682;
  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* NavMesh_t1865600375_il2cpp_TypeInfo_var;
  68. extern const uint32_t NavMesh_Internal_CallOnNavMeshPreUpdate_m3135297503_MetadataUsageId;
  69. #ifndef RUNTIMEOBJECT_H
  70. #define RUNTIMEOBJECT_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. // System.Object
  77. #ifdef __clang__
  78. #pragma clang diagnostic pop
  79. #endif
  80. #endif // RUNTIMEOBJECT_H
  81. #ifndef U3CMODULEU3E_T692745538_H
  82. #define U3CMODULEU3E_T692745538_H
  83. #ifdef __clang__
  84. #pragma clang diagnostic push
  85. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  86. #pragma clang diagnostic ignored "-Wunused-variable"
  87. #endif
  88. // <Module>
  89. struct U3CModuleU3E_t692745538
  90. {
  91. public:
  92. public:
  93. };
  94. #ifdef __clang__
  95. #pragma clang diagnostic pop
  96. #endif
  97. #endif // U3CMODULEU3E_T692745538_H
  98. #ifndef VALUETYPE_T3640485471_H
  99. #define VALUETYPE_T3640485471_H
  100. #ifdef __clang__
  101. #pragma clang diagnostic push
  102. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  103. #pragma clang diagnostic ignored "-Wunused-variable"
  104. #endif
  105. // System.ValueType
  106. struct ValueType_t3640485471 : public RuntimeObject
  107. {
  108. public:
  109. public:
  110. };
  111. #ifdef __clang__
  112. #pragma clang diagnostic pop
  113. #endif
  114. // Native definition for P/Invoke marshalling of System.ValueType
  115. struct ValueType_t3640485471_marshaled_pinvoke
  116. {
  117. };
  118. // Native definition for COM marshalling of System.ValueType
  119. struct ValueType_t3640485471_marshaled_com
  120. {
  121. };
  122. #endif // VALUETYPE_T3640485471_H
  123. struct Il2CppArrayBounds;
  124. #ifndef RUNTIMEARRAY_H
  125. #define RUNTIMEARRAY_H
  126. #ifdef __clang__
  127. #pragma clang diagnostic push
  128. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  129. #pragma clang diagnostic ignored "-Wunused-variable"
  130. #endif
  131. // System.Array
  132. #ifdef __clang__
  133. #pragma clang diagnostic pop
  134. #endif
  135. #endif // RUNTIMEARRAY_H
  136. #ifndef NAVMESH_T1865600375_H
  137. #define NAVMESH_T1865600375_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. // UnityEngine.AI.NavMesh
  144. struct NavMesh_t1865600375 : public RuntimeObject
  145. {
  146. public:
  147. public:
  148. };
  149. struct NavMesh_t1865600375_StaticFields
  150. {
  151. public:
  152. // UnityEngine.AI.NavMesh/OnNavMeshPreUpdate UnityEngine.AI.NavMesh::onPreUpdate
  153. OnNavMeshPreUpdate_t1580782682 * ___onPreUpdate_0;
  154. public:
  155. inline static int32_t get_offset_of_onPreUpdate_0() { return static_cast<int32_t>(offsetof(NavMesh_t1865600375_StaticFields, ___onPreUpdate_0)); }
  156. inline OnNavMeshPreUpdate_t1580782682 * get_onPreUpdate_0() const { return ___onPreUpdate_0; }
  157. inline OnNavMeshPreUpdate_t1580782682 ** get_address_of_onPreUpdate_0() { return &___onPreUpdate_0; }
  158. inline void set_onPreUpdate_0(OnNavMeshPreUpdate_t1580782682 * value)
  159. {
  160. ___onPreUpdate_0 = value;
  161. Il2CppCodeGenWriteBarrier((&___onPreUpdate_0), value);
  162. }
  163. };
  164. #ifdef __clang__
  165. #pragma clang diagnostic pop
  166. #endif
  167. #endif // NAVMESH_T1865600375_H
  168. #ifndef VOID_T1185182177_H
  169. #define VOID_T1185182177_H
  170. #ifdef __clang__
  171. #pragma clang diagnostic push
  172. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  173. #pragma clang diagnostic ignored "-Wunused-variable"
  174. #endif
  175. // System.Void
  176. struct Void_t1185182177
  177. {
  178. public:
  179. public:
  180. };
  181. #ifdef __clang__
  182. #pragma clang diagnostic pop
  183. #endif
  184. #endif // VOID_T1185182177_H
  185. #ifndef INTPTR_T_H
  186. #define INTPTR_T_H
  187. #ifdef __clang__
  188. #pragma clang diagnostic push
  189. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  190. #pragma clang diagnostic ignored "-Wunused-variable"
  191. #endif
  192. // System.IntPtr
  193. struct IntPtr_t
  194. {
  195. public:
  196. // System.Void* System.IntPtr::m_value
  197. void* ___m_value_0;
  198. public:
  199. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
  200. inline void* get_m_value_0() const { return ___m_value_0; }
  201. inline void** get_address_of_m_value_0() { return &___m_value_0; }
  202. inline void set_m_value_0(void* value)
  203. {
  204. ___m_value_0 = value;
  205. }
  206. };
  207. struct IntPtr_t_StaticFields
  208. {
  209. public:
  210. // System.IntPtr System.IntPtr::Zero
  211. intptr_t ___Zero_1;
  212. public:
  213. inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
  214. inline intptr_t get_Zero_1() const { return ___Zero_1; }
  215. inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
  216. inline void set_Zero_1(intptr_t value)
  217. {
  218. ___Zero_1 = value;
  219. }
  220. };
  221. #ifdef __clang__
  222. #pragma clang diagnostic pop
  223. #endif
  224. #endif // INTPTR_T_H
  225. #ifndef DELEGATE_T1188392813_H
  226. #define DELEGATE_T1188392813_H
  227. #ifdef __clang__
  228. #pragma clang diagnostic push
  229. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  230. #pragma clang diagnostic ignored "-Wunused-variable"
  231. #endif
  232. // System.Delegate
  233. struct Delegate_t1188392813 : public RuntimeObject
  234. {
  235. public:
  236. // System.IntPtr System.Delegate::method_ptr
  237. Il2CppMethodPointer ___method_ptr_0;
  238. // System.IntPtr System.Delegate::invoke_impl
  239. intptr_t ___invoke_impl_1;
  240. // System.Object System.Delegate::m_target
  241. RuntimeObject * ___m_target_2;
  242. // System.IntPtr System.Delegate::method
  243. intptr_t ___method_3;
  244. // System.IntPtr System.Delegate::delegate_trampoline
  245. intptr_t ___delegate_trampoline_4;
  246. // System.IntPtr System.Delegate::method_code
  247. intptr_t ___method_code_5;
  248. // System.Reflection.MethodInfo System.Delegate::method_info
  249. MethodInfo_t * ___method_info_6;
  250. // System.Reflection.MethodInfo System.Delegate::original_method_info
  251. MethodInfo_t * ___original_method_info_7;
  252. // System.DelegateData System.Delegate::data
  253. DelegateData_t1677132599 * ___data_8;
  254. public:
  255. inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_ptr_0)); }
  256. inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
  257. inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
  258. inline void set_method_ptr_0(Il2CppMethodPointer value)
  259. {
  260. ___method_ptr_0 = value;
  261. }
  262. inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___invoke_impl_1)); }
  263. inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
  264. inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
  265. inline void set_invoke_impl_1(intptr_t value)
  266. {
  267. ___invoke_impl_1 = value;
  268. }
  269. inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___m_target_2)); }
  270. inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
  271. inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
  272. inline void set_m_target_2(RuntimeObject * value)
  273. {
  274. ___m_target_2 = value;
  275. Il2CppCodeGenWriteBarrier((&___m_target_2), value);
  276. }
  277. inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_3)); }
  278. inline intptr_t get_method_3() const { return ___method_3; }
  279. inline intptr_t* get_address_of_method_3() { return &___method_3; }
  280. inline void set_method_3(intptr_t value)
  281. {
  282. ___method_3 = value;
  283. }
  284. inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___delegate_trampoline_4)); }
  285. inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
  286. inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
  287. inline void set_delegate_trampoline_4(intptr_t value)
  288. {
  289. ___delegate_trampoline_4 = value;
  290. }
  291. inline static int32_t get_offset_of_method_code_5() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_code_5)); }
  292. inline intptr_t get_method_code_5() const { return ___method_code_5; }
  293. inline intptr_t* get_address_of_method_code_5() { return &___method_code_5; }
  294. inline void set_method_code_5(intptr_t value)
  295. {
  296. ___method_code_5 = value;
  297. }
  298. inline static int32_t get_offset_of_method_info_6() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_info_6)); }
  299. inline MethodInfo_t * get_method_info_6() const { return ___method_info_6; }
  300. inline MethodInfo_t ** get_address_of_method_info_6() { return &___method_info_6; }
  301. inline void set_method_info_6(MethodInfo_t * value)
  302. {
  303. ___method_info_6 = value;
  304. Il2CppCodeGenWriteBarrier((&___method_info_6), value);
  305. }
  306. inline static int32_t get_offset_of_original_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___original_method_info_7)); }
  307. inline MethodInfo_t * get_original_method_info_7() const { return ___original_method_info_7; }
  308. inline MethodInfo_t ** get_address_of_original_method_info_7() { return &___original_method_info_7; }
  309. inline void set_original_method_info_7(MethodInfo_t * value)
  310. {
  311. ___original_method_info_7 = value;
  312. Il2CppCodeGenWriteBarrier((&___original_method_info_7), value);
  313. }
  314. inline static int32_t get_offset_of_data_8() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___data_8)); }
  315. inline DelegateData_t1677132599 * get_data_8() const { return ___data_8; }
  316. inline DelegateData_t1677132599 ** get_address_of_data_8() { return &___data_8; }
  317. inline void set_data_8(DelegateData_t1677132599 * value)
  318. {
  319. ___data_8 = value;
  320. Il2CppCodeGenWriteBarrier((&___data_8), value);
  321. }
  322. };
  323. #ifdef __clang__
  324. #pragma clang diagnostic pop
  325. #endif
  326. #endif // DELEGATE_T1188392813_H
  327. #ifndef MULTICASTDELEGATE_T_H
  328. #define MULTICASTDELEGATE_T_H
  329. #ifdef __clang__
  330. #pragma clang diagnostic push
  331. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  332. #pragma clang diagnostic ignored "-Wunused-variable"
  333. #endif
  334. // System.MulticastDelegate
  335. struct MulticastDelegate_t : public Delegate_t1188392813
  336. {
  337. public:
  338. // System.MulticastDelegate System.MulticastDelegate::prev
  339. MulticastDelegate_t * ___prev_9;
  340. // System.MulticastDelegate System.MulticastDelegate::kpm_next
  341. MulticastDelegate_t * ___kpm_next_10;
  342. public:
  343. inline static int32_t get_offset_of_prev_9() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___prev_9)); }
  344. inline MulticastDelegate_t * get_prev_9() const { return ___prev_9; }
  345. inline MulticastDelegate_t ** get_address_of_prev_9() { return &___prev_9; }
  346. inline void set_prev_9(MulticastDelegate_t * value)
  347. {
  348. ___prev_9 = value;
  349. Il2CppCodeGenWriteBarrier((&___prev_9), value);
  350. }
  351. inline static int32_t get_offset_of_kpm_next_10() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___kpm_next_10)); }
  352. inline MulticastDelegate_t * get_kpm_next_10() const { return ___kpm_next_10; }
  353. inline MulticastDelegate_t ** get_address_of_kpm_next_10() { return &___kpm_next_10; }
  354. inline void set_kpm_next_10(MulticastDelegate_t * value)
  355. {
  356. ___kpm_next_10 = value;
  357. Il2CppCodeGenWriteBarrier((&___kpm_next_10), value);
  358. }
  359. };
  360. #ifdef __clang__
  361. #pragma clang diagnostic pop
  362. #endif
  363. #endif // MULTICASTDELEGATE_T_H
  364. #ifndef ONNAVMESHPREUPDATE_T1580782682_H
  365. #define ONNAVMESHPREUPDATE_T1580782682_H
  366. #ifdef __clang__
  367. #pragma clang diagnostic push
  368. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  369. #pragma clang diagnostic ignored "-Wunused-variable"
  370. #endif
  371. // UnityEngine.AI.NavMesh/OnNavMeshPreUpdate
  372. struct OnNavMeshPreUpdate_t1580782682 : public MulticastDelegate_t
  373. {
  374. public:
  375. public:
  376. };
  377. #ifdef __clang__
  378. #pragma clang diagnostic pop
  379. #endif
  380. #endif // ONNAVMESHPREUPDATE_T1580782682_H
  381. #ifndef ASYNCCALLBACK_T3962456242_H
  382. #define ASYNCCALLBACK_T3962456242_H
  383. #ifdef __clang__
  384. #pragma clang diagnostic push
  385. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  386. #pragma clang diagnostic ignored "-Wunused-variable"
  387. #endif
  388. // System.AsyncCallback
  389. struct AsyncCallback_t3962456242 : public MulticastDelegate_t
  390. {
  391. public:
  392. public:
  393. };
  394. #ifdef __clang__
  395. #pragma clang diagnostic pop
  396. #endif
  397. #endif // ASYNCCALLBACK_T3962456242_H
  398. // System.Void UnityEngine.AI.NavMesh/OnNavMeshPreUpdate::Invoke()
  399. extern "C" IL2CPP_METHOD_ATTR void OnNavMeshPreUpdate_Invoke_m2576853418 (OnNavMeshPreUpdate_t1580782682 * __this, const RuntimeMethod* method);
  400. #ifdef __clang__
  401. #pragma clang diagnostic push
  402. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  403. #pragma clang diagnostic ignored "-Wunused-variable"
  404. #endif
  405. #ifdef __clang__
  406. #pragma clang diagnostic pop
  407. #endif
  408. #ifdef __clang__
  409. #pragma clang diagnostic push
  410. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  411. #pragma clang diagnostic ignored "-Wunused-variable"
  412. #endif
  413. // System.Void UnityEngine.AI.NavMesh::Internal_CallOnNavMeshPreUpdate()
  414. extern "C" IL2CPP_METHOD_ATTR void NavMesh_Internal_CallOnNavMeshPreUpdate_m3135297503 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
  415. {
  416. static bool s_Il2CppMethodInitialized;
  417. if (!s_Il2CppMethodInitialized)
  418. {
  419. il2cpp_codegen_initialize_method (NavMesh_Internal_CallOnNavMeshPreUpdate_m3135297503_MetadataUsageId);
  420. s_Il2CppMethodInitialized = true;
  421. }
  422. {
  423. OnNavMeshPreUpdate_t1580782682 * L_0 = ((NavMesh_t1865600375_StaticFields*)il2cpp_codegen_static_fields_for(NavMesh_t1865600375_il2cpp_TypeInfo_var))->get_onPreUpdate_0();
  424. if (!L_0)
  425. {
  426. goto IL_0015;
  427. }
  428. }
  429. {
  430. OnNavMeshPreUpdate_t1580782682 * L_1 = ((NavMesh_t1865600375_StaticFields*)il2cpp_codegen_static_fields_for(NavMesh_t1865600375_il2cpp_TypeInfo_var))->get_onPreUpdate_0();
  431. NullCheck(L_1);
  432. OnNavMeshPreUpdate_Invoke_m2576853418(L_1, /*hidden argument*/NULL);
  433. }
  434. IL_0015:
  435. {
  436. return;
  437. }
  438. }
  439. #ifdef __clang__
  440. #pragma clang diagnostic pop
  441. #endif
  442. #ifdef __clang__
  443. #pragma clang diagnostic push
  444. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  445. #pragma clang diagnostic ignored "-Wunused-variable"
  446. #endif
  447. extern "C" void DelegatePInvokeWrapper_OnNavMeshPreUpdate_t1580782682 (OnNavMeshPreUpdate_t1580782682 * __this, const RuntimeMethod* method)
  448. {
  449. typedef void (DEFAULT_CALL *PInvokeFunc)();
  450. PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
  451. // Native function invocation
  452. il2cppPInvokeFunc();
  453. }
  454. // System.Void UnityEngine.AI.NavMesh/OnNavMeshPreUpdate::.ctor(System.Object,System.IntPtr)
  455. extern "C" IL2CPP_METHOD_ATTR void OnNavMeshPreUpdate__ctor_m2758342548 (OnNavMeshPreUpdate_t1580782682 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
  456. {
  457. __this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
  458. __this->set_method_3(___method1);
  459. __this->set_m_target_2(___object0);
  460. }
  461. // System.Void UnityEngine.AI.NavMesh/OnNavMeshPreUpdate::Invoke()
  462. extern "C" IL2CPP_METHOD_ATTR void OnNavMeshPreUpdate_Invoke_m2576853418 (OnNavMeshPreUpdate_t1580782682 * __this, const RuntimeMethod* method)
  463. {
  464. if(__this->get_prev_9() != NULL)
  465. {
  466. OnNavMeshPreUpdate_Invoke_m2576853418((OnNavMeshPreUpdate_t1580782682 *)__this->get_prev_9(), method);
  467. }
  468. Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
  469. RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
  470. RuntimeObject* targetThis = __this->get_m_target_2();
  471. il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
  472. bool ___methodIsStatic = MethodIsStatic(targetMethod);
  473. if (___methodIsStatic)
  474. {
  475. if (il2cpp_codegen_method_parameter_count(targetMethod) == 0)
  476. {
  477. // open
  478. {
  479. typedef void (*FunctionPointerType) (RuntimeObject *, const RuntimeMethod*);
  480. ((FunctionPointerType)targetMethodPointer)(NULL, targetMethod);
  481. }
  482. }
  483. else
  484. {
  485. // closed
  486. {
  487. typedef void (*FunctionPointerType) (RuntimeObject *, void*, const RuntimeMethod*);
  488. ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, targetMethod);
  489. }
  490. }
  491. }
  492. else
  493. {
  494. {
  495. // closed
  496. if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
  497. {
  498. if (il2cpp_codegen_method_is_generic_instance(targetMethod))
  499. {
  500. if (il2cpp_codegen_method_is_interface_method(targetMethod))
  501. GenericInterfaceActionInvoker0::Invoke(targetMethod, targetThis);
  502. else
  503. GenericVirtActionInvoker0::Invoke(targetMethod, targetThis);
  504. }
  505. else
  506. {
  507. if (il2cpp_codegen_method_is_interface_method(targetMethod))
  508. InterfaceActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis);
  509. else
  510. VirtActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis);
  511. }
  512. }
  513. else
  514. {
  515. typedef void (*FunctionPointerType) (void*, const RuntimeMethod*);
  516. ((FunctionPointerType)targetMethodPointer)(targetThis, targetMethod);
  517. }
  518. }
  519. }
  520. }
  521. // System.IAsyncResult UnityEngine.AI.NavMesh/OnNavMeshPreUpdate::BeginInvoke(System.AsyncCallback,System.Object)
  522. extern "C" IL2CPP_METHOD_ATTR RuntimeObject* OnNavMeshPreUpdate_BeginInvoke_m973935099 (OnNavMeshPreUpdate_t1580782682 * __this, AsyncCallback_t3962456242 * ___callback0, RuntimeObject * ___object1, const RuntimeMethod* method)
  523. {
  524. void *__d_args[1] = {0};
  525. return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback0, (RuntimeObject*)___object1);
  526. }
  527. // System.Void UnityEngine.AI.NavMesh/OnNavMeshPreUpdate::EndInvoke(System.IAsyncResult)
  528. extern "C" IL2CPP_METHOD_ATTR void OnNavMeshPreUpdate_EndInvoke_m1536959430 (OnNavMeshPreUpdate_t1580782682 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
  529. {
  530. il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
  531. }
  532. #ifdef __clang__
  533. #pragma clang diagnostic pop
  534. #endif