Bulk_UnityEngine.InputModule_0.cpp 53 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381
  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. template <typename T1>
  18. struct VirtActionInvoker1
  19. {
  20. typedef void (*Action)(void*, T1, const RuntimeMethod*);
  21. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
  22. {
  23. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  24. ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
  25. }
  26. };
  27. template <typename T1, typename T2>
  28. struct VirtActionInvoker2
  29. {
  30. typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
  31. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
  32. {
  33. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  34. ((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
  35. }
  36. };
  37. template <typename T1>
  38. struct GenericVirtActionInvoker1
  39. {
  40. typedef void (*Action)(void*, T1, const RuntimeMethod*);
  41. static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
  42. {
  43. VirtualInvokeData invokeData;
  44. il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
  45. ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
  46. }
  47. };
  48. template <typename T1, typename T2>
  49. struct GenericVirtActionInvoker2
  50. {
  51. typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
  52. static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2)
  53. {
  54. VirtualInvokeData invokeData;
  55. il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
  56. ((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
  57. }
  58. };
  59. template <typename T1>
  60. struct InterfaceActionInvoker1
  61. {
  62. typedef void (*Action)(void*, T1, const RuntimeMethod*);
  63. static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
  64. {
  65. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  66. ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
  67. }
  68. };
  69. template <typename T1, typename T2>
  70. struct InterfaceActionInvoker2
  71. {
  72. typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
  73. static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
  74. {
  75. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  76. ((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
  77. }
  78. };
  79. template <typename T1>
  80. struct GenericInterfaceActionInvoker1
  81. {
  82. typedef void (*Action)(void*, T1, const RuntimeMethod*);
  83. static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
  84. {
  85. VirtualInvokeData invokeData;
  86. il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
  87. ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
  88. }
  89. };
  90. template <typename T1, typename T2>
  91. struct GenericInterfaceActionInvoker2
  92. {
  93. typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
  94. static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2)
  95. {
  96. VirtualInvokeData invokeData;
  97. il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
  98. ((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
  99. }
  100. };
  101. // UnityEngineInternal.Input.NativeInputDeviceInfo
  102. struct NativeInputDeviceInfo_t3032009285;
  103. // UnityEngineInternal.Input.NativeDeviceDiscoveredCallback
  104. struct NativeDeviceDiscoveredCallback_t3494240628;
  105. // System.IAsyncResult
  106. struct IAsyncResult_t767004451;
  107. // System.AsyncCallback
  108. struct AsyncCallback_t3962456242;
  109. // UnityEngineInternal.Input.NativeEventCallback
  110. struct NativeEventCallback_t83445637;
  111. // UnityEngineInternal.Input.NativeUpdateCallback
  112. struct NativeUpdateCallback_t2379345390;
  113. // System.Char[]
  114. struct CharU5BU5D_t3528271667;
  115. // System.String
  116. struct String_t;
  117. // System.Void
  118. struct Void_t1185182177;
  119. // System.Reflection.MethodInfo
  120. struct MethodInfo_t;
  121. // System.DelegateData
  122. struct DelegateData_t1677132599;
  123. struct NativeInputDeviceInfo_t3032009285_marshaled_pinvoke;
  124. struct NativeInputDeviceInfo_t3032009285;;
  125. struct NativeInputDeviceInfo_t3032009285_marshaled_pinvoke;;
  126. extern RuntimeClass* NativeInputDeviceInfo_t3032009285_il2cpp_TypeInfo_var;
  127. extern const uint32_t NativeDeviceDiscoveredCallback_BeginInvoke_m2259466034_MetadataUsageId;
  128. extern RuntimeClass* Int32_t2950945753_il2cpp_TypeInfo_var;
  129. extern RuntimeClass* IntPtr_t_il2cpp_TypeInfo_var;
  130. extern const uint32_t NativeEventCallback_BeginInvoke_m1567248734_MetadataUsageId;
  131. extern RuntimeClass* NativeInputSystem_t922881982_il2cpp_TypeInfo_var;
  132. extern const uint32_t NativeInputSystem_NotifyUpdate_m2959317749_MetadataUsageId;
  133. extern const uint32_t NativeInputSystem_NotifyEvents_m2206082579_MetadataUsageId;
  134. extern const uint32_t NativeInputSystem_NotifyDeviceDiscovered_m207573541_MetadataUsageId;
  135. extern RuntimeClass* NativeInputUpdateType_t3942820534_il2cpp_TypeInfo_var;
  136. extern const uint32_t NativeUpdateCallback_BeginInvoke_m1903744170_MetadataUsageId;
  137. #ifndef RUNTIMEOBJECT_H
  138. #define RUNTIMEOBJECT_H
  139. #ifdef __clang__
  140. #pragma clang diagnostic push
  141. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  142. #pragma clang diagnostic ignored "-Wunused-variable"
  143. #endif
  144. // System.Object
  145. #ifdef __clang__
  146. #pragma clang diagnostic pop
  147. #endif
  148. #endif // RUNTIMEOBJECT_H
  149. #ifndef U3CMODULEU3E_T692745543_H
  150. #define U3CMODULEU3E_T692745543_H
  151. #ifdef __clang__
  152. #pragma clang diagnostic push
  153. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  154. #pragma clang diagnostic ignored "-Wunused-variable"
  155. #endif
  156. // <Module>
  157. struct U3CModuleU3E_t692745543
  158. {
  159. public:
  160. public:
  161. };
  162. #ifdef __clang__
  163. #pragma clang diagnostic pop
  164. #endif
  165. #endif // U3CMODULEU3E_T692745543_H
  166. #ifndef STRING_T_H
  167. #define STRING_T_H
  168. #ifdef __clang__
  169. #pragma clang diagnostic push
  170. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  171. #pragma clang diagnostic ignored "-Wunused-variable"
  172. #endif
  173. // System.String
  174. struct String_t : public RuntimeObject
  175. {
  176. public:
  177. // System.Int32 System.String::length
  178. int32_t ___length_0;
  179. // System.Char System.String::start_char
  180. Il2CppChar ___start_char_1;
  181. public:
  182. inline static int32_t get_offset_of_length_0() { return static_cast<int32_t>(offsetof(String_t, ___length_0)); }
  183. inline int32_t get_length_0() const { return ___length_0; }
  184. inline int32_t* get_address_of_length_0() { return &___length_0; }
  185. inline void set_length_0(int32_t value)
  186. {
  187. ___length_0 = value;
  188. }
  189. inline static int32_t get_offset_of_start_char_1() { return static_cast<int32_t>(offsetof(String_t, ___start_char_1)); }
  190. inline Il2CppChar get_start_char_1() const { return ___start_char_1; }
  191. inline Il2CppChar* get_address_of_start_char_1() { return &___start_char_1; }
  192. inline void set_start_char_1(Il2CppChar value)
  193. {
  194. ___start_char_1 = value;
  195. }
  196. };
  197. struct String_t_StaticFields
  198. {
  199. public:
  200. // System.String System.String::Empty
  201. String_t* ___Empty_2;
  202. // System.Char[] System.String::WhiteChars
  203. CharU5BU5D_t3528271667* ___WhiteChars_3;
  204. public:
  205. inline static int32_t get_offset_of_Empty_2() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_2)); }
  206. inline String_t* get_Empty_2() const { return ___Empty_2; }
  207. inline String_t** get_address_of_Empty_2() { return &___Empty_2; }
  208. inline void set_Empty_2(String_t* value)
  209. {
  210. ___Empty_2 = value;
  211. Il2CppCodeGenWriteBarrier((&___Empty_2), value);
  212. }
  213. inline static int32_t get_offset_of_WhiteChars_3() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___WhiteChars_3)); }
  214. inline CharU5BU5D_t3528271667* get_WhiteChars_3() const { return ___WhiteChars_3; }
  215. inline CharU5BU5D_t3528271667** get_address_of_WhiteChars_3() { return &___WhiteChars_3; }
  216. inline void set_WhiteChars_3(CharU5BU5D_t3528271667* value)
  217. {
  218. ___WhiteChars_3 = value;
  219. Il2CppCodeGenWriteBarrier((&___WhiteChars_3), value);
  220. }
  221. };
  222. #ifdef __clang__
  223. #pragma clang diagnostic pop
  224. #endif
  225. #endif // STRING_T_H
  226. #ifndef NATIVEINPUTSYSTEM_T922881982_H
  227. #define NATIVEINPUTSYSTEM_T922881982_H
  228. #ifdef __clang__
  229. #pragma clang diagnostic push
  230. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  231. #pragma clang diagnostic ignored "-Wunused-variable"
  232. #endif
  233. // UnityEngineInternal.Input.NativeInputSystem
  234. struct NativeInputSystem_t922881982 : public RuntimeObject
  235. {
  236. public:
  237. public:
  238. };
  239. struct NativeInputSystem_t922881982_StaticFields
  240. {
  241. public:
  242. // UnityEngineInternal.Input.NativeUpdateCallback UnityEngineInternal.Input.NativeInputSystem::onUpdate
  243. NativeUpdateCallback_t2379345390 * ___onUpdate_0;
  244. // UnityEngineInternal.Input.NativeEventCallback UnityEngineInternal.Input.NativeInputSystem::onEvents
  245. NativeEventCallback_t83445637 * ___onEvents_1;
  246. // UnityEngineInternal.Input.NativeDeviceDiscoveredCallback UnityEngineInternal.Input.NativeInputSystem::s_OnDeviceDiscoveredCallback
  247. NativeDeviceDiscoveredCallback_t3494240628 * ___s_OnDeviceDiscoveredCallback_2;
  248. public:
  249. inline static int32_t get_offset_of_onUpdate_0() { return static_cast<int32_t>(offsetof(NativeInputSystem_t922881982_StaticFields, ___onUpdate_0)); }
  250. inline NativeUpdateCallback_t2379345390 * get_onUpdate_0() const { return ___onUpdate_0; }
  251. inline NativeUpdateCallback_t2379345390 ** get_address_of_onUpdate_0() { return &___onUpdate_0; }
  252. inline void set_onUpdate_0(NativeUpdateCallback_t2379345390 * value)
  253. {
  254. ___onUpdate_0 = value;
  255. Il2CppCodeGenWriteBarrier((&___onUpdate_0), value);
  256. }
  257. inline static int32_t get_offset_of_onEvents_1() { return static_cast<int32_t>(offsetof(NativeInputSystem_t922881982_StaticFields, ___onEvents_1)); }
  258. inline NativeEventCallback_t83445637 * get_onEvents_1() const { return ___onEvents_1; }
  259. inline NativeEventCallback_t83445637 ** get_address_of_onEvents_1() { return &___onEvents_1; }
  260. inline void set_onEvents_1(NativeEventCallback_t83445637 * value)
  261. {
  262. ___onEvents_1 = value;
  263. Il2CppCodeGenWriteBarrier((&___onEvents_1), value);
  264. }
  265. inline static int32_t get_offset_of_s_OnDeviceDiscoveredCallback_2() { return static_cast<int32_t>(offsetof(NativeInputSystem_t922881982_StaticFields, ___s_OnDeviceDiscoveredCallback_2)); }
  266. inline NativeDeviceDiscoveredCallback_t3494240628 * get_s_OnDeviceDiscoveredCallback_2() const { return ___s_OnDeviceDiscoveredCallback_2; }
  267. inline NativeDeviceDiscoveredCallback_t3494240628 ** get_address_of_s_OnDeviceDiscoveredCallback_2() { return &___s_OnDeviceDiscoveredCallback_2; }
  268. inline void set_s_OnDeviceDiscoveredCallback_2(NativeDeviceDiscoveredCallback_t3494240628 * value)
  269. {
  270. ___s_OnDeviceDiscoveredCallback_2 = value;
  271. Il2CppCodeGenWriteBarrier((&___s_OnDeviceDiscoveredCallback_2), value);
  272. }
  273. };
  274. #ifdef __clang__
  275. #pragma clang diagnostic pop
  276. #endif
  277. #endif // NATIVEINPUTSYSTEM_T922881982_H
  278. struct Il2CppArrayBounds;
  279. #ifndef RUNTIMEARRAY_H
  280. #define RUNTIMEARRAY_H
  281. #ifdef __clang__
  282. #pragma clang diagnostic push
  283. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  284. #pragma clang diagnostic ignored "-Wunused-variable"
  285. #endif
  286. // System.Array
  287. #ifdef __clang__
  288. #pragma clang diagnostic pop
  289. #endif
  290. #endif // RUNTIMEARRAY_H
  291. #ifndef VALUETYPE_T3640485471_H
  292. #define VALUETYPE_T3640485471_H
  293. #ifdef __clang__
  294. #pragma clang diagnostic push
  295. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  296. #pragma clang diagnostic ignored "-Wunused-variable"
  297. #endif
  298. // System.ValueType
  299. struct ValueType_t3640485471 : public RuntimeObject
  300. {
  301. public:
  302. public:
  303. };
  304. #ifdef __clang__
  305. #pragma clang diagnostic pop
  306. #endif
  307. // Native definition for P/Invoke marshalling of System.ValueType
  308. struct ValueType_t3640485471_marshaled_pinvoke
  309. {
  310. };
  311. // Native definition for COM marshalling of System.ValueType
  312. struct ValueType_t3640485471_marshaled_com
  313. {
  314. };
  315. #endif // VALUETYPE_T3640485471_H
  316. #ifndef BOOLEAN_T97287965_H
  317. #define BOOLEAN_T97287965_H
  318. #ifdef __clang__
  319. #pragma clang diagnostic push
  320. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  321. #pragma clang diagnostic ignored "-Wunused-variable"
  322. #endif
  323. // System.Boolean
  324. struct Boolean_t97287965
  325. {
  326. public:
  327. // System.Boolean System.Boolean::m_value
  328. bool ___m_value_2;
  329. public:
  330. inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Boolean_t97287965, ___m_value_2)); }
  331. inline bool get_m_value_2() const { return ___m_value_2; }
  332. inline bool* get_address_of_m_value_2() { return &___m_value_2; }
  333. inline void set_m_value_2(bool value)
  334. {
  335. ___m_value_2 = value;
  336. }
  337. };
  338. struct Boolean_t97287965_StaticFields
  339. {
  340. public:
  341. // System.String System.Boolean::FalseString
  342. String_t* ___FalseString_0;
  343. // System.String System.Boolean::TrueString
  344. String_t* ___TrueString_1;
  345. public:
  346. inline static int32_t get_offset_of_FalseString_0() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___FalseString_0)); }
  347. inline String_t* get_FalseString_0() const { return ___FalseString_0; }
  348. inline String_t** get_address_of_FalseString_0() { return &___FalseString_0; }
  349. inline void set_FalseString_0(String_t* value)
  350. {
  351. ___FalseString_0 = value;
  352. Il2CppCodeGenWriteBarrier((&___FalseString_0), value);
  353. }
  354. inline static int32_t get_offset_of_TrueString_1() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___TrueString_1)); }
  355. inline String_t* get_TrueString_1() const { return ___TrueString_1; }
  356. inline String_t** get_address_of_TrueString_1() { return &___TrueString_1; }
  357. inline void set_TrueString_1(String_t* value)
  358. {
  359. ___TrueString_1 = value;
  360. Il2CppCodeGenWriteBarrier((&___TrueString_1), value);
  361. }
  362. };
  363. #ifdef __clang__
  364. #pragma clang diagnostic pop
  365. #endif
  366. #endif // BOOLEAN_T97287965_H
  367. #ifndef ENUM_T4135868527_H
  368. #define ENUM_T4135868527_H
  369. #ifdef __clang__
  370. #pragma clang diagnostic push
  371. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  372. #pragma clang diagnostic ignored "-Wunused-variable"
  373. #endif
  374. // System.Enum
  375. struct Enum_t4135868527 : public ValueType_t3640485471
  376. {
  377. public:
  378. public:
  379. };
  380. struct Enum_t4135868527_StaticFields
  381. {
  382. public:
  383. // System.Char[] System.Enum::split_char
  384. CharU5BU5D_t3528271667* ___split_char_0;
  385. public:
  386. inline static int32_t get_offset_of_split_char_0() { return static_cast<int32_t>(offsetof(Enum_t4135868527_StaticFields, ___split_char_0)); }
  387. inline CharU5BU5D_t3528271667* get_split_char_0() const { return ___split_char_0; }
  388. inline CharU5BU5D_t3528271667** get_address_of_split_char_0() { return &___split_char_0; }
  389. inline void set_split_char_0(CharU5BU5D_t3528271667* value)
  390. {
  391. ___split_char_0 = value;
  392. Il2CppCodeGenWriteBarrier((&___split_char_0), value);
  393. }
  394. };
  395. #ifdef __clang__
  396. #pragma clang diagnostic pop
  397. #endif
  398. // Native definition for P/Invoke marshalling of System.Enum
  399. struct Enum_t4135868527_marshaled_pinvoke
  400. {
  401. };
  402. // Native definition for COM marshalling of System.Enum
  403. struct Enum_t4135868527_marshaled_com
  404. {
  405. };
  406. #endif // ENUM_T4135868527_H
  407. #ifndef INT32_T2950945753_H
  408. #define INT32_T2950945753_H
  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. // System.Int32
  415. struct Int32_t2950945753
  416. {
  417. public:
  418. // System.Int32 System.Int32::m_value
  419. int32_t ___m_value_2;
  420. public:
  421. inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Int32_t2950945753, ___m_value_2)); }
  422. inline int32_t get_m_value_2() const { return ___m_value_2; }
  423. inline int32_t* get_address_of_m_value_2() { return &___m_value_2; }
  424. inline void set_m_value_2(int32_t value)
  425. {
  426. ___m_value_2 = value;
  427. }
  428. };
  429. #ifdef __clang__
  430. #pragma clang diagnostic pop
  431. #endif
  432. #endif // INT32_T2950945753_H
  433. #ifndef NATIVEINPUTDEVICEINFO_T3032009285_H
  434. #define NATIVEINPUTDEVICEINFO_T3032009285_H
  435. #ifdef __clang__
  436. #pragma clang diagnostic push
  437. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  438. #pragma clang diagnostic ignored "-Wunused-variable"
  439. #endif
  440. // UnityEngineInternal.Input.NativeInputDeviceInfo
  441. struct NativeInputDeviceInfo_t3032009285
  442. {
  443. public:
  444. // System.Int32 UnityEngineInternal.Input.NativeInputDeviceInfo::deviceId
  445. int32_t ___deviceId_0;
  446. // System.String UnityEngineInternal.Input.NativeInputDeviceInfo::deviceDescriptor
  447. String_t* ___deviceDescriptor_1;
  448. public:
  449. inline static int32_t get_offset_of_deviceId_0() { return static_cast<int32_t>(offsetof(NativeInputDeviceInfo_t3032009285, ___deviceId_0)); }
  450. inline int32_t get_deviceId_0() const { return ___deviceId_0; }
  451. inline int32_t* get_address_of_deviceId_0() { return &___deviceId_0; }
  452. inline void set_deviceId_0(int32_t value)
  453. {
  454. ___deviceId_0 = value;
  455. }
  456. inline static int32_t get_offset_of_deviceDescriptor_1() { return static_cast<int32_t>(offsetof(NativeInputDeviceInfo_t3032009285, ___deviceDescriptor_1)); }
  457. inline String_t* get_deviceDescriptor_1() const { return ___deviceDescriptor_1; }
  458. inline String_t** get_address_of_deviceDescriptor_1() { return &___deviceDescriptor_1; }
  459. inline void set_deviceDescriptor_1(String_t* value)
  460. {
  461. ___deviceDescriptor_1 = value;
  462. Il2CppCodeGenWriteBarrier((&___deviceDescriptor_1), value);
  463. }
  464. };
  465. #ifdef __clang__
  466. #pragma clang diagnostic pop
  467. #endif
  468. // Native definition for P/Invoke marshalling of UnityEngineInternal.Input.NativeInputDeviceInfo
  469. struct NativeInputDeviceInfo_t3032009285_marshaled_pinvoke
  470. {
  471. int32_t ___deviceId_0;
  472. char* ___deviceDescriptor_1;
  473. };
  474. // Native definition for COM marshalling of UnityEngineInternal.Input.NativeInputDeviceInfo
  475. struct NativeInputDeviceInfo_t3032009285_marshaled_com
  476. {
  477. int32_t ___deviceId_0;
  478. Il2CppChar* ___deviceDescriptor_1;
  479. };
  480. #endif // NATIVEINPUTDEVICEINFO_T3032009285_H
  481. #ifndef VOID_T1185182177_H
  482. #define VOID_T1185182177_H
  483. #ifdef __clang__
  484. #pragma clang diagnostic push
  485. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  486. #pragma clang diagnostic ignored "-Wunused-variable"
  487. #endif
  488. // System.Void
  489. struct Void_t1185182177
  490. {
  491. public:
  492. public:
  493. };
  494. #ifdef __clang__
  495. #pragma clang diagnostic pop
  496. #endif
  497. #endif // VOID_T1185182177_H
  498. #ifndef INTPTR_T_H
  499. #define INTPTR_T_H
  500. #ifdef __clang__
  501. #pragma clang diagnostic push
  502. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  503. #pragma clang diagnostic ignored "-Wunused-variable"
  504. #endif
  505. // System.IntPtr
  506. struct IntPtr_t
  507. {
  508. public:
  509. // System.Void* System.IntPtr::m_value
  510. void* ___m_value_0;
  511. public:
  512. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
  513. inline void* get_m_value_0() const { return ___m_value_0; }
  514. inline void** get_address_of_m_value_0() { return &___m_value_0; }
  515. inline void set_m_value_0(void* value)
  516. {
  517. ___m_value_0 = value;
  518. }
  519. };
  520. struct IntPtr_t_StaticFields
  521. {
  522. public:
  523. // System.IntPtr System.IntPtr::Zero
  524. intptr_t ___Zero_1;
  525. public:
  526. inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
  527. inline intptr_t get_Zero_1() const { return ___Zero_1; }
  528. inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
  529. inline void set_Zero_1(intptr_t value)
  530. {
  531. ___Zero_1 = value;
  532. }
  533. };
  534. #ifdef __clang__
  535. #pragma clang diagnostic pop
  536. #endif
  537. #endif // INTPTR_T_H
  538. #ifndef NATIVEINPUTUPDATETYPE_T3942820534_H
  539. #define NATIVEINPUTUPDATETYPE_T3942820534_H
  540. #ifdef __clang__
  541. #pragma clang diagnostic push
  542. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  543. #pragma clang diagnostic ignored "-Wunused-variable"
  544. #endif
  545. // UnityEngineInternal.Input.NativeInputUpdateType
  546. struct NativeInputUpdateType_t3942820534
  547. {
  548. public:
  549. // System.Int32 UnityEngineInternal.Input.NativeInputUpdateType::value__
  550. int32_t ___value___1;
  551. public:
  552. inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(NativeInputUpdateType_t3942820534, ___value___1)); }
  553. inline int32_t get_value___1() const { return ___value___1; }
  554. inline int32_t* get_address_of_value___1() { return &___value___1; }
  555. inline void set_value___1(int32_t value)
  556. {
  557. ___value___1 = value;
  558. }
  559. };
  560. #ifdef __clang__
  561. #pragma clang diagnostic pop
  562. #endif
  563. #endif // NATIVEINPUTUPDATETYPE_T3942820534_H
  564. #ifndef DELEGATE_T1188392813_H
  565. #define DELEGATE_T1188392813_H
  566. #ifdef __clang__
  567. #pragma clang diagnostic push
  568. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  569. #pragma clang diagnostic ignored "-Wunused-variable"
  570. #endif
  571. // System.Delegate
  572. struct Delegate_t1188392813 : public RuntimeObject
  573. {
  574. public:
  575. // System.IntPtr System.Delegate::method_ptr
  576. Il2CppMethodPointer ___method_ptr_0;
  577. // System.IntPtr System.Delegate::invoke_impl
  578. intptr_t ___invoke_impl_1;
  579. // System.Object System.Delegate::m_target
  580. RuntimeObject * ___m_target_2;
  581. // System.IntPtr System.Delegate::method
  582. intptr_t ___method_3;
  583. // System.IntPtr System.Delegate::delegate_trampoline
  584. intptr_t ___delegate_trampoline_4;
  585. // System.IntPtr System.Delegate::method_code
  586. intptr_t ___method_code_5;
  587. // System.Reflection.MethodInfo System.Delegate::method_info
  588. MethodInfo_t * ___method_info_6;
  589. // System.Reflection.MethodInfo System.Delegate::original_method_info
  590. MethodInfo_t * ___original_method_info_7;
  591. // System.DelegateData System.Delegate::data
  592. DelegateData_t1677132599 * ___data_8;
  593. public:
  594. inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_ptr_0)); }
  595. inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
  596. inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
  597. inline void set_method_ptr_0(Il2CppMethodPointer value)
  598. {
  599. ___method_ptr_0 = value;
  600. }
  601. inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___invoke_impl_1)); }
  602. inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
  603. inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
  604. inline void set_invoke_impl_1(intptr_t value)
  605. {
  606. ___invoke_impl_1 = value;
  607. }
  608. inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___m_target_2)); }
  609. inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
  610. inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
  611. inline void set_m_target_2(RuntimeObject * value)
  612. {
  613. ___m_target_2 = value;
  614. Il2CppCodeGenWriteBarrier((&___m_target_2), value);
  615. }
  616. inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_3)); }
  617. inline intptr_t get_method_3() const { return ___method_3; }
  618. inline intptr_t* get_address_of_method_3() { return &___method_3; }
  619. inline void set_method_3(intptr_t value)
  620. {
  621. ___method_3 = value;
  622. }
  623. inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___delegate_trampoline_4)); }
  624. inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
  625. inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
  626. inline void set_delegate_trampoline_4(intptr_t value)
  627. {
  628. ___delegate_trampoline_4 = value;
  629. }
  630. inline static int32_t get_offset_of_method_code_5() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_code_5)); }
  631. inline intptr_t get_method_code_5() const { return ___method_code_5; }
  632. inline intptr_t* get_address_of_method_code_5() { return &___method_code_5; }
  633. inline void set_method_code_5(intptr_t value)
  634. {
  635. ___method_code_5 = value;
  636. }
  637. inline static int32_t get_offset_of_method_info_6() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_info_6)); }
  638. inline MethodInfo_t * get_method_info_6() const { return ___method_info_6; }
  639. inline MethodInfo_t ** get_address_of_method_info_6() { return &___method_info_6; }
  640. inline void set_method_info_6(MethodInfo_t * value)
  641. {
  642. ___method_info_6 = value;
  643. Il2CppCodeGenWriteBarrier((&___method_info_6), value);
  644. }
  645. inline static int32_t get_offset_of_original_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___original_method_info_7)); }
  646. inline MethodInfo_t * get_original_method_info_7() const { return ___original_method_info_7; }
  647. inline MethodInfo_t ** get_address_of_original_method_info_7() { return &___original_method_info_7; }
  648. inline void set_original_method_info_7(MethodInfo_t * value)
  649. {
  650. ___original_method_info_7 = value;
  651. Il2CppCodeGenWriteBarrier((&___original_method_info_7), value);
  652. }
  653. inline static int32_t get_offset_of_data_8() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___data_8)); }
  654. inline DelegateData_t1677132599 * get_data_8() const { return ___data_8; }
  655. inline DelegateData_t1677132599 ** get_address_of_data_8() { return &___data_8; }
  656. inline void set_data_8(DelegateData_t1677132599 * value)
  657. {
  658. ___data_8 = value;
  659. Il2CppCodeGenWriteBarrier((&___data_8), value);
  660. }
  661. };
  662. #ifdef __clang__
  663. #pragma clang diagnostic pop
  664. #endif
  665. #endif // DELEGATE_T1188392813_H
  666. #ifndef MULTICASTDELEGATE_T_H
  667. #define MULTICASTDELEGATE_T_H
  668. #ifdef __clang__
  669. #pragma clang diagnostic push
  670. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  671. #pragma clang diagnostic ignored "-Wunused-variable"
  672. #endif
  673. // System.MulticastDelegate
  674. struct MulticastDelegate_t : public Delegate_t1188392813
  675. {
  676. public:
  677. // System.MulticastDelegate System.MulticastDelegate::prev
  678. MulticastDelegate_t * ___prev_9;
  679. // System.MulticastDelegate System.MulticastDelegate::kpm_next
  680. MulticastDelegate_t * ___kpm_next_10;
  681. public:
  682. inline static int32_t get_offset_of_prev_9() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___prev_9)); }
  683. inline MulticastDelegate_t * get_prev_9() const { return ___prev_9; }
  684. inline MulticastDelegate_t ** get_address_of_prev_9() { return &___prev_9; }
  685. inline void set_prev_9(MulticastDelegate_t * value)
  686. {
  687. ___prev_9 = value;
  688. Il2CppCodeGenWriteBarrier((&___prev_9), value);
  689. }
  690. inline static int32_t get_offset_of_kpm_next_10() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___kpm_next_10)); }
  691. inline MulticastDelegate_t * get_kpm_next_10() const { return ___kpm_next_10; }
  692. inline MulticastDelegate_t ** get_address_of_kpm_next_10() { return &___kpm_next_10; }
  693. inline void set_kpm_next_10(MulticastDelegate_t * value)
  694. {
  695. ___kpm_next_10 = value;
  696. Il2CppCodeGenWriteBarrier((&___kpm_next_10), value);
  697. }
  698. };
  699. #ifdef __clang__
  700. #pragma clang diagnostic pop
  701. #endif
  702. #endif // MULTICASTDELEGATE_T_H
  703. #ifndef ASYNCCALLBACK_T3962456242_H
  704. #define ASYNCCALLBACK_T3962456242_H
  705. #ifdef __clang__
  706. #pragma clang diagnostic push
  707. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  708. #pragma clang diagnostic ignored "-Wunused-variable"
  709. #endif
  710. // System.AsyncCallback
  711. struct AsyncCallback_t3962456242 : public MulticastDelegate_t
  712. {
  713. public:
  714. public:
  715. };
  716. #ifdef __clang__
  717. #pragma clang diagnostic pop
  718. #endif
  719. #endif // ASYNCCALLBACK_T3962456242_H
  720. #ifndef NATIVEUPDATECALLBACK_T2379345390_H
  721. #define NATIVEUPDATECALLBACK_T2379345390_H
  722. #ifdef __clang__
  723. #pragma clang diagnostic push
  724. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  725. #pragma clang diagnostic ignored "-Wunused-variable"
  726. #endif
  727. // UnityEngineInternal.Input.NativeUpdateCallback
  728. struct NativeUpdateCallback_t2379345390 : public MulticastDelegate_t
  729. {
  730. public:
  731. public:
  732. };
  733. #ifdef __clang__
  734. #pragma clang diagnostic pop
  735. #endif
  736. #endif // NATIVEUPDATECALLBACK_T2379345390_H
  737. #ifndef NATIVEEVENTCALLBACK_T83445637_H
  738. #define NATIVEEVENTCALLBACK_T83445637_H
  739. #ifdef __clang__
  740. #pragma clang diagnostic push
  741. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  742. #pragma clang diagnostic ignored "-Wunused-variable"
  743. #endif
  744. // UnityEngineInternal.Input.NativeEventCallback
  745. struct NativeEventCallback_t83445637 : public MulticastDelegate_t
  746. {
  747. public:
  748. public:
  749. };
  750. #ifdef __clang__
  751. #pragma clang diagnostic pop
  752. #endif
  753. #endif // NATIVEEVENTCALLBACK_T83445637_H
  754. #ifndef NATIVEDEVICEDISCOVEREDCALLBACK_T3494240628_H
  755. #define NATIVEDEVICEDISCOVEREDCALLBACK_T3494240628_H
  756. #ifdef __clang__
  757. #pragma clang diagnostic push
  758. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  759. #pragma clang diagnostic ignored "-Wunused-variable"
  760. #endif
  761. // UnityEngineInternal.Input.NativeDeviceDiscoveredCallback
  762. struct NativeDeviceDiscoveredCallback_t3494240628 : public MulticastDelegate_t
  763. {
  764. public:
  765. public:
  766. };
  767. #ifdef __clang__
  768. #pragma clang diagnostic pop
  769. #endif
  770. #endif // NATIVEDEVICEDISCOVEREDCALLBACK_T3494240628_H
  771. extern "C" void NativeInputDeviceInfo_t3032009285_marshal_pinvoke(const NativeInputDeviceInfo_t3032009285& unmarshaled, NativeInputDeviceInfo_t3032009285_marshaled_pinvoke& marshaled);
  772. extern "C" void NativeInputDeviceInfo_t3032009285_marshal_pinvoke_back(const NativeInputDeviceInfo_t3032009285_marshaled_pinvoke& marshaled, NativeInputDeviceInfo_t3032009285& unmarshaled);
  773. extern "C" void NativeInputDeviceInfo_t3032009285_marshal_pinvoke_cleanup(NativeInputDeviceInfo_t3032009285_marshaled_pinvoke& marshaled);
  774. // System.Void UnityEngineInternal.Input.NativeDeviceDiscoveredCallback::Invoke(UnityEngineInternal.Input.NativeInputDeviceInfo)
  775. extern "C" IL2CPP_METHOD_ATTR void NativeDeviceDiscoveredCallback_Invoke_m2547691835 (NativeDeviceDiscoveredCallback_t3494240628 * __this, NativeInputDeviceInfo_t3032009285 ___deviceInfo0, const RuntimeMethod* method);
  776. // System.Void UnityEngineInternal.Input.NativeEventCallback::Invoke(System.Int32,System.IntPtr)
  777. extern "C" IL2CPP_METHOD_ATTR void NativeEventCallback_Invoke_m3430740557 (NativeEventCallback_t83445637 * __this, int32_t ___eventCount0, intptr_t ___eventData1, const RuntimeMethod* method);
  778. // System.Void UnityEngineInternal.Input.NativeInputSystem::set_hasDeviceDiscoveredCallback(System.Boolean)
  779. extern "C" IL2CPP_METHOD_ATTR void NativeInputSystem_set_hasDeviceDiscoveredCallback_m4093248293 (RuntimeObject * __this /* static, unused */, bool ___value0, const RuntimeMethod* method);
  780. // System.Void UnityEngineInternal.Input.NativeUpdateCallback::Invoke(UnityEngineInternal.Input.NativeInputUpdateType)
  781. extern "C" IL2CPP_METHOD_ATTR void NativeUpdateCallback_Invoke_m2703513789 (NativeUpdateCallback_t2379345390 * __this, int32_t ___updateType0, const RuntimeMethod* method);
  782. #ifdef __clang__
  783. #pragma clang diagnostic push
  784. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  785. #pragma clang diagnostic ignored "-Wunused-variable"
  786. #endif
  787. #ifdef __clang__
  788. #pragma clang diagnostic pop
  789. #endif
  790. #ifdef __clang__
  791. #pragma clang diagnostic push
  792. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  793. #pragma clang diagnostic ignored "-Wunused-variable"
  794. #endif
  795. extern "C" void DelegatePInvokeWrapper_NativeDeviceDiscoveredCallback_t3494240628 (NativeDeviceDiscoveredCallback_t3494240628 * __this, NativeInputDeviceInfo_t3032009285 ___deviceInfo0, const RuntimeMethod* method)
  796. {
  797. typedef void (DEFAULT_CALL *PInvokeFunc)(NativeInputDeviceInfo_t3032009285_marshaled_pinvoke);
  798. PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
  799. // Marshaling of parameter '___deviceInfo0' to native representation
  800. NativeInputDeviceInfo_t3032009285_marshaled_pinvoke ____deviceInfo0_marshaled = {};
  801. NativeInputDeviceInfo_t3032009285_marshal_pinvoke(___deviceInfo0, ____deviceInfo0_marshaled);
  802. // Native function invocation
  803. il2cppPInvokeFunc(____deviceInfo0_marshaled);
  804. // Marshaling cleanup of parameter '___deviceInfo0' native representation
  805. NativeInputDeviceInfo_t3032009285_marshal_pinvoke_cleanup(____deviceInfo0_marshaled);
  806. }
  807. // System.Void UnityEngineInternal.Input.NativeDeviceDiscoveredCallback::.ctor(System.Object,System.IntPtr)
  808. extern "C" IL2CPP_METHOD_ATTR void NativeDeviceDiscoveredCallback__ctor_m3062146467 (NativeDeviceDiscoveredCallback_t3494240628 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
  809. {
  810. __this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
  811. __this->set_method_3(___method1);
  812. __this->set_m_target_2(___object0);
  813. }
  814. // System.Void UnityEngineInternal.Input.NativeDeviceDiscoveredCallback::Invoke(UnityEngineInternal.Input.NativeInputDeviceInfo)
  815. extern "C" IL2CPP_METHOD_ATTR void NativeDeviceDiscoveredCallback_Invoke_m2547691835 (NativeDeviceDiscoveredCallback_t3494240628 * __this, NativeInputDeviceInfo_t3032009285 ___deviceInfo0, const RuntimeMethod* method)
  816. {
  817. if(__this->get_prev_9() != NULL)
  818. {
  819. NativeDeviceDiscoveredCallback_Invoke_m2547691835((NativeDeviceDiscoveredCallback_t3494240628 *)__this->get_prev_9(), ___deviceInfo0, method);
  820. }
  821. Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
  822. RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
  823. RuntimeObject* targetThis = __this->get_m_target_2();
  824. il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
  825. bool ___methodIsStatic = MethodIsStatic(targetMethod);
  826. if (___methodIsStatic)
  827. {
  828. if (il2cpp_codegen_method_parameter_count(targetMethod) == 1)
  829. {
  830. // open
  831. {
  832. typedef void (*FunctionPointerType) (RuntimeObject *, NativeInputDeviceInfo_t3032009285 , const RuntimeMethod*);
  833. ((FunctionPointerType)targetMethodPointer)(NULL, ___deviceInfo0, targetMethod);
  834. }
  835. }
  836. else
  837. {
  838. // closed
  839. {
  840. typedef void (*FunctionPointerType) (RuntimeObject *, void*, NativeInputDeviceInfo_t3032009285 , const RuntimeMethod*);
  841. ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___deviceInfo0, targetMethod);
  842. }
  843. }
  844. }
  845. else
  846. {
  847. {
  848. // closed
  849. if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
  850. {
  851. if (il2cpp_codegen_method_is_generic_instance(targetMethod))
  852. {
  853. if (il2cpp_codegen_method_is_interface_method(targetMethod))
  854. GenericInterfaceActionInvoker1< NativeInputDeviceInfo_t3032009285 >::Invoke(targetMethod, targetThis, ___deviceInfo0);
  855. else
  856. GenericVirtActionInvoker1< NativeInputDeviceInfo_t3032009285 >::Invoke(targetMethod, targetThis, ___deviceInfo0);
  857. }
  858. else
  859. {
  860. if (il2cpp_codegen_method_is_interface_method(targetMethod))
  861. InterfaceActionInvoker1< NativeInputDeviceInfo_t3032009285 >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___deviceInfo0);
  862. else
  863. VirtActionInvoker1< NativeInputDeviceInfo_t3032009285 >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___deviceInfo0);
  864. }
  865. }
  866. else
  867. {
  868. typedef void (*FunctionPointerType) (void*, NativeInputDeviceInfo_t3032009285 , const RuntimeMethod*);
  869. ((FunctionPointerType)targetMethodPointer)(targetThis, ___deviceInfo0, targetMethod);
  870. }
  871. }
  872. }
  873. }
  874. // System.IAsyncResult UnityEngineInternal.Input.NativeDeviceDiscoveredCallback::BeginInvoke(UnityEngineInternal.Input.NativeInputDeviceInfo,System.AsyncCallback,System.Object)
  875. extern "C" IL2CPP_METHOD_ATTR RuntimeObject* NativeDeviceDiscoveredCallback_BeginInvoke_m2259466034 (NativeDeviceDiscoveredCallback_t3494240628 * __this, NativeInputDeviceInfo_t3032009285 ___deviceInfo0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___object2, const RuntimeMethod* method)
  876. {
  877. static bool s_Il2CppMethodInitialized;
  878. if (!s_Il2CppMethodInitialized)
  879. {
  880. il2cpp_codegen_initialize_method (NativeDeviceDiscoveredCallback_BeginInvoke_m2259466034_MetadataUsageId);
  881. s_Il2CppMethodInitialized = true;
  882. }
  883. void *__d_args[2] = {0};
  884. __d_args[0] = Box(NativeInputDeviceInfo_t3032009285_il2cpp_TypeInfo_var, &___deviceInfo0);
  885. return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback1, (RuntimeObject*)___object2);
  886. }
  887. // System.Void UnityEngineInternal.Input.NativeDeviceDiscoveredCallback::EndInvoke(System.IAsyncResult)
  888. extern "C" IL2CPP_METHOD_ATTR void NativeDeviceDiscoveredCallback_EndInvoke_m1177959544 (NativeDeviceDiscoveredCallback_t3494240628 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
  889. {
  890. il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
  891. }
  892. #ifdef __clang__
  893. #pragma clang diagnostic pop
  894. #endif
  895. #ifdef __clang__
  896. #pragma clang diagnostic push
  897. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  898. #pragma clang diagnostic ignored "-Wunused-variable"
  899. #endif
  900. extern "C" void DelegatePInvokeWrapper_NativeEventCallback_t83445637 (NativeEventCallback_t83445637 * __this, int32_t ___eventCount0, intptr_t ___eventData1, const RuntimeMethod* method)
  901. {
  902. typedef void (DEFAULT_CALL *PInvokeFunc)(int32_t, intptr_t);
  903. PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
  904. // Native function invocation
  905. il2cppPInvokeFunc(___eventCount0, ___eventData1);
  906. }
  907. // System.Void UnityEngineInternal.Input.NativeEventCallback::.ctor(System.Object,System.IntPtr)
  908. extern "C" IL2CPP_METHOD_ATTR void NativeEventCallback__ctor_m2794133785 (NativeEventCallback_t83445637 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
  909. {
  910. __this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
  911. __this->set_method_3(___method1);
  912. __this->set_m_target_2(___object0);
  913. }
  914. // System.Void UnityEngineInternal.Input.NativeEventCallback::Invoke(System.Int32,System.IntPtr)
  915. extern "C" IL2CPP_METHOD_ATTR void NativeEventCallback_Invoke_m3430740557 (NativeEventCallback_t83445637 * __this, int32_t ___eventCount0, intptr_t ___eventData1, const RuntimeMethod* method)
  916. {
  917. if(__this->get_prev_9() != NULL)
  918. {
  919. NativeEventCallback_Invoke_m3430740557((NativeEventCallback_t83445637 *)__this->get_prev_9(), ___eventCount0, ___eventData1, method);
  920. }
  921. Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
  922. RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
  923. RuntimeObject* targetThis = __this->get_m_target_2();
  924. il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
  925. bool ___methodIsStatic = MethodIsStatic(targetMethod);
  926. if (___methodIsStatic)
  927. {
  928. if (il2cpp_codegen_method_parameter_count(targetMethod) == 2)
  929. {
  930. // open
  931. {
  932. typedef void (*FunctionPointerType) (RuntimeObject *, int32_t, intptr_t, const RuntimeMethod*);
  933. ((FunctionPointerType)targetMethodPointer)(NULL, ___eventCount0, ___eventData1, targetMethod);
  934. }
  935. }
  936. else
  937. {
  938. // closed
  939. {
  940. typedef void (*FunctionPointerType) (RuntimeObject *, void*, int32_t, intptr_t, const RuntimeMethod*);
  941. ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___eventCount0, ___eventData1, targetMethod);
  942. }
  943. }
  944. }
  945. else
  946. {
  947. {
  948. // closed
  949. if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
  950. {
  951. if (il2cpp_codegen_method_is_generic_instance(targetMethod))
  952. {
  953. if (il2cpp_codegen_method_is_interface_method(targetMethod))
  954. GenericInterfaceActionInvoker2< int32_t, intptr_t >::Invoke(targetMethod, targetThis, ___eventCount0, ___eventData1);
  955. else
  956. GenericVirtActionInvoker2< int32_t, intptr_t >::Invoke(targetMethod, targetThis, ___eventCount0, ___eventData1);
  957. }
  958. else
  959. {
  960. if (il2cpp_codegen_method_is_interface_method(targetMethod))
  961. InterfaceActionInvoker2< int32_t, intptr_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___eventCount0, ___eventData1);
  962. else
  963. VirtActionInvoker2< int32_t, intptr_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___eventCount0, ___eventData1);
  964. }
  965. }
  966. else
  967. {
  968. typedef void (*FunctionPointerType) (void*, int32_t, intptr_t, const RuntimeMethod*);
  969. ((FunctionPointerType)targetMethodPointer)(targetThis, ___eventCount0, ___eventData1, targetMethod);
  970. }
  971. }
  972. }
  973. }
  974. // System.IAsyncResult UnityEngineInternal.Input.NativeEventCallback::BeginInvoke(System.Int32,System.IntPtr,System.AsyncCallback,System.Object)
  975. extern "C" IL2CPP_METHOD_ATTR RuntimeObject* NativeEventCallback_BeginInvoke_m1567248734 (NativeEventCallback_t83445637 * __this, int32_t ___eventCount0, intptr_t ___eventData1, AsyncCallback_t3962456242 * ___callback2, RuntimeObject * ___object3, const RuntimeMethod* method)
  976. {
  977. static bool s_Il2CppMethodInitialized;
  978. if (!s_Il2CppMethodInitialized)
  979. {
  980. il2cpp_codegen_initialize_method (NativeEventCallback_BeginInvoke_m1567248734_MetadataUsageId);
  981. s_Il2CppMethodInitialized = true;
  982. }
  983. void *__d_args[3] = {0};
  984. __d_args[0] = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &___eventCount0);
  985. __d_args[1] = Box(IntPtr_t_il2cpp_TypeInfo_var, &___eventData1);
  986. return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback2, (RuntimeObject*)___object3);
  987. }
  988. // System.Void UnityEngineInternal.Input.NativeEventCallback::EndInvoke(System.IAsyncResult)
  989. extern "C" IL2CPP_METHOD_ATTR void NativeEventCallback_EndInvoke_m975817557 (NativeEventCallback_t83445637 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
  990. {
  991. il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
  992. }
  993. #ifdef __clang__
  994. #pragma clang diagnostic pop
  995. #endif
  996. #ifdef __clang__
  997. #pragma clang diagnostic push
  998. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  999. #pragma clang diagnostic ignored "-Wunused-variable"
  1000. #endif
  1001. // Conversion methods for marshalling of: UnityEngineInternal.Input.NativeInputDeviceInfo
  1002. extern "C" void NativeInputDeviceInfo_t3032009285_marshal_pinvoke(const NativeInputDeviceInfo_t3032009285& unmarshaled, NativeInputDeviceInfo_t3032009285_marshaled_pinvoke& marshaled)
  1003. {
  1004. marshaled.___deviceId_0 = unmarshaled.get_deviceId_0();
  1005. marshaled.___deviceDescriptor_1 = il2cpp_codegen_marshal_string(unmarshaled.get_deviceDescriptor_1());
  1006. }
  1007. extern "C" void NativeInputDeviceInfo_t3032009285_marshal_pinvoke_back(const NativeInputDeviceInfo_t3032009285_marshaled_pinvoke& marshaled, NativeInputDeviceInfo_t3032009285& unmarshaled)
  1008. {
  1009. int32_t unmarshaled_deviceId_temp_0 = 0;
  1010. unmarshaled_deviceId_temp_0 = marshaled.___deviceId_0;
  1011. unmarshaled.set_deviceId_0(unmarshaled_deviceId_temp_0);
  1012. unmarshaled.set_deviceDescriptor_1(il2cpp_codegen_marshal_string_result(marshaled.___deviceDescriptor_1));
  1013. }
  1014. // Conversion method for clean up from marshalling of: UnityEngineInternal.Input.NativeInputDeviceInfo
  1015. extern "C" void NativeInputDeviceInfo_t3032009285_marshal_pinvoke_cleanup(NativeInputDeviceInfo_t3032009285_marshaled_pinvoke& marshaled)
  1016. {
  1017. il2cpp_codegen_marshal_free(marshaled.___deviceDescriptor_1);
  1018. marshaled.___deviceDescriptor_1 = NULL;
  1019. }
  1020. // Conversion methods for marshalling of: UnityEngineInternal.Input.NativeInputDeviceInfo
  1021. extern "C" void NativeInputDeviceInfo_t3032009285_marshal_com(const NativeInputDeviceInfo_t3032009285& unmarshaled, NativeInputDeviceInfo_t3032009285_marshaled_com& marshaled)
  1022. {
  1023. marshaled.___deviceId_0 = unmarshaled.get_deviceId_0();
  1024. marshaled.___deviceDescriptor_1 = il2cpp_codegen_marshal_bstring(unmarshaled.get_deviceDescriptor_1());
  1025. }
  1026. extern "C" void NativeInputDeviceInfo_t3032009285_marshal_com_back(const NativeInputDeviceInfo_t3032009285_marshaled_com& marshaled, NativeInputDeviceInfo_t3032009285& unmarshaled)
  1027. {
  1028. int32_t unmarshaled_deviceId_temp_0 = 0;
  1029. unmarshaled_deviceId_temp_0 = marshaled.___deviceId_0;
  1030. unmarshaled.set_deviceId_0(unmarshaled_deviceId_temp_0);
  1031. unmarshaled.set_deviceDescriptor_1(il2cpp_codegen_marshal_bstring_result(marshaled.___deviceDescriptor_1));
  1032. }
  1033. // Conversion method for clean up from marshalling of: UnityEngineInternal.Input.NativeInputDeviceInfo
  1034. extern "C" void NativeInputDeviceInfo_t3032009285_marshal_com_cleanup(NativeInputDeviceInfo_t3032009285_marshaled_com& marshaled)
  1035. {
  1036. il2cpp_codegen_marshal_free_bstring(marshaled.___deviceDescriptor_1);
  1037. marshaled.___deviceDescriptor_1 = NULL;
  1038. }
  1039. #ifdef __clang__
  1040. #pragma clang diagnostic pop
  1041. #endif
  1042. #ifdef __clang__
  1043. #pragma clang diagnostic push
  1044. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1045. #pragma clang diagnostic ignored "-Wunused-variable"
  1046. #endif
  1047. // System.Void UnityEngineInternal.Input.NativeInputSystem::.cctor()
  1048. extern "C" IL2CPP_METHOD_ATTR void NativeInputSystem__cctor_m2718866957 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
  1049. {
  1050. {
  1051. NativeInputSystem_set_hasDeviceDiscoveredCallback_m4093248293(NULL /*static, unused*/, (bool)0, /*hidden argument*/NULL);
  1052. return;
  1053. }
  1054. }
  1055. // System.Void UnityEngineInternal.Input.NativeInputSystem::NotifyUpdate(UnityEngineInternal.Input.NativeInputUpdateType)
  1056. extern "C" IL2CPP_METHOD_ATTR void NativeInputSystem_NotifyUpdate_m2959317749 (RuntimeObject * __this /* static, unused */, int32_t ___updateType0, const RuntimeMethod* method)
  1057. {
  1058. static bool s_Il2CppMethodInitialized;
  1059. if (!s_Il2CppMethodInitialized)
  1060. {
  1061. il2cpp_codegen_initialize_method (NativeInputSystem_NotifyUpdate_m2959317749_MetadataUsageId);
  1062. s_Il2CppMethodInitialized = true;
  1063. }
  1064. NativeUpdateCallback_t2379345390 * V_0 = NULL;
  1065. {
  1066. IL2CPP_RUNTIME_CLASS_INIT(NativeInputSystem_t922881982_il2cpp_TypeInfo_var);
  1067. NativeUpdateCallback_t2379345390 * L_0 = ((NativeInputSystem_t922881982_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_t922881982_il2cpp_TypeInfo_var))->get_onUpdate_0();
  1068. V_0 = L_0;
  1069. NativeUpdateCallback_t2379345390 * L_1 = V_0;
  1070. if (!L_1)
  1071. {
  1072. goto IL_0014;
  1073. }
  1074. }
  1075. {
  1076. NativeUpdateCallback_t2379345390 * L_2 = V_0;
  1077. int32_t L_3 = ___updateType0;
  1078. NullCheck(L_2);
  1079. NativeUpdateCallback_Invoke_m2703513789(L_2, L_3, /*hidden argument*/NULL);
  1080. }
  1081. IL_0014:
  1082. {
  1083. return;
  1084. }
  1085. }
  1086. // System.Void UnityEngineInternal.Input.NativeInputSystem::NotifyEvents(System.Int32,System.IntPtr)
  1087. extern "C" IL2CPP_METHOD_ATTR void NativeInputSystem_NotifyEvents_m2206082579 (RuntimeObject * __this /* static, unused */, int32_t ___eventCount0, intptr_t ___eventData1, const RuntimeMethod* method)
  1088. {
  1089. static bool s_Il2CppMethodInitialized;
  1090. if (!s_Il2CppMethodInitialized)
  1091. {
  1092. il2cpp_codegen_initialize_method (NativeInputSystem_NotifyEvents_m2206082579_MetadataUsageId);
  1093. s_Il2CppMethodInitialized = true;
  1094. }
  1095. NativeEventCallback_t83445637 * V_0 = NULL;
  1096. {
  1097. IL2CPP_RUNTIME_CLASS_INIT(NativeInputSystem_t922881982_il2cpp_TypeInfo_var);
  1098. NativeEventCallback_t83445637 * L_0 = ((NativeInputSystem_t922881982_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_t922881982_il2cpp_TypeInfo_var))->get_onEvents_1();
  1099. V_0 = L_0;
  1100. NativeEventCallback_t83445637 * L_1 = V_0;
  1101. if (!L_1)
  1102. {
  1103. goto IL_0015;
  1104. }
  1105. }
  1106. {
  1107. NativeEventCallback_t83445637 * L_2 = V_0;
  1108. int32_t L_3 = ___eventCount0;
  1109. intptr_t L_4 = ___eventData1;
  1110. NullCheck(L_2);
  1111. NativeEventCallback_Invoke_m3430740557(L_2, L_3, L_4, /*hidden argument*/NULL);
  1112. }
  1113. IL_0015:
  1114. {
  1115. return;
  1116. }
  1117. }
  1118. // System.Void UnityEngineInternal.Input.NativeInputSystem::NotifyDeviceDiscovered(UnityEngineInternal.Input.NativeInputDeviceInfo)
  1119. extern "C" IL2CPP_METHOD_ATTR void NativeInputSystem_NotifyDeviceDiscovered_m207573541 (RuntimeObject * __this /* static, unused */, NativeInputDeviceInfo_t3032009285 ___deviceInfo0, const RuntimeMethod* method)
  1120. {
  1121. static bool s_Il2CppMethodInitialized;
  1122. if (!s_Il2CppMethodInitialized)
  1123. {
  1124. il2cpp_codegen_initialize_method (NativeInputSystem_NotifyDeviceDiscovered_m207573541_MetadataUsageId);
  1125. s_Il2CppMethodInitialized = true;
  1126. }
  1127. NativeDeviceDiscoveredCallback_t3494240628 * V_0 = NULL;
  1128. {
  1129. IL2CPP_RUNTIME_CLASS_INIT(NativeInputSystem_t922881982_il2cpp_TypeInfo_var);
  1130. NativeDeviceDiscoveredCallback_t3494240628 * L_0 = ((NativeInputSystem_t922881982_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_t922881982_il2cpp_TypeInfo_var))->get_s_OnDeviceDiscoveredCallback_2();
  1131. V_0 = L_0;
  1132. NativeDeviceDiscoveredCallback_t3494240628 * L_1 = V_0;
  1133. if (!L_1)
  1134. {
  1135. goto IL_0014;
  1136. }
  1137. }
  1138. {
  1139. NativeDeviceDiscoveredCallback_t3494240628 * L_2 = V_0;
  1140. NativeInputDeviceInfo_t3032009285 L_3 = ___deviceInfo0;
  1141. NullCheck(L_2);
  1142. NativeDeviceDiscoveredCallback_Invoke_m2547691835(L_2, L_3, /*hidden argument*/NULL);
  1143. }
  1144. IL_0014:
  1145. {
  1146. return;
  1147. }
  1148. }
  1149. // System.Void UnityEngineInternal.Input.NativeInputSystem::set_hasDeviceDiscoveredCallback(System.Boolean)
  1150. extern "C" IL2CPP_METHOD_ATTR void NativeInputSystem_set_hasDeviceDiscoveredCallback_m4093248293 (RuntimeObject * __this /* static, unused */, bool ___value0, const RuntimeMethod* method)
  1151. {
  1152. typedef void (*NativeInputSystem_set_hasDeviceDiscoveredCallback_m4093248293_ftn) (bool);
  1153. static NativeInputSystem_set_hasDeviceDiscoveredCallback_m4093248293_ftn _il2cpp_icall_func;
  1154. if (!_il2cpp_icall_func)
  1155. _il2cpp_icall_func = (NativeInputSystem_set_hasDeviceDiscoveredCallback_m4093248293_ftn)il2cpp_codegen_resolve_icall ("UnityEngineInternal.Input.NativeInputSystem::set_hasDeviceDiscoveredCallback(System.Boolean)");
  1156. _il2cpp_icall_func(___value0);
  1157. }
  1158. #ifdef __clang__
  1159. #pragma clang diagnostic pop
  1160. #endif
  1161. #ifdef __clang__
  1162. #pragma clang diagnostic push
  1163. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1164. #pragma clang diagnostic ignored "-Wunused-variable"
  1165. #endif
  1166. #ifdef __clang__
  1167. #pragma clang diagnostic pop
  1168. #endif
  1169. #ifdef __clang__
  1170. #pragma clang diagnostic push
  1171. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1172. #pragma clang diagnostic ignored "-Wunused-variable"
  1173. #endif
  1174. extern "C" void DelegatePInvokeWrapper_NativeUpdateCallback_t2379345390 (NativeUpdateCallback_t2379345390 * __this, int32_t ___updateType0, const RuntimeMethod* method)
  1175. {
  1176. typedef void (DEFAULT_CALL *PInvokeFunc)(int32_t);
  1177. PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
  1178. // Native function invocation
  1179. il2cppPInvokeFunc(___updateType0);
  1180. }
  1181. // System.Void UnityEngineInternal.Input.NativeUpdateCallback::.ctor(System.Object,System.IntPtr)
  1182. extern "C" IL2CPP_METHOD_ATTR void NativeUpdateCallback__ctor_m1482494726 (NativeUpdateCallback_t2379345390 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
  1183. {
  1184. __this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
  1185. __this->set_method_3(___method1);
  1186. __this->set_m_target_2(___object0);
  1187. }
  1188. // System.Void UnityEngineInternal.Input.NativeUpdateCallback::Invoke(UnityEngineInternal.Input.NativeInputUpdateType)
  1189. extern "C" IL2CPP_METHOD_ATTR void NativeUpdateCallback_Invoke_m2703513789 (NativeUpdateCallback_t2379345390 * __this, int32_t ___updateType0, const RuntimeMethod* method)
  1190. {
  1191. if(__this->get_prev_9() != NULL)
  1192. {
  1193. NativeUpdateCallback_Invoke_m2703513789((NativeUpdateCallback_t2379345390 *)__this->get_prev_9(), ___updateType0, method);
  1194. }
  1195. Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
  1196. RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
  1197. RuntimeObject* targetThis = __this->get_m_target_2();
  1198. il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
  1199. bool ___methodIsStatic = MethodIsStatic(targetMethod);
  1200. if (___methodIsStatic)
  1201. {
  1202. if (il2cpp_codegen_method_parameter_count(targetMethod) == 1)
  1203. {
  1204. // open
  1205. {
  1206. typedef void (*FunctionPointerType) (RuntimeObject *, int32_t, const RuntimeMethod*);
  1207. ((FunctionPointerType)targetMethodPointer)(NULL, ___updateType0, targetMethod);
  1208. }
  1209. }
  1210. else
  1211. {
  1212. // closed
  1213. {
  1214. typedef void (*FunctionPointerType) (RuntimeObject *, void*, int32_t, const RuntimeMethod*);
  1215. ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___updateType0, targetMethod);
  1216. }
  1217. }
  1218. }
  1219. else
  1220. {
  1221. {
  1222. // closed
  1223. if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
  1224. {
  1225. if (il2cpp_codegen_method_is_generic_instance(targetMethod))
  1226. {
  1227. if (il2cpp_codegen_method_is_interface_method(targetMethod))
  1228. GenericInterfaceActionInvoker1< int32_t >::Invoke(targetMethod, targetThis, ___updateType0);
  1229. else
  1230. GenericVirtActionInvoker1< int32_t >::Invoke(targetMethod, targetThis, ___updateType0);
  1231. }
  1232. else
  1233. {
  1234. if (il2cpp_codegen_method_is_interface_method(targetMethod))
  1235. InterfaceActionInvoker1< int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___updateType0);
  1236. else
  1237. VirtActionInvoker1< int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___updateType0);
  1238. }
  1239. }
  1240. else
  1241. {
  1242. typedef void (*FunctionPointerType) (void*, int32_t, const RuntimeMethod*);
  1243. ((FunctionPointerType)targetMethodPointer)(targetThis, ___updateType0, targetMethod);
  1244. }
  1245. }
  1246. }
  1247. }
  1248. // System.IAsyncResult UnityEngineInternal.Input.NativeUpdateCallback::BeginInvoke(UnityEngineInternal.Input.NativeInputUpdateType,System.AsyncCallback,System.Object)
  1249. extern "C" IL2CPP_METHOD_ATTR RuntimeObject* NativeUpdateCallback_BeginInvoke_m1903744170 (NativeUpdateCallback_t2379345390 * __this, int32_t ___updateType0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___object2, const RuntimeMethod* method)
  1250. {
  1251. static bool s_Il2CppMethodInitialized;
  1252. if (!s_Il2CppMethodInitialized)
  1253. {
  1254. il2cpp_codegen_initialize_method (NativeUpdateCallback_BeginInvoke_m1903744170_MetadataUsageId);
  1255. s_Il2CppMethodInitialized = true;
  1256. }
  1257. void *__d_args[2] = {0};
  1258. __d_args[0] = Box(NativeInputUpdateType_t3942820534_il2cpp_TypeInfo_var, &___updateType0);
  1259. return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback1, (RuntimeObject*)___object2);
  1260. }
  1261. // System.Void UnityEngineInternal.Input.NativeUpdateCallback::EndInvoke(System.IAsyncResult)
  1262. extern "C" IL2CPP_METHOD_ATTR void NativeUpdateCallback_EndInvoke_m4221164378 (NativeUpdateCallback_t2379345390 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
  1263. {
  1264. il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
  1265. }
  1266. #ifdef __clang__
  1267. #pragma clang diagnostic pop
  1268. #endif