暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UnityEngine.InputModule.cpp 36KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849
  1. #include "pch-cpp.hpp"
  2. struct Action_1_tC926860F20D428DA3E93D6FBA36420E904DD903B;
  3. struct Action_1_t7797D4D8783204B10C3D28B96B049C48276C3B1B;
  4. struct Action_2_tF55503802357CB8A9E95ED4B00CEEEE6BDEC9166;
  5. struct Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6;
  6. struct Func_2_t1C8F983F9A1AA802D45E89037E2AA7ACD1094821;
  7. struct Func_2_t880CA675AE5D39E081BEEF14DC092D82674DE4F2;
  8. struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
  9. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  10. struct Delegate_t;
  11. struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
  12. struct MethodInfo_t;
  13. struct NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495;
  14. struct String_t;
  15. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  16. IL2CPP_EXTERN_C RuntimeClass* NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var;
  17. struct Delegate_t_marshaled_com;
  18. struct Delegate_t_marshaled_pinvoke;
  19. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  20. IL2CPP_EXTERN_C_BEGIN
  21. IL2CPP_EXTERN_C_END
  22. #ifdef __clang__
  23. #pragma clang diagnostic push
  24. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  25. #pragma clang diagnostic ignored "-Wunused-variable"
  26. #endif
  27. struct U3CModuleU3E_tE7BE147157D59625477C35248C6A6C59EA2900FB
  28. {
  29. };
  30. struct NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE : public RuntimeObject
  31. {
  32. };
  33. struct String_t : public RuntimeObject
  34. {
  35. int32_t ____stringLength;
  36. Il2CppChar ____firstChar;
  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 Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
  52. {
  53. double ___m_value;
  54. };
  55. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
  56. {
  57. };
  58. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
  59. {
  60. };
  61. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
  62. {
  63. };
  64. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  65. {
  66. int32_t ___m_value;
  67. };
  68. struct Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3
  69. {
  70. int64_t ___m_value;
  71. };
  72. struct IntPtr_t
  73. {
  74. void* ___m_value;
  75. };
  76. #pragma pack(push, tp, 1)
  77. struct NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD
  78. {
  79. union
  80. {
  81. struct
  82. {
  83. union
  84. {
  85. #pragma pack(push, tp, 1)
  86. struct
  87. {
  88. void* ___eventBuffer;
  89. };
  90. #pragma pack(pop, tp)
  91. #pragma pack(push, tp, 1)
  92. struct
  93. {
  94. void* ___eventBuffer_forAlignmentOnly;
  95. };
  96. #pragma pack(pop, tp)
  97. #pragma pack(push, tp, 1)
  98. struct
  99. {
  100. char ___eventCount_OffsetPadding[8];
  101. int32_t ___eventCount;
  102. };
  103. #pragma pack(pop, tp)
  104. #pragma pack(push, tp, 1)
  105. struct
  106. {
  107. char ___eventCount_OffsetPadding_forAlignmentOnly[8];
  108. int32_t ___eventCount_forAlignmentOnly;
  109. };
  110. #pragma pack(pop, tp)
  111. #pragma pack(push, tp, 1)
  112. struct
  113. {
  114. char ___sizeInBytes_OffsetPadding[12];
  115. int32_t ___sizeInBytes;
  116. };
  117. #pragma pack(pop, tp)
  118. #pragma pack(push, tp, 1)
  119. struct
  120. {
  121. char ___sizeInBytes_OffsetPadding_forAlignmentOnly[12];
  122. int32_t ___sizeInBytes_forAlignmentOnly;
  123. };
  124. #pragma pack(pop, tp)
  125. #pragma pack(push, tp, 1)
  126. struct
  127. {
  128. char ___capacityInBytes_OffsetPadding[16];
  129. int32_t ___capacityInBytes;
  130. };
  131. #pragma pack(pop, tp)
  132. #pragma pack(push, tp, 1)
  133. struct
  134. {
  135. char ___capacityInBytes_OffsetPadding_forAlignmentOnly[16];
  136. int32_t ___capacityInBytes_forAlignmentOnly;
  137. };
  138. #pragma pack(pop, tp)
  139. };
  140. };
  141. uint8_t NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD__padding[20];
  142. };
  143. };
  144. #pragma pack(pop, tp)
  145. struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
  146. {
  147. float ___m_value;
  148. };
  149. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  150. {
  151. union
  152. {
  153. struct
  154. {
  155. };
  156. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  157. };
  158. };
  159. struct Delegate_t : public RuntimeObject
  160. {
  161. intptr_t ___method_ptr;
  162. intptr_t ___invoke_impl;
  163. RuntimeObject* ___m_target;
  164. intptr_t ___method;
  165. intptr_t ___delegate_trampoline;
  166. intptr_t ___extra_arg;
  167. intptr_t ___method_code;
  168. intptr_t ___interp_method;
  169. intptr_t ___interp_invoke_impl;
  170. MethodInfo_t* ___method_info;
  171. MethodInfo_t* ___original_method_info;
  172. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  173. bool ___method_is_virtual;
  174. };
  175. struct Delegate_t_marshaled_pinvoke
  176. {
  177. intptr_t ___method_ptr;
  178. intptr_t ___invoke_impl;
  179. Il2CppIUnknown* ___m_target;
  180. intptr_t ___method;
  181. intptr_t ___delegate_trampoline;
  182. intptr_t ___extra_arg;
  183. intptr_t ___method_code;
  184. intptr_t ___interp_method;
  185. intptr_t ___interp_invoke_impl;
  186. MethodInfo_t* ___method_info;
  187. MethodInfo_t* ___original_method_info;
  188. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  189. int32_t ___method_is_virtual;
  190. };
  191. struct Delegate_t_marshaled_com
  192. {
  193. intptr_t ___method_ptr;
  194. intptr_t ___invoke_impl;
  195. Il2CppIUnknown* ___m_target;
  196. intptr_t ___method;
  197. intptr_t ___delegate_trampoline;
  198. intptr_t ___extra_arg;
  199. intptr_t ___method_code;
  200. intptr_t ___interp_method;
  201. intptr_t ___interp_invoke_impl;
  202. MethodInfo_t* ___method_info;
  203. MethodInfo_t* ___original_method_info;
  204. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  205. int32_t ___method_is_virtual;
  206. };
  207. struct Int32Enum_tCBAC8BA2BFF3A845FA599F303093BBBA374B6F0C
  208. {
  209. int32_t ___value__;
  210. };
  211. struct NativeInputEventType_t622584116C97356073253408636FA50ECAA9853B
  212. {
  213. int32_t ___value__;
  214. };
  215. struct NativeInputUpdateType_tBF672D1AE8F85E9FFC0D44EF6BD5FB96B5C9ACE8
  216. {
  217. int32_t ___value__;
  218. };
  219. struct MulticastDelegate_t : public Delegate_t
  220. {
  221. DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates;
  222. };
  223. struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
  224. {
  225. Delegate_t_marshaled_pinvoke** ___delegates;
  226. };
  227. struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
  228. {
  229. Delegate_t_marshaled_com** ___delegates;
  230. };
  231. #pragma pack(push, tp, 1)
  232. struct NativeInputEvent_tDE7DE9A48ACA442A8D37E2920836D00C26408CB8
  233. {
  234. union
  235. {
  236. struct
  237. {
  238. union
  239. {
  240. #pragma pack(push, tp, 1)
  241. struct
  242. {
  243. int32_t ___type;
  244. };
  245. #pragma pack(pop, tp)
  246. #pragma pack(push, tp, 1)
  247. struct
  248. {
  249. int32_t ___type_forAlignmentOnly;
  250. };
  251. #pragma pack(pop, tp)
  252. #pragma pack(push, tp, 1)
  253. struct
  254. {
  255. char ___sizeInBytes_OffsetPadding[4];
  256. uint16_t ___sizeInBytes;
  257. };
  258. #pragma pack(pop, tp)
  259. #pragma pack(push, tp, 1)
  260. struct
  261. {
  262. char ___sizeInBytes_OffsetPadding_forAlignmentOnly[4];
  263. uint16_t ___sizeInBytes_forAlignmentOnly;
  264. };
  265. #pragma pack(pop, tp)
  266. #pragma pack(push, tp, 1)
  267. struct
  268. {
  269. char ___deviceId_OffsetPadding[6];
  270. uint16_t ___deviceId;
  271. };
  272. #pragma pack(pop, tp)
  273. #pragma pack(push, tp, 1)
  274. struct
  275. {
  276. char ___deviceId_OffsetPadding_forAlignmentOnly[6];
  277. uint16_t ___deviceId_forAlignmentOnly;
  278. };
  279. #pragma pack(pop, tp)
  280. #pragma pack(push, tp, 1)
  281. struct
  282. {
  283. char ___time_OffsetPadding[8];
  284. double ___time;
  285. };
  286. #pragma pack(pop, tp)
  287. #pragma pack(push, tp, 1)
  288. struct
  289. {
  290. char ___time_OffsetPadding_forAlignmentOnly[8];
  291. double ___time_forAlignmentOnly;
  292. };
  293. #pragma pack(pop, tp)
  294. #pragma pack(push, tp, 1)
  295. struct
  296. {
  297. char ___eventId_OffsetPadding[16];
  298. int32_t ___eventId;
  299. };
  300. #pragma pack(pop, tp)
  301. #pragma pack(push, tp, 1)
  302. struct
  303. {
  304. char ___eventId_OffsetPadding_forAlignmentOnly[16];
  305. int32_t ___eventId_forAlignmentOnly;
  306. };
  307. #pragma pack(pop, tp)
  308. };
  309. };
  310. uint8_t NativeInputEvent_tDE7DE9A48ACA442A8D37E2920836D00C26408CB8__padding[20];
  311. };
  312. };
  313. #pragma pack(pop, tp)
  314. struct Action_1_tC926860F20D428DA3E93D6FBA36420E904DD903B : public MulticastDelegate_t
  315. {
  316. };
  317. struct Action_1_t7797D4D8783204B10C3D28B96B049C48276C3B1B : public MulticastDelegate_t
  318. {
  319. };
  320. struct Action_2_tF55503802357CB8A9E95ED4B00CEEEE6BDEC9166 : public MulticastDelegate_t
  321. {
  322. };
  323. struct Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6 : public MulticastDelegate_t
  324. {
  325. };
  326. struct Func_2_t1C8F983F9A1AA802D45E89037E2AA7ACD1094821 : public MulticastDelegate_t
  327. {
  328. };
  329. struct Func_2_t880CA675AE5D39E081BEEF14DC092D82674DE4F2 : public MulticastDelegate_t
  330. {
  331. };
  332. struct NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495 : public MulticastDelegate_t
  333. {
  334. };
  335. struct NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_StaticFields
  336. {
  337. NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* ___onUpdate;
  338. Action_1_t7797D4D8783204B10C3D28B96B049C48276C3B1B* ___onBeforeUpdate;
  339. Func_2_t880CA675AE5D39E081BEEF14DC092D82674DE4F2* ___onShouldRunUpdate;
  340. Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6* ___s_OnDeviceDiscoveredCallback;
  341. };
  342. struct String_t_StaticFields
  343. {
  344. String_t* ___Empty;
  345. };
  346. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  347. {
  348. String_t* ___TrueString;
  349. String_t* ___FalseString;
  350. };
  351. struct IntPtr_t_StaticFields
  352. {
  353. intptr_t ___Zero;
  354. };
  355. #ifdef __clang__
  356. #pragma clang diagnostic pop
  357. #endif
  358. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771 : public RuntimeArray
  359. {
  360. ALIGN_FIELD (8) Delegate_t* m_Items[1];
  361. inline Delegate_t* GetAt(il2cpp_array_size_t index) const
  362. {
  363. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  364. return m_Items[index];
  365. }
  366. inline Delegate_t** GetAddressAt(il2cpp_array_size_t index)
  367. {
  368. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  369. return m_Items + index;
  370. }
  371. inline void SetAt(il2cpp_array_size_t index, Delegate_t* value)
  372. {
  373. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  374. m_Items[index] = value;
  375. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  376. }
  377. inline Delegate_t* GetAtUnchecked(il2cpp_array_size_t index) const
  378. {
  379. return m_Items[index];
  380. }
  381. inline Delegate_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
  382. {
  383. return m_Items + index;
  384. }
  385. inline void SetAtUnchecked(il2cpp_array_size_t index, Delegate_t* value)
  386. {
  387. m_Items[index] = value;
  388. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  389. }
  390. };
  391. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_1_Invoke_mBF7DDBCD230E9D28EDF45D3E65F907DE1AE0CCBC_gshared_inline (Action_1_tC926860F20D428DA3E93D6FBA36420E904DD903B* __this, int32_t ___0_obj, const RuntimeMethod* method) ;
  392. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_2_Invoke_m95790D6BE418027E71368AB7D2BF4BFA1AD45AC4_gshared_inline (Action_2_tF55503802357CB8A9E95ED4B00CEEEE6BDEC9166* __this, int32_t ___0_arg1, RuntimeObject* ___1_arg2, const RuntimeMethod* method) ;
  393. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Func_2_Invoke_m095D2006A2DDB336987862DC15A7EFAED53E08EC_gshared_inline (Func_2_t1C8F983F9A1AA802D45E89037E2AA7ACD1094821* __this, int32_t ___0_arg, const RuntimeMethod* method) ;
  394. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeInputSystem_set_hasDeviceDiscoveredCallback_m0979ABC04DBA52617481EDF743D8B48CC089A1C8 (bool ___0_value, const RuntimeMethod* method) ;
  395. inline void Action_1_Invoke_m1AAB217B001E387B4424C54CFB8D5278CFBE4C65_inline (Action_1_t7797D4D8783204B10C3D28B96B049C48276C3B1B* __this, int32_t ___0_obj, const RuntimeMethod* method)
  396. {
  397. (( void (*) (Action_1_t7797D4D8783204B10C3D28B96B049C48276C3B1B*, int32_t, const RuntimeMethod*))Action_1_Invoke_mBF7DDBCD230E9D28EDF45D3E65F907DE1AE0CCBC_gshared_inline)(__this, ___0_obj, method);
  398. }
  399. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void* IntPtr_ToPointer_m1A0612EED3A1C8B8850BE2943CFC42523064B4F6_inline (intptr_t* __this, const RuntimeMethod* method) ;
  400. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void NativeUpdateCallback_Invoke_mC4B7018AE8ED52FB9C6805F65C57A81812D21333_inline (NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* __this, int32_t ___0_updateType, NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD* ___1_buffer, const RuntimeMethod* method) ;
  401. inline void Action_2_Invoke_mD689727D0B27507C2BBDB452C43EC087E02CE401_inline (Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6* __this, int32_t ___0_arg1, String_t* ___1_arg2, const RuntimeMethod* method)
  402. {
  403. (( void (*) (Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6*, int32_t, String_t*, const RuntimeMethod*))Action_2_Invoke_m95790D6BE418027E71368AB7D2BF4BFA1AD45AC4_gshared_inline)(__this, ___0_arg1, ___1_arg2, method);
  404. }
  405. inline bool Func_2_Invoke_m67075A0C8A50189A2501B63347177A0748FFE22C_inline (Func_2_t880CA675AE5D39E081BEEF14DC092D82674DE4F2* __this, int32_t ___0_arg, const RuntimeMethod* method)
  406. {
  407. return (( bool (*) (Func_2_t880CA675AE5D39E081BEEF14DC092D82674DE4F2*, int32_t, const RuntimeMethod*))Func_2_Invoke_m095D2006A2DDB336987862DC15A7EFAED53E08EC_gshared_inline)(__this, ___0_arg, method);
  408. }
  409. #ifdef __clang__
  410. #pragma clang diagnostic push
  411. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  412. #pragma clang diagnostic ignored "-Wunused-variable"
  413. #endif
  414. #ifdef __clang__
  415. #pragma clang diagnostic pop
  416. #endif
  417. #ifdef __clang__
  418. #pragma clang diagnostic push
  419. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  420. #pragma clang diagnostic ignored "-Wunused-variable"
  421. #endif
  422. void NativeUpdateCallback_Invoke_mC4B7018AE8ED52FB9C6805F65C57A81812D21333_Multicast(NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* __this, int32_t ___0_updateType, NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD* ___1_buffer, const RuntimeMethod* method)
  423. {
  424. il2cpp_array_size_t length = __this->___delegates->max_length;
  425. Delegate_t** delegatesToInvoke = reinterpret_cast<Delegate_t**>(__this->___delegates->GetAddressAtUnchecked(0));
  426. for (il2cpp_array_size_t i = 0; i < length; i++)
  427. {
  428. NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* currentDelegate = reinterpret_cast<NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495*>(delegatesToInvoke[i]);
  429. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD*, const RuntimeMethod*);
  430. ((FunctionPointerType)currentDelegate->___invoke_impl)((Il2CppObject*)currentDelegate->___method_code, ___0_updateType, ___1_buffer, reinterpret_cast<RuntimeMethod*>(currentDelegate->___method));
  431. }
  432. }
  433. void NativeUpdateCallback_Invoke_mC4B7018AE8ED52FB9C6805F65C57A81812D21333_OpenInst(NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* __this, int32_t ___0_updateType, NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD* ___1_buffer, const RuntimeMethod* method)
  434. {
  435. typedef void (*FunctionPointerType) (int32_t, NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD*, const RuntimeMethod*);
  436. ((FunctionPointerType)__this->___method_ptr)(___0_updateType, ___1_buffer, method);
  437. }
  438. void NativeUpdateCallback_Invoke_mC4B7018AE8ED52FB9C6805F65C57A81812D21333_OpenStatic(NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* __this, int32_t ___0_updateType, NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD* ___1_buffer, const RuntimeMethod* method)
  439. {
  440. typedef void (*FunctionPointerType) (int32_t, NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD*, const RuntimeMethod*);
  441. ((FunctionPointerType)__this->___method_ptr)(___0_updateType, ___1_buffer, method);
  442. }
  443. IL2CPP_EXTERN_C void DelegatePInvokeWrapper_NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495 (NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* __this, int32_t ___0_updateType, NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD* ___1_buffer, const RuntimeMethod* method)
  444. {
  445. typedef void (DEFAULT_CALL *PInvokeFunc)(int32_t, NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD*);
  446. PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_reverse_pinvoke_function_ptr(__this));
  447. il2cppPInvokeFunc(___0_updateType, ___1_buffer);
  448. }
  449. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeUpdateCallback__ctor_m04FDCD50564E7535FADAFF34BBA83500585A84F5 (NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
  450. {
  451. __this->___method_ptr = (intptr_t)il2cpp_codegen_get_method_pointer((RuntimeMethod*)___1_method);
  452. __this->___method = ___1_method;
  453. __this->___m_target = ___0_object;
  454. Il2CppCodeGenWriteBarrier((void**)(&__this->___m_target), (void*)___0_object);
  455. int parameterCount = il2cpp_codegen_method_parameter_count((RuntimeMethod*)___1_method);
  456. __this->___method_code = (intptr_t)__this;
  457. if (MethodIsStatic((RuntimeMethod*)___1_method))
  458. {
  459. bool isOpen = parameterCount == 2;
  460. if (isOpen)
  461. __this->___invoke_impl = (intptr_t)&NativeUpdateCallback_Invoke_mC4B7018AE8ED52FB9C6805F65C57A81812D21333_OpenStatic;
  462. else
  463. {
  464. __this->___invoke_impl = __this->___method_ptr;
  465. __this->___method_code = (intptr_t)__this->___m_target;
  466. }
  467. }
  468. else
  469. {
  470. if (___0_object == NULL)
  471. il2cpp_codegen_raise_exception(il2cpp_codegen_get_argument_exception(NULL, "Delegate to an instance method cannot have null 'this'."), NULL);
  472. __this->___invoke_impl = __this->___method_ptr;
  473. __this->___method_code = (intptr_t)__this->___m_target;
  474. }
  475. __this->___extra_arg = (intptr_t)&NativeUpdateCallback_Invoke_mC4B7018AE8ED52FB9C6805F65C57A81812D21333_Multicast;
  476. }
  477. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeUpdateCallback_Invoke_mC4B7018AE8ED52FB9C6805F65C57A81812D21333 (NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* __this, int32_t ___0_updateType, NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD* ___1_buffer, const RuntimeMethod* method)
  478. {
  479. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD*, const RuntimeMethod*);
  480. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_updateType, ___1_buffer, reinterpret_cast<RuntimeMethod*>(__this->___method));
  481. }
  482. #ifdef __clang__
  483. #pragma clang diagnostic pop
  484. #endif
  485. #ifdef __clang__
  486. #pragma clang diagnostic push
  487. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  488. #pragma clang diagnostic ignored "-Wunused-variable"
  489. #endif
  490. #ifdef __clang__
  491. #pragma clang diagnostic pop
  492. #endif
  493. #ifdef __clang__
  494. #pragma clang diagnostic push
  495. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  496. #pragma clang diagnostic ignored "-Wunused-variable"
  497. #endif
  498. #ifdef __clang__
  499. #pragma clang diagnostic pop
  500. #endif
  501. #ifdef __clang__
  502. #pragma clang diagnostic push
  503. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  504. #pragma clang diagnostic ignored "-Wunused-variable"
  505. #endif
  506. #ifdef __clang__
  507. #pragma clang diagnostic pop
  508. #endif
  509. #ifdef __clang__
  510. #pragma clang diagnostic push
  511. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  512. #pragma clang diagnostic ignored "-Wunused-variable"
  513. #endif
  514. #ifdef __clang__
  515. #pragma clang diagnostic pop
  516. #endif
  517. #ifdef __clang__
  518. #pragma clang diagnostic push
  519. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  520. #pragma clang diagnostic ignored "-Wunused-variable"
  521. #endif
  522. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6* NativeInputSystem_get_onDeviceDiscovered_mD55A996A1107331B95C4D9409B8D4C98BADB8FCC (const RuntimeMethod* method)
  523. {
  524. static bool s_Il2CppMethodInitialized;
  525. if (!s_Il2CppMethodInitialized)
  526. {
  527. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var);
  528. s_Il2CppMethodInitialized = true;
  529. }
  530. Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6* V_0 = NULL;
  531. {
  532. il2cpp_codegen_runtime_class_init_inline(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var);
  533. Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6* L_0 = ((NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var))->___s_OnDeviceDiscoveredCallback;
  534. V_0 = L_0;
  535. goto IL_0009;
  536. }
  537. IL_0009:
  538. {
  539. Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6* L_1 = V_0;
  540. return L_1;
  541. }
  542. }
  543. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeInputSystem_set_onDeviceDiscovered_m8DEE711BB866D1C923DA537B7DE62BF03094D855 (Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6* ___0_value, const RuntimeMethod* method)
  544. {
  545. static bool s_Il2CppMethodInitialized;
  546. if (!s_Il2CppMethodInitialized)
  547. {
  548. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var);
  549. s_Il2CppMethodInitialized = true;
  550. }
  551. {
  552. Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6* L_0 = ___0_value;
  553. il2cpp_codegen_runtime_class_init_inline(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var);
  554. ((NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var))->___s_OnDeviceDiscoveredCallback = L_0;
  555. Il2CppCodeGenWriteBarrier((void**)(&((NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var))->___s_OnDeviceDiscoveredCallback), (void*)L_0);
  556. Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6* L_1 = ((NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var))->___s_OnDeviceDiscoveredCallback;
  557. NativeInputSystem_set_hasDeviceDiscoveredCallback_m0979ABC04DBA52617481EDF743D8B48CC089A1C8((bool)((!(((RuntimeObject*)(Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6*)L_1) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0), NULL);
  558. return;
  559. }
  560. }
  561. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeInputSystem__cctor_mADBD6616441651B2AFE2AD8AF64D63DF0BA66693 (const RuntimeMethod* method)
  562. {
  563. {
  564. NativeInputSystem_set_hasDeviceDiscoveredCallback_m0979ABC04DBA52617481EDF743D8B48CC089A1C8((bool)0, NULL);
  565. return;
  566. }
  567. }
  568. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeInputSystem_NotifyBeforeUpdate_m39AE2F1A42BD47200A263AD0EF9EDA5EF4C0042A (int32_t ___0_updateType, const RuntimeMethod* method)
  569. {
  570. static bool s_Il2CppMethodInitialized;
  571. if (!s_Il2CppMethodInitialized)
  572. {
  573. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var);
  574. s_Il2CppMethodInitialized = true;
  575. }
  576. Action_1_t7797D4D8783204B10C3D28B96B049C48276C3B1B* V_0 = NULL;
  577. bool V_1 = false;
  578. {
  579. il2cpp_codegen_runtime_class_init_inline(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var);
  580. Action_1_t7797D4D8783204B10C3D28B96B049C48276C3B1B* L_0 = ((NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var))->___onBeforeUpdate;
  581. V_0 = L_0;
  582. Action_1_t7797D4D8783204B10C3D28B96B049C48276C3B1B* L_1 = V_0;
  583. V_1 = (bool)((!(((RuntimeObject*)(Action_1_t7797D4D8783204B10C3D28B96B049C48276C3B1B*)L_1) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
  584. bool L_2 = V_1;
  585. if (!L_2)
  586. {
  587. goto IL_0017;
  588. }
  589. }
  590. {
  591. Action_1_t7797D4D8783204B10C3D28B96B049C48276C3B1B* L_3 = V_0;
  592. int32_t L_4 = ___0_updateType;
  593. NullCheck(L_3);
  594. Action_1_Invoke_m1AAB217B001E387B4424C54CFB8D5278CFBE4C65_inline(L_3, L_4, NULL);
  595. }
  596. IL_0017:
  597. {
  598. return;
  599. }
  600. }
  601. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeInputSystem_NotifyUpdate_m482599CC17084B0383809F97671530613EA39AD0 (int32_t ___0_updateType, intptr_t ___1_eventBuffer, const RuntimeMethod* method)
  602. {
  603. static bool s_Il2CppMethodInitialized;
  604. if (!s_Il2CppMethodInitialized)
  605. {
  606. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var);
  607. s_Il2CppMethodInitialized = true;
  608. }
  609. NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* V_0 = NULL;
  610. NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD* V_1 = NULL;
  611. bool V_2 = false;
  612. {
  613. il2cpp_codegen_runtime_class_init_inline(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var);
  614. NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* L_0 = ((NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var))->___onUpdate;
  615. V_0 = L_0;
  616. void* L_1;
  617. L_1 = IntPtr_ToPointer_m1A0612EED3A1C8B8850BE2943CFC42523064B4F6_inline((&___1_eventBuffer), NULL);
  618. V_1 = (NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD*)L_1;
  619. NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* L_2 = V_0;
  620. V_2 = (bool)((((RuntimeObject*)(NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495*)L_2) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
  621. bool L_3 = V_2;
  622. if (!L_3)
  623. {
  624. goto IL_0029;
  625. }
  626. }
  627. {
  628. NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD* L_4 = V_1;
  629. NullCheck(L_4);
  630. L_4->___eventCount = 0;
  631. NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD* L_5 = V_1;
  632. NullCheck(L_5);
  633. L_5->___sizeInBytes = 0;
  634. goto IL_0034;
  635. }
  636. IL_0029:
  637. {
  638. NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* L_6 = V_0;
  639. int32_t L_7 = ___0_updateType;
  640. NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD* L_8 = V_1;
  641. NullCheck(L_6);
  642. NativeUpdateCallback_Invoke_mC4B7018AE8ED52FB9C6805F65C57A81812D21333_inline(L_6, L_7, L_8, NULL);
  643. }
  644. IL_0034:
  645. {
  646. return;
  647. }
  648. }
  649. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeInputSystem_NotifyDeviceDiscovered_m861CCAFB4DD314DB3DC58FBD0398800CF9272C03 (int32_t ___0_deviceId, String_t* ___1_deviceDescriptor, const RuntimeMethod* method)
  650. {
  651. static bool s_Il2CppMethodInitialized;
  652. if (!s_Il2CppMethodInitialized)
  653. {
  654. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var);
  655. s_Il2CppMethodInitialized = true;
  656. }
  657. Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6* V_0 = NULL;
  658. bool V_1 = false;
  659. {
  660. il2cpp_codegen_runtime_class_init_inline(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var);
  661. Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6* L_0 = ((NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var))->___s_OnDeviceDiscoveredCallback;
  662. V_0 = L_0;
  663. Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6* L_1 = V_0;
  664. V_1 = (bool)((!(((RuntimeObject*)(Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6*)L_1) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
  665. bool L_2 = V_1;
  666. if (!L_2)
  667. {
  668. goto IL_0018;
  669. }
  670. }
  671. {
  672. Action_2_t6AAF2E215E74E16A4EEF0A0749A4A325D99F5BA6* L_3 = V_0;
  673. int32_t L_4 = ___0_deviceId;
  674. String_t* L_5 = ___1_deviceDescriptor;
  675. NullCheck(L_3);
  676. Action_2_Invoke_mD689727D0B27507C2BBDB452C43EC087E02CE401_inline(L_3, L_4, L_5, NULL);
  677. }
  678. IL_0018:
  679. {
  680. return;
  681. }
  682. }
  683. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeInputSystem_ShouldRunUpdate_m7C9E1201550198D8E1F163787175C86A8B0EE71B (int32_t ___0_updateType, bool* ___1_retval, const RuntimeMethod* method)
  684. {
  685. static bool s_Il2CppMethodInitialized;
  686. if (!s_Il2CppMethodInitialized)
  687. {
  688. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var);
  689. s_Il2CppMethodInitialized = true;
  690. }
  691. Func_2_t880CA675AE5D39E081BEEF14DC092D82674DE4F2* V_0 = NULL;
  692. bool* G_B2_0 = NULL;
  693. bool* G_B1_0 = NULL;
  694. int32_t G_B3_0 = 0;
  695. bool* G_B3_1 = NULL;
  696. {
  697. il2cpp_codegen_runtime_class_init_inline(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var);
  698. Func_2_t880CA675AE5D39E081BEEF14DC092D82674DE4F2* L_0 = ((NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_tCFE5554EBC0D3EE1DAD80FC55CE0DE38A3DDC5EE_il2cpp_TypeInfo_var))->___onShouldRunUpdate;
  699. V_0 = L_0;
  700. bool* L_1 = ___1_retval;
  701. Func_2_t880CA675AE5D39E081BEEF14DC092D82674DE4F2* L_2 = V_0;
  702. if (L_2)
  703. {
  704. G_B2_0 = L_1;
  705. goto IL_000e;
  706. }
  707. G_B1_0 = L_1;
  708. }
  709. {
  710. G_B3_0 = 1;
  711. G_B3_1 = G_B1_0;
  712. goto IL_0015;
  713. }
  714. IL_000e:
  715. {
  716. Func_2_t880CA675AE5D39E081BEEF14DC092D82674DE4F2* L_3 = V_0;
  717. int32_t L_4 = ___0_updateType;
  718. NullCheck(L_3);
  719. bool L_5;
  720. L_5 = Func_2_Invoke_m67075A0C8A50189A2501B63347177A0748FFE22C_inline(L_3, L_4, NULL);
  721. G_B3_0 = ((int32_t)(L_5));
  722. G_B3_1 = G_B2_0;
  723. }
  724. IL_0015:
  725. {
  726. *((int8_t*)G_B3_1) = (int8_t)G_B3_0;
  727. return;
  728. }
  729. }
  730. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeInputSystem_set_hasDeviceDiscoveredCallback_m0979ABC04DBA52617481EDF743D8B48CC089A1C8 (bool ___0_value, const RuntimeMethod* method)
  731. {
  732. typedef void (*NativeInputSystem_set_hasDeviceDiscoveredCallback_m0979ABC04DBA52617481EDF743D8B48CC089A1C8_ftn) (bool);
  733. static NativeInputSystem_set_hasDeviceDiscoveredCallback_m0979ABC04DBA52617481EDF743D8B48CC089A1C8_ftn _il2cpp_icall_func;
  734. if (!_il2cpp_icall_func)
  735. _il2cpp_icall_func = (NativeInputSystem_set_hasDeviceDiscoveredCallback_m0979ABC04DBA52617481EDF743D8B48CC089A1C8_ftn)il2cpp_codegen_resolve_icall ("UnityEngineInternal.Input.NativeInputSystem::set_hasDeviceDiscoveredCallback(System.Boolean)");
  736. _il2cpp_icall_func(___0_value);
  737. }
  738. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double NativeInputSystem_get_currentTime_mB10D8CF832AA53952843986F29675B3BC71AAEC9 (const RuntimeMethod* method)
  739. {
  740. typedef double (*NativeInputSystem_get_currentTime_mB10D8CF832AA53952843986F29675B3BC71AAEC9_ftn) ();
  741. static NativeInputSystem_get_currentTime_mB10D8CF832AA53952843986F29675B3BC71AAEC9_ftn _il2cpp_icall_func;
  742. if (!_il2cpp_icall_func)
  743. _il2cpp_icall_func = (NativeInputSystem_get_currentTime_mB10D8CF832AA53952843986F29675B3BC71AAEC9_ftn)il2cpp_codegen_resolve_icall ("UnityEngineInternal.Input.NativeInputSystem::get_currentTime()");
  744. double icallRetVal = _il2cpp_icall_func();
  745. return icallRetVal;
  746. }
  747. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double NativeInputSystem_get_currentTimeOffsetToRealtimeSinceStartup_mE5FB513F17BBF2FF45494D1939C44DEBF3040B55 (const RuntimeMethod* method)
  748. {
  749. typedef double (*NativeInputSystem_get_currentTimeOffsetToRealtimeSinceStartup_mE5FB513F17BBF2FF45494D1939C44DEBF3040B55_ftn) ();
  750. static NativeInputSystem_get_currentTimeOffsetToRealtimeSinceStartup_mE5FB513F17BBF2FF45494D1939C44DEBF3040B55_ftn _il2cpp_icall_func;
  751. if (!_il2cpp_icall_func)
  752. _il2cpp_icall_func = (NativeInputSystem_get_currentTimeOffsetToRealtimeSinceStartup_mE5FB513F17BBF2FF45494D1939C44DEBF3040B55_ftn)il2cpp_codegen_resolve_icall ("UnityEngineInternal.Input.NativeInputSystem::get_currentTimeOffsetToRealtimeSinceStartup()");
  753. double icallRetVal = _il2cpp_icall_func();
  754. return icallRetVal;
  755. }
  756. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NativeInputSystem_AllocateDeviceId_m0F5EA2F96B8C2DB31D86E14B7F3C34105E6D67BA (const RuntimeMethod* method)
  757. {
  758. typedef int32_t (*NativeInputSystem_AllocateDeviceId_m0F5EA2F96B8C2DB31D86E14B7F3C34105E6D67BA_ftn) ();
  759. static NativeInputSystem_AllocateDeviceId_m0F5EA2F96B8C2DB31D86E14B7F3C34105E6D67BA_ftn _il2cpp_icall_func;
  760. if (!_il2cpp_icall_func)
  761. _il2cpp_icall_func = (NativeInputSystem_AllocateDeviceId_m0F5EA2F96B8C2DB31D86E14B7F3C34105E6D67BA_ftn)il2cpp_codegen_resolve_icall ("UnityEngineInternal.Input.NativeInputSystem::AllocateDeviceId()");
  762. int32_t icallRetVal = _il2cpp_icall_func();
  763. return icallRetVal;
  764. }
  765. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeInputSystem_QueueInputEvent_m9363FC2953D733EA8A3AE58470A90B4767ED0B7B (intptr_t ___0_inputEvent, const RuntimeMethod* method)
  766. {
  767. typedef void (*NativeInputSystem_QueueInputEvent_m9363FC2953D733EA8A3AE58470A90B4767ED0B7B_ftn) (intptr_t);
  768. static NativeInputSystem_QueueInputEvent_m9363FC2953D733EA8A3AE58470A90B4767ED0B7B_ftn _il2cpp_icall_func;
  769. if (!_il2cpp_icall_func)
  770. _il2cpp_icall_func = (NativeInputSystem_QueueInputEvent_m9363FC2953D733EA8A3AE58470A90B4767ED0B7B_ftn)il2cpp_codegen_resolve_icall ("UnityEngineInternal.Input.NativeInputSystem::QueueInputEvent(System.IntPtr)");
  771. _il2cpp_icall_func(___0_inputEvent);
  772. }
  773. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t NativeInputSystem_IOCTL_m11AC7B69197C6214E794B563D48FD60E848901E7 (int32_t ___0_deviceId, int32_t ___1_code, intptr_t ___2_data, int32_t ___3_sizeInBytes, const RuntimeMethod* method)
  774. {
  775. typedef int64_t (*NativeInputSystem_IOCTL_m11AC7B69197C6214E794B563D48FD60E848901E7_ftn) (int32_t, int32_t, intptr_t, int32_t);
  776. static NativeInputSystem_IOCTL_m11AC7B69197C6214E794B563D48FD60E848901E7_ftn _il2cpp_icall_func;
  777. if (!_il2cpp_icall_func)
  778. _il2cpp_icall_func = (NativeInputSystem_IOCTL_m11AC7B69197C6214E794B563D48FD60E848901E7_ftn)il2cpp_codegen_resolve_icall ("UnityEngineInternal.Input.NativeInputSystem::IOCTL(System.Int32,System.Int32,System.IntPtr,System.Int32)");
  779. int64_t icallRetVal = _il2cpp_icall_func(___0_deviceId, ___1_code, ___2_data, ___3_sizeInBytes);
  780. return icallRetVal;
  781. }
  782. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeInputSystem_SetPollingFrequency_mDEF2E1093D0776906BC95CC8E29A143C115910A0 (float ___0_hertz, const RuntimeMethod* method)
  783. {
  784. typedef void (*NativeInputSystem_SetPollingFrequency_mDEF2E1093D0776906BC95CC8E29A143C115910A0_ftn) (float);
  785. static NativeInputSystem_SetPollingFrequency_mDEF2E1093D0776906BC95CC8E29A143C115910A0_ftn _il2cpp_icall_func;
  786. if (!_il2cpp_icall_func)
  787. _il2cpp_icall_func = (NativeInputSystem_SetPollingFrequency_mDEF2E1093D0776906BC95CC8E29A143C115910A0_ftn)il2cpp_codegen_resolve_icall ("UnityEngineInternal.Input.NativeInputSystem::SetPollingFrequency(System.Single)");
  788. _il2cpp_icall_func(___0_hertz);
  789. }
  790. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeInputSystem_Update_m898216ECCA26122D827C2FB45FC4A20296031036 (int32_t ___0_updateType, const RuntimeMethod* method)
  791. {
  792. typedef void (*NativeInputSystem_Update_m898216ECCA26122D827C2FB45FC4A20296031036_ftn) (int32_t);
  793. static NativeInputSystem_Update_m898216ECCA26122D827C2FB45FC4A20296031036_ftn _il2cpp_icall_func;
  794. if (!_il2cpp_icall_func)
  795. _il2cpp_icall_func = (NativeInputSystem_Update_m898216ECCA26122D827C2FB45FC4A20296031036_ftn)il2cpp_codegen_resolve_icall ("UnityEngineInternal.Input.NativeInputSystem::Update(UnityEngineInternal.Input.NativeInputUpdateType)");
  796. _il2cpp_icall_func(___0_updateType);
  797. }
  798. #ifdef __clang__
  799. #pragma clang diagnostic pop
  800. #endif
  801. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void* IntPtr_ToPointer_m1A0612EED3A1C8B8850BE2943CFC42523064B4F6_inline (intptr_t* __this, const RuntimeMethod* method)
  802. {
  803. {
  804. intptr_t L_0 = *__this;
  805. return (void*)(L_0);
  806. }
  807. }
  808. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void NativeUpdateCallback_Invoke_mC4B7018AE8ED52FB9C6805F65C57A81812D21333_inline (NativeUpdateCallback_tC5CA5A9117B79251968A4DA3758552EFE1D37495* __this, int32_t ___0_updateType, NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD* ___1_buffer, const RuntimeMethod* method)
  809. {
  810. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, NativeInputEventBuffer_t4EE5873AD7998E0E83C9F8585C338AB14C9101FD*, const RuntimeMethod*);
  811. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_updateType, ___1_buffer, reinterpret_cast<RuntimeMethod*>(__this->___method));
  812. }
  813. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_1_Invoke_mBF7DDBCD230E9D28EDF45D3E65F907DE1AE0CCBC_gshared_inline (Action_1_tC926860F20D428DA3E93D6FBA36420E904DD903B* __this, int32_t ___0_obj, const RuntimeMethod* method)
  814. {
  815. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, const RuntimeMethod*);
  816. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_obj, reinterpret_cast<RuntimeMethod*>(__this->___method));
  817. }
  818. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_2_Invoke_m95790D6BE418027E71368AB7D2BF4BFA1AD45AC4_gshared_inline (Action_2_tF55503802357CB8A9E95ED4B00CEEEE6BDEC9166* __this, int32_t ___0_arg1, RuntimeObject* ___1_arg2, const RuntimeMethod* method)
  819. {
  820. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, RuntimeObject*, const RuntimeMethod*);
  821. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_arg1, ___1_arg2, reinterpret_cast<RuntimeMethod*>(__this->___method));
  822. }
  823. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Func_2_Invoke_m095D2006A2DDB336987862DC15A7EFAED53E08EC_gshared_inline (Func_2_t1C8F983F9A1AA802D45E89037E2AA7ACD1094821* __this, int32_t ___0_arg, const RuntimeMethod* method)
  824. {
  825. typedef bool (*FunctionPointerType) (RuntimeObject*, int32_t, const RuntimeMethod*);
  826. return ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_arg, reinterpret_cast<RuntimeMethod*>(__this->___method));
  827. }