UnityEngine.InputModule.cpp 36 KB

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