Unity.XR.OpenXR.Features.OculusQuestSupport.cpp 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  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 ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  9. struct OculusQuestFeature_tF5FA7128BB36F546D5CF7094A93B812DAC667810;
  10. struct OpenXRFeature_tC2F8F480D62C277B2ECDD605F64E45053CD85143;
  11. struct String_t;
  12. struct UnitySourceGeneratedAssemblyMonoScriptTypes_v1_tE9026CF1E86D87DDCF6F0A6D3247DB611A1A7778;
  13. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  14. IL2CPP_EXTERN_C RuntimeClass* ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var;
  15. IL2CPP_EXTERN_C RuntimeClass* Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var;
  16. IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tAAD1FC8E58CBDB10C846E212B8B899EF6438A774____A294F67826AE6AF231B17DC92D07935EA7A07276CAC2C4D47C2B02CCD003C7A4_FieldInfo_var;
  17. IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tAAD1FC8E58CBDB10C846E212B8B899EF6438A774____D57FF0ADFA00167BBFAF11D8522122B49D7C38FB3E3491EFACC4A66E49D79A32_FieldInfo_var;
  18. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  19. IL2CPP_EXTERN_C_BEGIN
  20. IL2CPP_EXTERN_C_END
  21. #ifdef __clang__
  22. #pragma clang diagnostic push
  23. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  24. #pragma clang diagnostic ignored "-Wunused-variable"
  25. #endif
  26. struct U3CModuleU3E_t778DCC930049ABF88FE516A2EB513EA8B39AF483
  27. {
  28. };
  29. struct U3CPrivateImplementationDetailsU3E_tAAD1FC8E58CBDB10C846E212B8B899EF6438A774 : public RuntimeObject
  30. {
  31. };
  32. struct UnitySourceGeneratedAssemblyMonoScriptTypes_v1_tE9026CF1E86D87DDCF6F0A6D3247DB611A1A7778 : public RuntimeObject
  33. {
  34. };
  35. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  36. {
  37. };
  38. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  39. {
  40. };
  41. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  42. {
  43. };
  44. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  45. {
  46. bool ___m_value;
  47. };
  48. struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
  49. {
  50. uint8_t ___m_value;
  51. };
  52. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  53. {
  54. int32_t ___m_value;
  55. };
  56. struct IntPtr_t
  57. {
  58. void* ___m_value;
  59. };
  60. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  61. {
  62. union
  63. {
  64. struct
  65. {
  66. };
  67. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  68. };
  69. };
  70. #pragma pack(push, tp, 1)
  71. struct __StaticArrayInitTypeSizeU3D73_t6D94B9863C97C1D1E1DDD4C67B70962381D384CD
  72. {
  73. union
  74. {
  75. struct
  76. {
  77. union
  78. {
  79. };
  80. };
  81. uint8_t __StaticArrayInitTypeSizeU3D73_t6D94B9863C97C1D1E1DDD4C67B70962381D384CD__padding[73];
  82. };
  83. };
  84. #pragma pack(pop, tp)
  85. #pragma pack(push, tp, 1)
  86. struct __StaticArrayInitTypeSizeU3D98_t2D8E9A5EF9EE27998BB5BF1E28423A35C99AFBB0
  87. {
  88. union
  89. {
  90. struct
  91. {
  92. union
  93. {
  94. };
  95. };
  96. uint8_t __StaticArrayInitTypeSizeU3D98_t2D8E9A5EF9EE27998BB5BF1E28423A35C99AFBB0__padding[98];
  97. };
  98. };
  99. #pragma pack(pop, tp)
  100. struct MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939
  101. {
  102. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___FilePathsData;
  103. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___TypesData;
  104. int32_t ___TotalTypes;
  105. int32_t ___TotalFiles;
  106. bool ___IsEditorOnly;
  107. };
  108. struct MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshaled_pinvoke
  109. {
  110. Il2CppSafeArray* ___FilePathsData;
  111. Il2CppSafeArray* ___TypesData;
  112. int32_t ___TotalTypes;
  113. int32_t ___TotalFiles;
  114. int32_t ___IsEditorOnly;
  115. };
  116. struct MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshaled_com
  117. {
  118. Il2CppSafeArray* ___FilePathsData;
  119. Il2CppSafeArray* ___TypesData;
  120. int32_t ___TotalTypes;
  121. int32_t ___TotalFiles;
  122. int32_t ___IsEditorOnly;
  123. };
  124. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
  125. {
  126. intptr_t ___m_CachedPtr;
  127. };
  128. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
  129. {
  130. intptr_t ___m_CachedPtr;
  131. };
  132. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
  133. {
  134. intptr_t ___m_CachedPtr;
  135. };
  136. struct RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5
  137. {
  138. intptr_t ___value;
  139. };
  140. struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  141. {
  142. };
  143. struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_pinvoke : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
  144. {
  145. };
  146. struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_com : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
  147. {
  148. };
  149. struct OpenXRFeature_tC2F8F480D62C277B2ECDD605F64E45053CD85143 : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
  150. {
  151. bool ___m_enabled;
  152. bool ___U3CfailedInitializationU3Ek__BackingField;
  153. String_t* ___nameUi;
  154. String_t* ___version;
  155. String_t* ___featureIdInternal;
  156. String_t* ___openxrExtensionStrings;
  157. String_t* ___company;
  158. int32_t ___priority;
  159. bool ___required;
  160. bool ___internalFieldsUpdated;
  161. };
  162. struct OculusQuestFeature_tF5FA7128BB36F546D5CF7094A93B812DAC667810 : public OpenXRFeature_tC2F8F480D62C277B2ECDD605F64E45053CD85143
  163. {
  164. bool ___targetQuest;
  165. bool ___targetQuest2;
  166. };
  167. struct U3CPrivateImplementationDetailsU3E_tAAD1FC8E58CBDB10C846E212B8B899EF6438A774_StaticFields
  168. {
  169. __StaticArrayInitTypeSizeU3D73_t6D94B9863C97C1D1E1DDD4C67B70962381D384CD ___A294F67826AE6AF231B17DC92D07935EA7A07276CAC2C4D47C2B02CCD003C7A4;
  170. __StaticArrayInitTypeSizeU3D98_t2D8E9A5EF9EE27998BB5BF1E28423A35C99AFBB0 ___D57FF0ADFA00167BBFAF11D8522122B49D7C38FB3E3491EFACC4A66E49D79A32;
  171. };
  172. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  173. {
  174. String_t* ___TrueString;
  175. String_t* ___FalseString;
  176. };
  177. struct OpenXRFeature_tC2F8F480D62C277B2ECDD605F64E45053CD85143_StaticFields
  178. {
  179. bool ___U3CrequiredFeatureFailedU3Ek__BackingField;
  180. };
  181. #ifdef __clang__
  182. #pragma clang diagnostic pop
  183. #endif
  184. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031 : public RuntimeArray
  185. {
  186. ALIGN_FIELD (8) uint8_t m_Items[1];
  187. inline uint8_t GetAt(il2cpp_array_size_t index) const
  188. {
  189. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  190. return m_Items[index];
  191. }
  192. inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
  193. {
  194. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  195. return m_Items + index;
  196. }
  197. inline void SetAt(il2cpp_array_size_t index, uint8_t value)
  198. {
  199. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  200. m_Items[index] = value;
  201. }
  202. inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
  203. {
  204. return m_Items[index];
  205. }
  206. inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  207. {
  208. return m_Items + index;
  209. }
  210. inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
  211. {
  212. m_Items[index] = value;
  213. }
  214. };
  215. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B (RuntimeArray* ___0_array, RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 ___1_fldHandle, const RuntimeMethod* method) ;
  216. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
  217. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OpenXRFeature__ctor_m120460E34ECC22ED2DB96797A6DCB5C870E78852 (OpenXRFeature_tC2F8F480D62C277B2ECDD605F64E45053CD85143* __this, const RuntimeMethod* method) ;
  218. #ifdef __clang__
  219. #pragma clang diagnostic push
  220. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  221. #pragma clang diagnostic ignored "-Wunused-variable"
  222. #endif
  223. #ifdef __clang__
  224. #pragma clang diagnostic pop
  225. #endif
  226. #ifdef __clang__
  227. #pragma clang diagnostic push
  228. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  229. #pragma clang diagnostic ignored "-Wunused-variable"
  230. #endif
  231. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939 UnitySourceGeneratedAssemblyMonoScriptTypes_v1_Get_mA6C08ED6DC318DD3A8E6454728AD08B818197F58 (const RuntimeMethod* method)
  232. {
  233. static bool s_Il2CppMethodInitialized;
  234. if (!s_Il2CppMethodInitialized)
  235. {
  236. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var);
  237. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_tAAD1FC8E58CBDB10C846E212B8B899EF6438A774____A294F67826AE6AF231B17DC92D07935EA7A07276CAC2C4D47C2B02CCD003C7A4_FieldInfo_var);
  238. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_tAAD1FC8E58CBDB10C846E212B8B899EF6438A774____D57FF0ADFA00167BBFAF11D8522122B49D7C38FB3E3491EFACC4A66E49D79A32_FieldInfo_var);
  239. s_Il2CppMethodInitialized = true;
  240. }
  241. MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939 V_0;
  242. memset((&V_0), 0, sizeof(V_0));
  243. {
  244. il2cpp_codegen_initobj((&V_0), sizeof(MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939));
  245. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_0 = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)SZArrayNew(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var, (uint32_t)((int32_t)98));
  246. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_1 = L_0;
  247. RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tAAD1FC8E58CBDB10C846E212B8B899EF6438A774____D57FF0ADFA00167BBFAF11D8522122B49D7C38FB3E3491EFACC4A66E49D79A32_FieldInfo_var) };
  248. RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B((RuntimeArray*)L_1, L_2, NULL);
  249. (&V_0)->___FilePathsData = L_1;
  250. Il2CppCodeGenWriteBarrier((void**)(&(&V_0)->___FilePathsData), (void*)L_1);
  251. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_3 = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)SZArrayNew(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var, (uint32_t)((int32_t)73));
  252. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_4 = L_3;
  253. RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 L_5 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tAAD1FC8E58CBDB10C846E212B8B899EF6438A774____A294F67826AE6AF231B17DC92D07935EA7A07276CAC2C4D47C2B02CCD003C7A4_FieldInfo_var) };
  254. RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B((RuntimeArray*)L_4, L_5, NULL);
  255. (&V_0)->___TypesData = L_4;
  256. Il2CppCodeGenWriteBarrier((void**)(&(&V_0)->___TypesData), (void*)L_4);
  257. (&V_0)->___TotalFiles = 1;
  258. (&V_0)->___TotalTypes = 1;
  259. (&V_0)->___IsEditorOnly = (bool)0;
  260. MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939 L_6 = V_0;
  261. return L_6;
  262. }
  263. }
  264. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnitySourceGeneratedAssemblyMonoScriptTypes_v1__ctor_mC59A944338EC4FB4DE91E7F383E0F66EF4CF100C (UnitySourceGeneratedAssemblyMonoScriptTypes_v1_tE9026CF1E86D87DDCF6F0A6D3247DB611A1A7778* __this, const RuntimeMethod* method)
  265. {
  266. {
  267. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  268. return;
  269. }
  270. }
  271. #ifdef __clang__
  272. #pragma clang diagnostic pop
  273. #endif
  274. #ifdef __clang__
  275. #pragma clang diagnostic push
  276. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  277. #pragma clang diagnostic ignored "-Wunused-variable"
  278. #endif
  279. IL2CPP_EXTERN_C void MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshal_pinvoke(const MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939& unmarshaled, MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshaled_pinvoke& marshaled)
  280. {
  281. marshaled.___FilePathsData = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I1, unmarshaled.___FilePathsData);
  282. marshaled.___TypesData = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I1, unmarshaled.___TypesData);
  283. marshaled.___TotalTypes = unmarshaled.___TotalTypes;
  284. marshaled.___TotalFiles = unmarshaled.___TotalFiles;
  285. marshaled.___IsEditorOnly = static_cast<int32_t>(unmarshaled.___IsEditorOnly);
  286. }
  287. IL2CPP_EXTERN_C void MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshal_pinvoke_back(const MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshaled_pinvoke& marshaled, MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939& unmarshaled)
  288. {
  289. static bool s_Il2CppMethodInitialized;
  290. if (!s_Il2CppMethodInitialized)
  291. {
  292. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var);
  293. s_Il2CppMethodInitialized = true;
  294. }
  295. unmarshaled.___FilePathsData = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___FilePathsData);
  296. Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___FilePathsData), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___FilePathsData));
  297. unmarshaled.___TypesData = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___TypesData);
  298. Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___TypesData), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___TypesData));
  299. int32_t unmarshaledTotalTypes_temp_2 = 0;
  300. unmarshaledTotalTypes_temp_2 = marshaled.___TotalTypes;
  301. unmarshaled.___TotalTypes = unmarshaledTotalTypes_temp_2;
  302. int32_t unmarshaledTotalFiles_temp_3 = 0;
  303. unmarshaledTotalFiles_temp_3 = marshaled.___TotalFiles;
  304. unmarshaled.___TotalFiles = unmarshaledTotalFiles_temp_3;
  305. bool unmarshaledIsEditorOnly_temp_4 = false;
  306. unmarshaledIsEditorOnly_temp_4 = static_cast<bool>(marshaled.___IsEditorOnly);
  307. unmarshaled.___IsEditorOnly = unmarshaledIsEditorOnly_temp_4;
  308. }
  309. IL2CPP_EXTERN_C void MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshal_pinvoke_cleanup(MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshaled_pinvoke& marshaled)
  310. {
  311. il2cpp_codegen_com_destroy_safe_array(marshaled.___FilePathsData);
  312. marshaled.___FilePathsData = NULL;
  313. il2cpp_codegen_com_destroy_safe_array(marshaled.___TypesData);
  314. marshaled.___TypesData = NULL;
  315. }
  316. IL2CPP_EXTERN_C void MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshal_com(const MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939& unmarshaled, MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshaled_com& marshaled)
  317. {
  318. marshaled.___FilePathsData = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I1, unmarshaled.___FilePathsData);
  319. marshaled.___TypesData = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I1, unmarshaled.___TypesData);
  320. marshaled.___TotalTypes = unmarshaled.___TotalTypes;
  321. marshaled.___TotalFiles = unmarshaled.___TotalFiles;
  322. marshaled.___IsEditorOnly = static_cast<int32_t>(unmarshaled.___IsEditorOnly);
  323. }
  324. IL2CPP_EXTERN_C void MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshal_com_back(const MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshaled_com& marshaled, MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939& unmarshaled)
  325. {
  326. static bool s_Il2CppMethodInitialized;
  327. if (!s_Il2CppMethodInitialized)
  328. {
  329. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var);
  330. s_Il2CppMethodInitialized = true;
  331. }
  332. unmarshaled.___FilePathsData = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___FilePathsData);
  333. Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___FilePathsData), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___FilePathsData));
  334. unmarshaled.___TypesData = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___TypesData);
  335. Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___TypesData), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___TypesData));
  336. int32_t unmarshaledTotalTypes_temp_2 = 0;
  337. unmarshaledTotalTypes_temp_2 = marshaled.___TotalTypes;
  338. unmarshaled.___TotalTypes = unmarshaledTotalTypes_temp_2;
  339. int32_t unmarshaledTotalFiles_temp_3 = 0;
  340. unmarshaledTotalFiles_temp_3 = marshaled.___TotalFiles;
  341. unmarshaled.___TotalFiles = unmarshaledTotalFiles_temp_3;
  342. bool unmarshaledIsEditorOnly_temp_4 = false;
  343. unmarshaledIsEditorOnly_temp_4 = static_cast<bool>(marshaled.___IsEditorOnly);
  344. unmarshaled.___IsEditorOnly = unmarshaledIsEditorOnly_temp_4;
  345. }
  346. IL2CPP_EXTERN_C void MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshal_com_cleanup(MonoScriptData_t43A5F7D0A2DEBD6989F287FB9EBB93116E0C1939_marshaled_com& marshaled)
  347. {
  348. il2cpp_codegen_com_destroy_safe_array(marshaled.___FilePathsData);
  349. marshaled.___FilePathsData = NULL;
  350. il2cpp_codegen_com_destroy_safe_array(marshaled.___TypesData);
  351. marshaled.___TypesData = NULL;
  352. }
  353. #ifdef __clang__
  354. #pragma clang diagnostic pop
  355. #endif
  356. #ifdef __clang__
  357. #pragma clang diagnostic push
  358. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  359. #pragma clang diagnostic ignored "-Wunused-variable"
  360. #endif
  361. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OculusQuestFeature__ctor_mF38393F1A5FA04C3AF781D82EC58A4CBB9D85AA2 (OculusQuestFeature_tF5FA7128BB36F546D5CF7094A93B812DAC667810* __this, const RuntimeMethod* method)
  362. {
  363. {
  364. __this->___targetQuest = (bool)1;
  365. __this->___targetQuest2 = (bool)1;
  366. OpenXRFeature__ctor_m120460E34ECC22ED2DB96797A6DCB5C870E78852(__this, NULL);
  367. return;
  368. }
  369. }
  370. #ifdef __clang__
  371. #pragma clang diagnostic pop
  372. #endif
  373. #ifdef __clang__
  374. #pragma clang diagnostic push
  375. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  376. #pragma clang diagnostic ignored "-Wunused-variable"
  377. #endif
  378. #ifdef __clang__
  379. #pragma clang diagnostic pop
  380. #endif
  381. #ifdef __clang__
  382. #pragma clang diagnostic push
  383. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  384. #pragma clang diagnostic ignored "-Wunused-variable"
  385. #endif
  386. #ifdef __clang__
  387. #pragma clang diagnostic pop
  388. #endif
  389. #ifdef __clang__
  390. #pragma clang diagnostic push
  391. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  392. #pragma clang diagnostic ignored "-Wunused-variable"
  393. #endif
  394. #ifdef __clang__
  395. #pragma clang diagnostic pop
  396. #endif