Unity.XR.OpenXR.Features.MockRuntime.cpp 111 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061
  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 Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA;
  9. struct Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6;
  10. struct Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F;
  11. struct IEqualityComparer_1_tAE94C8F24AD5B94D4EE85CA9FC59E3409D41CAF7;
  12. struct KeyCollection_t7B476242BD55D6AE1605538D29FD9F5664F2B4FB;
  13. struct KeyCollection_tB8F4E17B1C9396EEA9D84C15F0A63FBC7A90262F;
  14. struct ValueCollection_t78D30292560FD0C8A9D4081C7530872500090707;
  15. struct ValueCollection_tAC7D22A98835288060B8073EBE9D6B53222473EF;
  16. struct EntryU5BU5D_t33C6D01AEDA6C0F5A44448DCC7AA313D757EA8B5;
  17. struct EntryU5BU5D_tD3D40B2CB003E30F5BCD17917B39861559C116AD;
  18. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  19. struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
  20. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  21. struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
  22. struct OpenXRFeatureU5BU5D_t1E8B328877C0D98F92ADE93D6F8C6536F92C3F3F;
  23. struct AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C;
  24. struct Delegate_t;
  25. struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
  26. struct IAsyncResult_t7B9B5A0ECB35DCEC31B8A8122C37D687369253B5;
  27. struct MethodInfo_t;
  28. struct MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF;
  29. struct OpenXRFeature_tC2F8F480D62C277B2ECDD605F64E45053CD85143;
  30. struct OpenXRSettings_tC785370EE9F65516FED2B31400BF71DC84F94B55;
  31. struct String_t;
  32. struct UnitySourceGeneratedAssemblyMonoScriptTypes_v1_t9D9BBDE46B6999BCB3E1FDA40C264DF881B4608F;
  33. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  34. struct AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552;
  35. struct BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA;
  36. struct ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20;
  37. IL2CPP_EXTERN_C RuntimeClass* AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552_il2cpp_TypeInfo_var;
  38. IL2CPP_EXTERN_C RuntimeClass* BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA_il2cpp_TypeInfo_var;
  39. IL2CPP_EXTERN_C RuntimeClass* ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var;
  40. IL2CPP_EXTERN_C RuntimeClass* Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var;
  41. IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6_il2cpp_TypeInfo_var;
  42. IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F_il2cpp_TypeInfo_var;
  43. IL2CPP_EXTERN_C RuntimeClass* MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var;
  44. IL2CPP_EXTERN_C RuntimeClass* ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20_il2cpp_TypeInfo_var;
  45. IL2CPP_EXTERN_C RuntimeClass* ScriptEvent_t98D7BEA7A83AEC5AC0316FCED0B85028D4E75DAD_il2cpp_TypeInfo_var;
  46. IL2CPP_EXTERN_C RuntimeClass* UInt64_t8F12534CC8FC4B5860F2A2CD1EE79D322E7A41AF_il2cpp_TypeInfo_var;
  47. IL2CPP_EXTERN_C RuntimeClass* XrResult_tC6E780422C0CF27153FB9B0ED7D1F60015608195_il2cpp_TypeInfo_var;
  48. IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_t5FDCDC2DD8737CA96B5E90A61CC225D9DD824D7A____4C913DBA2FB40994200075EE761FF59E793D510D9264BD6FA1224B5DD7FC30BD_FieldInfo_var;
  49. IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_t5FDCDC2DD8737CA96B5E90A61CC225D9DD824D7A____95582EB8EE8C2DE553231A0C8DE68B3164F5A8B7422D85CD33440D3838951410_FieldInfo_var;
  50. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Remove_m1D16C2805D2C90CE9E9F75DD087A02771665799C_RuntimeMethod_var;
  51. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Remove_m786082F7C7C48014E4310D38AEC2BEB53FD2869C_RuntimeMethod_var;
  52. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_m18B2157D65C4F2FC765F9AF4B4EBF7B8FF174E4F_RuntimeMethod_var;
  53. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_mC24ED42B1D62F196005DEF99454A30DCEF6E0A5F_RuntimeMethod_var;
  54. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m17FD7D5D71E4212B62A691A7F0CD5526EAC6AC39_RuntimeMethod_var;
  55. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m9C4D0FB47A0BF06B9963582354883C7F4922A84D_RuntimeMethod_var;
  56. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Count_m53A2E81E4273B7F237467FD0E411CD76F6A335D0_RuntimeMethod_var;
  57. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Count_m9C89607F22DE5CBC0F10E446E79188543493C0E1_RuntimeMethod_var;
  58. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_set_Item_m17C6500F4A39584F230E69E055B6EDCF7CE4032E_RuntimeMethod_var;
  59. IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_set_Item_mEB67AD45031F043BBC4B9E563EC2D2518BAFDE22_RuntimeMethod_var;
  60. IL2CPP_EXTERN_C const RuntimeMethod* MockRuntime_AfterFunctionCallback_mFBBF94D9868CA6870E3A6A78D831145376372D46_RuntimeMethod_var;
  61. IL2CPP_EXTERN_C const RuntimeMethod* MockRuntime_BeforeFunctionCallback_m70AB6148D0D9FCD315ACDB6B46131514D128380D_RuntimeMethod_var;
  62. IL2CPP_EXTERN_C const RuntimeMethod* OpenXRSettings_GetFeature_TisMockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_m87DF2AA7C62867FE357F972E35BD6E581BC7210F_RuntimeMethod_var;
  63. struct Delegate_t_marshaled_com;
  64. struct Delegate_t_marshaled_pinvoke;
  65. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  66. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  67. IL2CPP_EXTERN_C_BEGIN
  68. IL2CPP_EXTERN_C_END
  69. #ifdef __clang__
  70. #pragma clang diagnostic push
  71. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  72. #pragma clang diagnostic ignored "-Wunused-variable"
  73. #endif
  74. struct U3CModuleU3E_tA44820A2EDB2F298F5F072F96B03467D041C7C62
  75. {
  76. };
  77. struct Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6 : public RuntimeObject
  78. {
  79. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets;
  80. EntryU5BU5D_t33C6D01AEDA6C0F5A44448DCC7AA313D757EA8B5* ____entries;
  81. int32_t ____count;
  82. int32_t ____freeList;
  83. int32_t ____freeCount;
  84. int32_t ____version;
  85. RuntimeObject* ____comparer;
  86. KeyCollection_t7B476242BD55D6AE1605538D29FD9F5664F2B4FB* ____keys;
  87. ValueCollection_t78D30292560FD0C8A9D4081C7530872500090707* ____values;
  88. RuntimeObject* ____syncRoot;
  89. };
  90. struct Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F : public RuntimeObject
  91. {
  92. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets;
  93. EntryU5BU5D_tD3D40B2CB003E30F5BCD17917B39861559C116AD* ____entries;
  94. int32_t ____count;
  95. int32_t ____freeList;
  96. int32_t ____freeCount;
  97. int32_t ____version;
  98. RuntimeObject* ____comparer;
  99. KeyCollection_tB8F4E17B1C9396EEA9D84C15F0A63FBC7A90262F* ____keys;
  100. ValueCollection_tAC7D22A98835288060B8073EBE9D6B53222473EF* ____values;
  101. RuntimeObject* ____syncRoot;
  102. };
  103. struct U3CPrivateImplementationDetailsU3E_t5FDCDC2DD8737CA96B5E90A61CC225D9DD824D7A : public RuntimeObject
  104. {
  105. };
  106. struct String_t : public RuntimeObject
  107. {
  108. int32_t ____stringLength;
  109. Il2CppChar ____firstChar;
  110. };
  111. struct UnitySourceGeneratedAssemblyMonoScriptTypes_v1_t9D9BBDE46B6999BCB3E1FDA40C264DF881B4608F : public RuntimeObject
  112. {
  113. };
  114. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  115. {
  116. };
  117. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  118. {
  119. };
  120. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  121. {
  122. };
  123. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  124. {
  125. bool ___m_value;
  126. };
  127. struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
  128. {
  129. uint8_t ___m_value;
  130. };
  131. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
  132. {
  133. };
  134. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
  135. {
  136. };
  137. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
  138. {
  139. };
  140. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  141. {
  142. int32_t ___m_value;
  143. };
  144. struct IntPtr_t
  145. {
  146. void* ___m_value;
  147. };
  148. struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974
  149. {
  150. float ___x;
  151. float ___y;
  152. float ___z;
  153. float ___w;
  154. };
  155. struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
  156. {
  157. float ___m_value;
  158. };
  159. struct UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B
  160. {
  161. uint32_t ___m_value;
  162. };
  163. struct UInt64_t8F12534CC8FC4B5860F2A2CD1EE79D322E7A41AF
  164. {
  165. uint64_t ___m_value;
  166. };
  167. struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7
  168. {
  169. float ___x;
  170. float ___y;
  171. };
  172. struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2
  173. {
  174. float ___x;
  175. float ___y;
  176. float ___z;
  177. };
  178. struct Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3
  179. {
  180. float ___x;
  181. float ___y;
  182. float ___z;
  183. float ___w;
  184. };
  185. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  186. {
  187. union
  188. {
  189. struct
  190. {
  191. };
  192. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  193. };
  194. };
  195. #pragma pack(push, tp, 1)
  196. struct __StaticArrayInitTypeSizeU3D52_t5C0E8151C1B980375F9A2C1AB603613E2C1F9FA5
  197. {
  198. union
  199. {
  200. struct
  201. {
  202. union
  203. {
  204. };
  205. };
  206. uint8_t __StaticArrayInitTypeSizeU3D52_t5C0E8151C1B980375F9A2C1AB603613E2C1F9FA5__padding[52];
  207. };
  208. };
  209. #pragma pack(pop, tp)
  210. #pragma pack(push, tp, 1)
  211. struct __StaticArrayInitTypeSizeU3D83_t102A589530FC4F7C7E91E79894E18ABFC083339F
  212. {
  213. union
  214. {
  215. struct
  216. {
  217. union
  218. {
  219. };
  220. };
  221. uint8_t __StaticArrayInitTypeSizeU3D83_t102A589530FC4F7C7E91E79894E18ABFC083339F__padding[83];
  222. };
  223. };
  224. #pragma pack(pop, tp)
  225. struct MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A
  226. {
  227. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___FilePathsData;
  228. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___TypesData;
  229. int32_t ___TotalTypes;
  230. int32_t ___TotalFiles;
  231. bool ___IsEditorOnly;
  232. };
  233. struct MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshaled_pinvoke
  234. {
  235. Il2CppSafeArray* ___FilePathsData;
  236. Il2CppSafeArray* ___TypesData;
  237. int32_t ___TotalTypes;
  238. int32_t ___TotalFiles;
  239. int32_t ___IsEditorOnly;
  240. };
  241. struct MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshaled_com
  242. {
  243. Il2CppSafeArray* ___FilePathsData;
  244. Il2CppSafeArray* ___TypesData;
  245. int32_t ___TotalTypes;
  246. int32_t ___TotalFiles;
  247. int32_t ___IsEditorOnly;
  248. };
  249. struct Delegate_t : public RuntimeObject
  250. {
  251. intptr_t ___method_ptr;
  252. intptr_t ___invoke_impl;
  253. RuntimeObject* ___m_target;
  254. intptr_t ___method;
  255. intptr_t ___delegate_trampoline;
  256. intptr_t ___extra_arg;
  257. intptr_t ___method_code;
  258. intptr_t ___interp_method;
  259. intptr_t ___interp_invoke_impl;
  260. MethodInfo_t* ___method_info;
  261. MethodInfo_t* ___original_method_info;
  262. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  263. bool ___method_is_virtual;
  264. };
  265. struct Delegate_t_marshaled_pinvoke
  266. {
  267. intptr_t ___method_ptr;
  268. intptr_t ___invoke_impl;
  269. Il2CppIUnknown* ___m_target;
  270. intptr_t ___method;
  271. intptr_t ___delegate_trampoline;
  272. intptr_t ___extra_arg;
  273. intptr_t ___method_code;
  274. intptr_t ___interp_method;
  275. intptr_t ___interp_invoke_impl;
  276. MethodInfo_t* ___method_info;
  277. MethodInfo_t* ___original_method_info;
  278. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  279. int32_t ___method_is_virtual;
  280. };
  281. struct Delegate_t_marshaled_com
  282. {
  283. intptr_t ___method_ptr;
  284. intptr_t ___invoke_impl;
  285. Il2CppIUnknown* ___m_target;
  286. intptr_t ___method;
  287. intptr_t ___delegate_trampoline;
  288. intptr_t ___extra_arg;
  289. intptr_t ___method_code;
  290. intptr_t ___interp_method;
  291. intptr_t ___interp_invoke_impl;
  292. MethodInfo_t* ___method_info;
  293. MethodInfo_t* ___original_method_info;
  294. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data;
  295. int32_t ___method_is_virtual;
  296. };
  297. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
  298. {
  299. intptr_t ___m_CachedPtr;
  300. };
  301. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
  302. {
  303. intptr_t ___m_CachedPtr;
  304. };
  305. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
  306. {
  307. intptr_t ___m_CachedPtr;
  308. };
  309. struct RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5
  310. {
  311. intptr_t ___value;
  312. };
  313. struct XrReferenceSpaceType_tB5F3A00C5E338C614F6A669E22F1D8D8109027EA
  314. {
  315. int32_t ___value__;
  316. };
  317. struct XrResult_tC6E780422C0CF27153FB9B0ED7D1F60015608195
  318. {
  319. int32_t ___value__;
  320. };
  321. struct XrSessionState_t37256CF14CB416608564D92545949BCD658FEB58
  322. {
  323. int32_t ___value__;
  324. };
  325. struct XrSpaceLocationFlags_t3C587A971008E3722DED84AA19218D03566B7566
  326. {
  327. int32_t ___value__;
  328. };
  329. struct XrViewConfigurationType_tB777349EBBC14C1129DEF6AC9EE3D95B77C48CB5
  330. {
  331. int32_t ___value__;
  332. };
  333. struct XrViewStateFlags_tA67DBF5B3324F5E2A9D9E65DCA310E5AFEE49472
  334. {
  335. int32_t ___value__;
  336. };
  337. struct ScriptEvent_t98D7BEA7A83AEC5AC0316FCED0B85028D4E75DAD
  338. {
  339. int32_t ___value__;
  340. };
  341. struct DepthSubmissionMode_t5F7957415FA4DF079190A0C0945DB1151FCFB5FF
  342. {
  343. int32_t ___value__;
  344. };
  345. struct RenderMode_t8246FBEEBB6A894F584A170D982FA39194FE1473
  346. {
  347. int32_t ___value__;
  348. };
  349. struct MulticastDelegate_t : public Delegate_t
  350. {
  351. DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates;
  352. };
  353. struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
  354. {
  355. Delegate_t_marshaled_pinvoke** ___delegates;
  356. };
  357. struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
  358. {
  359. Delegate_t_marshaled_com** ___delegates;
  360. };
  361. struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  362. {
  363. };
  364. struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_pinvoke : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
  365. {
  366. };
  367. struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_com : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
  368. {
  369. };
  370. struct AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C : public MulticastDelegate_t
  371. {
  372. };
  373. struct OpenXRFeature_tC2F8F480D62C277B2ECDD605F64E45053CD85143 : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
  374. {
  375. bool ___m_enabled;
  376. bool ___U3CfailedInitializationU3Ek__BackingField;
  377. String_t* ___nameUi;
  378. String_t* ___version;
  379. String_t* ___featureIdInternal;
  380. String_t* ___openxrExtensionStrings;
  381. String_t* ___company;
  382. int32_t ___priority;
  383. bool ___required;
  384. bool ___internalFieldsUpdated;
  385. };
  386. struct OpenXRSettings_tC785370EE9F65516FED2B31400BF71DC84F94B55 : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
  387. {
  388. OpenXRFeatureU5BU5D_t1E8B328877C0D98F92ADE93D6F8C6536F92C3F3F* ___features;
  389. int32_t ___m_renderMode;
  390. int32_t ___m_depthSubmissionMode;
  391. bool ___m_optimizeBufferDiscards;
  392. bool ___m_symmetricProjection;
  393. };
  394. struct AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552 : public MulticastDelegate_t
  395. {
  396. };
  397. struct BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA : public MulticastDelegate_t
  398. {
  399. };
  400. struct ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20 : public MulticastDelegate_t
  401. {
  402. };
  403. struct MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF : public OpenXRFeature_tC2F8F480D62C277B2ECDD605F64E45053CD85143
  404. {
  405. bool ___ignoreValidationErrors;
  406. };
  407. struct U3CPrivateImplementationDetailsU3E_t5FDCDC2DD8737CA96B5E90A61CC225D9DD824D7A_StaticFields
  408. {
  409. __StaticArrayInitTypeSizeU3D83_t102A589530FC4F7C7E91E79894E18ABFC083339F ___4C913DBA2FB40994200075EE761FF59E793D510D9264BD6FA1224B5DD7FC30BD;
  410. __StaticArrayInitTypeSizeU3D52_t5C0E8151C1B980375F9A2C1AB603613E2C1F9FA5 ___95582EB8EE8C2DE553231A0C8DE68B3164F5A8B7422D85CD33440D3838951410;
  411. };
  412. struct String_t_StaticFields
  413. {
  414. String_t* ___Empty;
  415. };
  416. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  417. {
  418. String_t* ___TrueString;
  419. String_t* ___FalseString;
  420. };
  421. struct IntPtr_t_StaticFields
  422. {
  423. intptr_t ___Zero;
  424. };
  425. struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields
  426. {
  427. Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___identityQuaternion;
  428. };
  429. struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_StaticFields
  430. {
  431. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___zeroVector;
  432. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___oneVector;
  433. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___upVector;
  434. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___downVector;
  435. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___leftVector;
  436. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___rightVector;
  437. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___positiveInfinityVector;
  438. Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___negativeInfinityVector;
  439. };
  440. struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields
  441. {
  442. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___zeroVector;
  443. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___oneVector;
  444. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upVector;
  445. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___downVector;
  446. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftVector;
  447. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightVector;
  448. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forwardVector;
  449. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___backVector;
  450. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positiveInfinityVector;
  451. Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___negativeInfinityVector;
  452. };
  453. struct Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3_StaticFields
  454. {
  455. Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___zeroVector;
  456. Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___oneVector;
  457. Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___positiveInfinityVector;
  458. Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___negativeInfinityVector;
  459. };
  460. struct OpenXRFeature_tC2F8F480D62C277B2ECDD605F64E45053CD85143_StaticFields
  461. {
  462. bool ___U3CrequiredFeatureFailedU3Ek__BackingField;
  463. };
  464. struct OpenXRSettings_tC785370EE9F65516FED2B31400BF71DC84F94B55_StaticFields
  465. {
  466. OpenXRSettings_tC785370EE9F65516FED2B31400BF71DC84F94B55* ___s_RuntimeInstance;
  467. };
  468. struct MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields
  469. {
  470. Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* ___s_AfterFunctionCallbacks;
  471. Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* ___s_BeforeFunctionCallbacks;
  472. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* ___onScriptEvent;
  473. };
  474. #ifdef __clang__
  475. #pragma clang diagnostic pop
  476. #endif
  477. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031 : public RuntimeArray
  478. {
  479. ALIGN_FIELD (8) uint8_t m_Items[1];
  480. inline uint8_t GetAt(il2cpp_array_size_t index) const
  481. {
  482. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  483. return m_Items[index];
  484. }
  485. inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
  486. {
  487. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  488. return m_Items + index;
  489. }
  490. inline void SetAt(il2cpp_array_size_t index, uint8_t value)
  491. {
  492. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  493. m_Items[index] = value;
  494. }
  495. inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
  496. {
  497. return m_Items[index];
  498. }
  499. inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  500. {
  501. return m_Items + index;
  502. }
  503. inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
  504. {
  505. m_Items[index] = value;
  506. }
  507. };
  508. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771 : public RuntimeArray
  509. {
  510. ALIGN_FIELD (8) Delegate_t* m_Items[1];
  511. inline Delegate_t* GetAt(il2cpp_array_size_t index) const
  512. {
  513. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  514. return m_Items[index];
  515. }
  516. inline Delegate_t** GetAddressAt(il2cpp_array_size_t index)
  517. {
  518. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  519. return m_Items + index;
  520. }
  521. inline void SetAt(il2cpp_array_size_t index, Delegate_t* value)
  522. {
  523. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  524. m_Items[index] = value;
  525. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  526. }
  527. inline Delegate_t* GetAtUnchecked(il2cpp_array_size_t index) const
  528. {
  529. return m_Items[index];
  530. }
  531. inline Delegate_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
  532. {
  533. return m_Items + index;
  534. }
  535. inline void SetAtUnchecked(il2cpp_array_size_t index, Delegate_t* value)
  536. {
  537. m_Items[index] = value;
  538. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  539. }
  540. };
  541. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* OpenXRSettings_GetFeature_TisRuntimeObject_m02D495FEA638A31EB52305C2E1721CB19B84DEAC_gshared (OpenXRSettings_tC785370EE9F65516FED2B31400BF71DC84F94B55* __this, const RuntimeMethod* method) ;
  542. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m5B32FBC624618211EB461D59CFBB10E987FD1329_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, const RuntimeMethod* method) ;
  543. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_set_Item_m1A840355E8EDAECEA9D0C6F5E51B248FAA449CBD_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, RuntimeObject* ___0_key, RuntimeObject* ___1_value, const RuntimeMethod* method) ;
  544. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_Remove_m5C7C45E75D951A75843F3F7AADD56ECD64F6BC86_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, RuntimeObject* ___0_key, const RuntimeMethod* method) ;
  545. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Dictionary_2_get_Count_m4DDA9442C238A443489115E22B026AD366851549_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, const RuntimeMethod* method) ;
  546. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_mD15380A4ED7CDEE99EA45881577D26BA9CE1B849_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, RuntimeObject* ___0_key, RuntimeObject** ___1_value, const RuntimeMethod* method) ;
  547. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B (RuntimeArray* ___0_array, RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 ___1_fldHandle, const RuntimeMethod* method) ;
  548. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
  549. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_ReceiveScriptEvent_m4A8AAF0A455A02262E3B74CB3DB498A88C84AD14 (int32_t ___0_evt, uint64_t ___1_param, const RuntimeMethod* method) ;
  550. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MockRuntime_BeforeFunctionCallback_m70AB6148D0D9FCD315ACDB6B46131514D128380D (String_t* ___0_function, const RuntimeMethod* method) ;
  551. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_AfterFunctionCallback_mFBBF94D9868CA6870E3A6A78D831145376372D46 (String_t* ___0_function, int32_t ___1_result, const RuntimeMethod* method) ;
  552. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t* Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00 (Delegate_t* ___0_a, Delegate_t* ___1_b, const RuntimeMethod* method) ;
  553. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t* Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3 (Delegate_t* ___0_source, Delegate_t* ___1_value, const RuntimeMethod* method) ;
  554. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR OpenXRSettings_tC785370EE9F65516FED2B31400BF71DC84F94B55* OpenXRSettings_get_Instance_m0F645DB8A0ECC1325AD730F18479BCDCB92D1920 (const RuntimeMethod* method) ;
  555. inline MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF* OpenXRSettings_GetFeature_TisMockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_m87DF2AA7C62867FE357F972E35BD6E581BC7210F (OpenXRSettings_tC785370EE9F65516FED2B31400BF71DC84F94B55* __this, const RuntimeMethod* method)
  556. {
  557. return (( MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF* (*) (OpenXRSettings_tC785370EE9F65516FED2B31400BF71DC84F94B55*, const RuntimeMethod*))OpenXRSettings_GetFeature_TisRuntimeObject_m02D495FEA638A31EB52305C2E1721CB19B84DEAC_gshared)(__this, method);
  558. }
  559. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ScriptEventDelegate_Invoke_m41274335D95A563973BC60763CF3853920443403_inline (ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* __this, int32_t ___0_evt, uint64_t ___1_param, const RuntimeMethod* method) ;
  560. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* MockRuntime_GetBeforeFunctionCallback_m8A4593BAA8491A259FFD295B1A9924621780188F (String_t* ___0_function, const RuntimeMethod* method) ;
  561. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t BeforeFunctionDelegate_Invoke_mAA46B0A8103DF4E9C729D21D736BB9E6A38C70CA_inline (BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* __this, String_t* ___0_functionName, const RuntimeMethod* method) ;
  562. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* MockRuntime_GetAfterFunctionCallback_m63FC36538AF51721A135FFB7FB206A6D2E85C2C8 (String_t* ___0_function, const RuntimeMethod* method) ;
  563. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void AfterFunctionDelegate_Invoke_mF8B0A0BF8DCC84E37AB367200F2D081B9706A115_inline (AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* __this, String_t* ___0_functionName, int32_t ___1_result, const RuntimeMethod* method) ;
  564. inline void Dictionary_2__ctor_m9C4D0FB47A0BF06B9963582354883C7F4922A84D (Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* __this, const RuntimeMethod* method)
  565. {
  566. (( void (*) (Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F*, const RuntimeMethod*))Dictionary_2__ctor_m5B32FBC624618211EB461D59CFBB10E987FD1329_gshared)(__this, method);
  567. }
  568. inline void Dictionary_2_set_Item_m17C6500F4A39584F230E69E055B6EDCF7CE4032E (Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* __this, String_t* ___0_key, BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* ___1_value, const RuntimeMethod* method)
  569. {
  570. (( void (*) (Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F*, String_t*, BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA*, const RuntimeMethod*))Dictionary_2_set_Item_m1A840355E8EDAECEA9D0C6F5E51B248FAA449CBD_gshared)(__this, ___0_key, ___1_value, method);
  571. }
  572. inline bool Dictionary_2_Remove_m1D16C2805D2C90CE9E9F75DD087A02771665799C (Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* __this, String_t* ___0_key, const RuntimeMethod* method)
  573. {
  574. return (( bool (*) (Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F*, String_t*, const RuntimeMethod*))Dictionary_2_Remove_m5C7C45E75D951A75843F3F7AADD56ECD64F6BC86_gshared)(__this, ___0_key, method);
  575. }
  576. inline int32_t Dictionary_2_get_Count_m53A2E81E4273B7F237467FD0E411CD76F6A335D0 (Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* __this, const RuntimeMethod* method)
  577. {
  578. return (( int32_t (*) (Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F*, const RuntimeMethod*))Dictionary_2_get_Count_m4DDA9442C238A443489115E22B026AD366851549_gshared)(__this, method);
  579. }
  580. inline void Dictionary_2__ctor_m17FD7D5D71E4212B62A691A7F0CD5526EAC6AC39 (Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* __this, const RuntimeMethod* method)
  581. {
  582. (( void (*) (Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6*, const RuntimeMethod*))Dictionary_2__ctor_m5B32FBC624618211EB461D59CFBB10E987FD1329_gshared)(__this, method);
  583. }
  584. inline void Dictionary_2_set_Item_mEB67AD45031F043BBC4B9E563EC2D2518BAFDE22 (Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* __this, String_t* ___0_key, AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* ___1_value, const RuntimeMethod* method)
  585. {
  586. (( void (*) (Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6*, String_t*, AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552*, const RuntimeMethod*))Dictionary_2_set_Item_m1A840355E8EDAECEA9D0C6F5E51B248FAA449CBD_gshared)(__this, ___0_key, ___1_value, method);
  587. }
  588. inline bool Dictionary_2_Remove_m786082F7C7C48014E4310D38AEC2BEB53FD2869C (Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* __this, String_t* ___0_key, const RuntimeMethod* method)
  589. {
  590. return (( bool (*) (Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6*, String_t*, const RuntimeMethod*))Dictionary_2_Remove_m5C7C45E75D951A75843F3F7AADD56ECD64F6BC86_gshared)(__this, ___0_key, method);
  591. }
  592. inline int32_t Dictionary_2_get_Count_m9C89607F22DE5CBC0F10E446E79188543493C0E1 (Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* __this, const RuntimeMethod* method)
  593. {
  594. return (( int32_t (*) (Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6*, const RuntimeMethod*))Dictionary_2_get_Count_m4DDA9442C238A443489115E22B026AD366851549_gshared)(__this, method);
  595. }
  596. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BeforeFunctionDelegate__ctor_m42A11E8DDD8B3706497D8CF87F6853D961D0C832 (BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
  597. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AfterFunctionDelegate__ctor_m70B1A5F67C275B7064C9E1731B27326B97913F96 (AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
  598. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_MockRuntime_RegisterFunctionCallbacks_m8FE38D5A0491C53530C2765EA4BA2CFDCA278A58 (BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* ___0_hookBefore, AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* ___1_hookAfter, const RuntimeMethod* method) ;
  599. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_SetFunctionCallback_m476A00166B662C960AF422A999BC4AD499E2F23C (String_t* ___0_function, BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* ___1_beforeCallback, AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* ___2_afterCallback, const RuntimeMethod* method) ;
  600. inline bool Dictionary_2_TryGetValue_m18B2157D65C4F2FC765F9AF4B4EBF7B8FF174E4F (Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* __this, String_t* ___0_key, BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA** ___1_value, const RuntimeMethod* method)
  601. {
  602. return (( bool (*) (Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F*, String_t*, BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA**, const RuntimeMethod*))Dictionary_2_TryGetValue_mD15380A4ED7CDEE99EA45881577D26BA9CE1B849_gshared)(__this, ___0_key, ___1_value, method);
  603. }
  604. inline bool Dictionary_2_TryGetValue_mC24ED42B1D62F196005DEF99454A30DCEF6E0A5F (Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* __this, String_t* ___0_key, AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552** ___1_value, const RuntimeMethod* method)
  605. {
  606. return (( bool (*) (Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6*, String_t*, AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552**, const RuntimeMethod*))Dictionary_2_TryGetValue_mD15380A4ED7CDEE99EA45881577D26BA9CE1B849_gshared)(__this, ___0_key, ___1_value, method);
  607. }
  608. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_ClearFunctionCallbacks_m90C02869CBC305172014649CC205D02AB4A5071C (const RuntimeMethod* method) ;
  609. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OpenXRFeature__ctor_m120460E34ECC22ED2DB96797A6DCB5C870E78852 (OpenXRFeature_tC2F8F480D62C277B2ECDD605F64E45053CD85143* __this, const RuntimeMethod* method) ;
  610. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  611. IL2CPP_EXTERN_C intptr_t DEFAULT_CALL MockRuntime_HookCreateInstance(intptr_t);
  612. #endif
  613. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  614. IL2CPP_EXTERN_C void DEFAULT_CALL MockRuntime_SetKeepFunctionCallbacks(int8_t);
  615. #endif
  616. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  617. IL2CPP_EXTERN_C void DEFAULT_CALL MockRuntime_SetView(int32_t, int32_t, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3);
  618. #endif
  619. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  620. IL2CPP_EXTERN_C void DEFAULT_CALL MockRuntime_SetViewState(int32_t, int32_t);
  621. #endif
  622. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  623. IL2CPP_EXTERN_C void DEFAULT_CALL MockRuntime_SetReferenceSpace(int32_t, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974, int32_t);
  624. #endif
  625. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  626. IL2CPP_EXTERN_C void DEFAULT_CALL MockRuntime_SetActionSpace(uint64_t, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974, int32_t);
  627. #endif
  628. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  629. IL2CPP_EXTERN_C int32_t DEFAULT_CALL MockRuntime_RegisterScriptEventCallback(Il2CppMethodPointer);
  630. #endif
  631. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  632. IL2CPP_EXTERN_C int8_t DEFAULT_CALL MockRuntime_TransitionToState(int32_t, int8_t);
  633. #endif
  634. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  635. IL2CPP_EXTERN_C int32_t DEFAULT_CALL MockRuntime_GetSessionState();
  636. #endif
  637. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  638. IL2CPP_EXTERN_C void DEFAULT_CALL MockRuntime_RequestExitSession();
  639. #endif
  640. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  641. IL2CPP_EXTERN_C void DEFAULT_CALL MockRuntime_CauseInstanceLoss();
  642. #endif
  643. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  644. IL2CPP_EXTERN_C void DEFAULT_CALL MockRuntime_SetReferenceSpaceBounds(int32_t, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7);
  645. #endif
  646. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  647. IL2CPP_EXTERN_C void DEFAULT_CALL MockRuntime_GetEndFrameStats(int32_t*, int32_t*);
  648. #endif
  649. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  650. IL2CPP_EXTERN_C void DEFAULT_CALL MockRuntime_ActivateSecondaryView(int32_t, int8_t);
  651. #endif
  652. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  653. IL2CPP_EXTERN_C void DEFAULT_CALL MockRuntime_RegisterFunctionCallbacks(Il2CppMethodPointer, Il2CppMethodPointer);
  654. #endif
  655. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  656. IL2CPP_EXTERN_C void DEFAULT_CALL MockRuntime_MetaPerformanceMetrics_SeedCounterOnce_Float(char*, float, uint32_t);
  657. #endif
  658. #ifdef __clang__
  659. #pragma clang diagnostic push
  660. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  661. #pragma clang diagnostic ignored "-Wunused-variable"
  662. #endif
  663. #ifdef __clang__
  664. #pragma clang diagnostic pop
  665. #endif
  666. #ifdef __clang__
  667. #pragma clang diagnostic push
  668. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  669. #pragma clang diagnostic ignored "-Wunused-variable"
  670. #endif
  671. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A UnitySourceGeneratedAssemblyMonoScriptTypes_v1_Get_mDAD71FA06BDF8C7AD0E33D77406B63DCF4BFA04B (const RuntimeMethod* method)
  672. {
  673. static bool s_Il2CppMethodInitialized;
  674. if (!s_Il2CppMethodInitialized)
  675. {
  676. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var);
  677. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_t5FDCDC2DD8737CA96B5E90A61CC225D9DD824D7A____4C913DBA2FB40994200075EE761FF59E793D510D9264BD6FA1224B5DD7FC30BD_FieldInfo_var);
  678. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_t5FDCDC2DD8737CA96B5E90A61CC225D9DD824D7A____95582EB8EE8C2DE553231A0C8DE68B3164F5A8B7422D85CD33440D3838951410_FieldInfo_var);
  679. s_Il2CppMethodInitialized = true;
  680. }
  681. MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A V_0;
  682. memset((&V_0), 0, sizeof(V_0));
  683. {
  684. il2cpp_codegen_initobj((&V_0), sizeof(MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A));
  685. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_0 = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)SZArrayNew(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var, (uint32_t)((int32_t)83));
  686. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_1 = L_0;
  687. RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t5FDCDC2DD8737CA96B5E90A61CC225D9DD824D7A____4C913DBA2FB40994200075EE761FF59E793D510D9264BD6FA1224B5DD7FC30BD_FieldInfo_var) };
  688. RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B((RuntimeArray*)L_1, L_2, NULL);
  689. (&V_0)->___FilePathsData = L_1;
  690. Il2CppCodeGenWriteBarrier((void**)(&(&V_0)->___FilePathsData), (void*)L_1);
  691. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_3 = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)SZArrayNew(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var, (uint32_t)((int32_t)52));
  692. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_4 = L_3;
  693. RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 L_5 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t5FDCDC2DD8737CA96B5E90A61CC225D9DD824D7A____95582EB8EE8C2DE553231A0C8DE68B3164F5A8B7422D85CD33440D3838951410_FieldInfo_var) };
  694. RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B((RuntimeArray*)L_4, L_5, NULL);
  695. (&V_0)->___TypesData = L_4;
  696. Il2CppCodeGenWriteBarrier((void**)(&(&V_0)->___TypesData), (void*)L_4);
  697. (&V_0)->___TotalFiles = 1;
  698. (&V_0)->___TotalTypes = 1;
  699. (&V_0)->___IsEditorOnly = (bool)0;
  700. MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A L_6 = V_0;
  701. return L_6;
  702. }
  703. }
  704. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnitySourceGeneratedAssemblyMonoScriptTypes_v1__ctor_mC7945F740961D5FA514CE655B624B8298FF9DEE7 (UnitySourceGeneratedAssemblyMonoScriptTypes_v1_t9D9BBDE46B6999BCB3E1FDA40C264DF881B4608F* __this, const RuntimeMethod* method)
  705. {
  706. {
  707. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  708. return;
  709. }
  710. }
  711. #ifdef __clang__
  712. #pragma clang diagnostic pop
  713. #endif
  714. #ifdef __clang__
  715. #pragma clang diagnostic push
  716. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  717. #pragma clang diagnostic ignored "-Wunused-variable"
  718. #endif
  719. IL2CPP_EXTERN_C void MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshal_pinvoke(const MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A& unmarshaled, MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshaled_pinvoke& marshaled)
  720. {
  721. marshaled.___FilePathsData = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I1, unmarshaled.___FilePathsData);
  722. marshaled.___TypesData = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I1, unmarshaled.___TypesData);
  723. marshaled.___TotalTypes = unmarshaled.___TotalTypes;
  724. marshaled.___TotalFiles = unmarshaled.___TotalFiles;
  725. marshaled.___IsEditorOnly = static_cast<int32_t>(unmarshaled.___IsEditorOnly);
  726. }
  727. IL2CPP_EXTERN_C void MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshal_pinvoke_back(const MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshaled_pinvoke& marshaled, MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A& unmarshaled)
  728. {
  729. static bool s_Il2CppMethodInitialized;
  730. if (!s_Il2CppMethodInitialized)
  731. {
  732. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var);
  733. s_Il2CppMethodInitialized = true;
  734. }
  735. unmarshaled.___FilePathsData = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___FilePathsData);
  736. Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___FilePathsData), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___FilePathsData));
  737. unmarshaled.___TypesData = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___TypesData);
  738. Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___TypesData), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___TypesData));
  739. int32_t unmarshaledTotalTypes_temp_2 = 0;
  740. unmarshaledTotalTypes_temp_2 = marshaled.___TotalTypes;
  741. unmarshaled.___TotalTypes = unmarshaledTotalTypes_temp_2;
  742. int32_t unmarshaledTotalFiles_temp_3 = 0;
  743. unmarshaledTotalFiles_temp_3 = marshaled.___TotalFiles;
  744. unmarshaled.___TotalFiles = unmarshaledTotalFiles_temp_3;
  745. bool unmarshaledIsEditorOnly_temp_4 = false;
  746. unmarshaledIsEditorOnly_temp_4 = static_cast<bool>(marshaled.___IsEditorOnly);
  747. unmarshaled.___IsEditorOnly = unmarshaledIsEditorOnly_temp_4;
  748. }
  749. IL2CPP_EXTERN_C void MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshal_pinvoke_cleanup(MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshaled_pinvoke& marshaled)
  750. {
  751. il2cpp_codegen_com_destroy_safe_array(marshaled.___FilePathsData);
  752. marshaled.___FilePathsData = NULL;
  753. il2cpp_codegen_com_destroy_safe_array(marshaled.___TypesData);
  754. marshaled.___TypesData = NULL;
  755. }
  756. IL2CPP_EXTERN_C void MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshal_com(const MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A& unmarshaled, MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshaled_com& marshaled)
  757. {
  758. marshaled.___FilePathsData = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I1, unmarshaled.___FilePathsData);
  759. marshaled.___TypesData = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I1, unmarshaled.___TypesData);
  760. marshaled.___TotalTypes = unmarshaled.___TotalTypes;
  761. marshaled.___TotalFiles = unmarshaled.___TotalFiles;
  762. marshaled.___IsEditorOnly = static_cast<int32_t>(unmarshaled.___IsEditorOnly);
  763. }
  764. IL2CPP_EXTERN_C void MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshal_com_back(const MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshaled_com& marshaled, MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A& unmarshaled)
  765. {
  766. static bool s_Il2CppMethodInitialized;
  767. if (!s_Il2CppMethodInitialized)
  768. {
  769. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var);
  770. s_Il2CppMethodInitialized = true;
  771. }
  772. unmarshaled.___FilePathsData = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___FilePathsData);
  773. Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___FilePathsData), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___FilePathsData));
  774. unmarshaled.___TypesData = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___TypesData);
  775. Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___TypesData), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___TypesData));
  776. int32_t unmarshaledTotalTypes_temp_2 = 0;
  777. unmarshaledTotalTypes_temp_2 = marshaled.___TotalTypes;
  778. unmarshaled.___TotalTypes = unmarshaledTotalTypes_temp_2;
  779. int32_t unmarshaledTotalFiles_temp_3 = 0;
  780. unmarshaledTotalFiles_temp_3 = marshaled.___TotalFiles;
  781. unmarshaled.___TotalFiles = unmarshaledTotalFiles_temp_3;
  782. bool unmarshaledIsEditorOnly_temp_4 = false;
  783. unmarshaledIsEditorOnly_temp_4 = static_cast<bool>(marshaled.___IsEditorOnly);
  784. unmarshaled.___IsEditorOnly = unmarshaledIsEditorOnly_temp_4;
  785. }
  786. IL2CPP_EXTERN_C void MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshal_com_cleanup(MonoScriptData_t1937A0D208CAB12CBD5CCE13C69E45869878CB4A_marshaled_com& marshaled)
  787. {
  788. il2cpp_codegen_com_destroy_safe_array(marshaled.___FilePathsData);
  789. marshaled.___FilePathsData = NULL;
  790. il2cpp_codegen_com_destroy_safe_array(marshaled.___TypesData);
  791. marshaled.___TypesData = NULL;
  792. }
  793. #ifdef __clang__
  794. #pragma clang diagnostic pop
  795. #endif
  796. #ifdef __clang__
  797. #pragma clang diagnostic push
  798. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  799. #pragma clang diagnostic ignored "-Wunused-variable"
  800. #endif
  801. extern "C" void DEFAULT_CALL ReversePInvokeWrapper_MockRuntime_ReceiveScriptEvent_m4A8AAF0A455A02262E3B74CB3DB498A88C84AD14(int32_t ___0_evt, uint64_t ___1_param)
  802. {
  803. il2cpp::vm::ScopedThreadAttacher _vmThreadHelper;
  804. MockRuntime_ReceiveScriptEvent_m4A8AAF0A455A02262E3B74CB3DB498A88C84AD14(___0_evt, ___1_param, NULL);
  805. }
  806. extern "C" int32_t DEFAULT_CALL ReversePInvokeWrapper_MockRuntime_BeforeFunctionCallback_m70AB6148D0D9FCD315ACDB6B46131514D128380D(char* ___0_function)
  807. {
  808. il2cpp::vm::ScopedThreadAttacher _vmThreadHelper;
  809. String_t* ____0_function_unmarshaled = NULL;
  810. ____0_function_unmarshaled = il2cpp_codegen_marshal_string_result(___0_function);
  811. int32_t returnValue;
  812. returnValue = MockRuntime_BeforeFunctionCallback_m70AB6148D0D9FCD315ACDB6B46131514D128380D(____0_function_unmarshaled, NULL);
  813. return returnValue;
  814. }
  815. extern "C" void DEFAULT_CALL ReversePInvokeWrapper_MockRuntime_AfterFunctionCallback_mFBBF94D9868CA6870E3A6A78D831145376372D46(char* ___0_function, int32_t ___1_result)
  816. {
  817. il2cpp::vm::ScopedThreadAttacher _vmThreadHelper;
  818. String_t* ____0_function_unmarshaled = NULL;
  819. ____0_function_unmarshaled = il2cpp_codegen_marshal_string_result(___0_function);
  820. MockRuntime_AfterFunctionCallback_mFBBF94D9868CA6870E3A6A78D831145376372D46(____0_function_unmarshaled, ___1_result, NULL);
  821. }
  822. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_add_onScriptEvent_m9069E77F78C10D6FEACC1E52B25723B6899FD518 (ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* ___0_value, const RuntimeMethod* method)
  823. {
  824. static bool s_Il2CppMethodInitialized;
  825. if (!s_Il2CppMethodInitialized)
  826. {
  827. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var);
  828. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20_il2cpp_TypeInfo_var);
  829. s_Il2CppMethodInitialized = true;
  830. }
  831. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* V_0 = NULL;
  832. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* V_1 = NULL;
  833. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* V_2 = NULL;
  834. {
  835. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_0 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___onScriptEvent;
  836. V_0 = L_0;
  837. }
  838. IL_0006:
  839. {
  840. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_1 = V_0;
  841. V_1 = L_1;
  842. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_2 = V_1;
  843. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_3 = ___0_value;
  844. Delegate_t* L_4;
  845. L_4 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_2, L_3, NULL);
  846. V_2 = ((ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20*)CastclassSealed((RuntimeObject*)L_4, ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20_il2cpp_TypeInfo_var));
  847. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_5 = V_2;
  848. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_6 = V_1;
  849. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_7;
  850. L_7 = InterlockedCompareExchangeImpl<ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20*>((&((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___onScriptEvent), L_5, L_6);
  851. V_0 = L_7;
  852. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_8 = V_0;
  853. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_9 = V_1;
  854. if ((!(((RuntimeObject*)(ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20*)L_8) == ((RuntimeObject*)(ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20*)L_9))))
  855. {
  856. goto IL_0006;
  857. }
  858. }
  859. {
  860. return;
  861. }
  862. }
  863. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_remove_onScriptEvent_m0DD8AD22877545F984D4B8FB9630976A7A60B49D (ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* ___0_value, const RuntimeMethod* method)
  864. {
  865. static bool s_Il2CppMethodInitialized;
  866. if (!s_Il2CppMethodInitialized)
  867. {
  868. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var);
  869. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20_il2cpp_TypeInfo_var);
  870. s_Il2CppMethodInitialized = true;
  871. }
  872. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* V_0 = NULL;
  873. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* V_1 = NULL;
  874. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* V_2 = NULL;
  875. {
  876. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_0 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___onScriptEvent;
  877. V_0 = L_0;
  878. }
  879. IL_0006:
  880. {
  881. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_1 = V_0;
  882. V_1 = L_1;
  883. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_2 = V_1;
  884. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_3 = ___0_value;
  885. Delegate_t* L_4;
  886. L_4 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_2, L_3, NULL);
  887. V_2 = ((ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20*)CastclassSealed((RuntimeObject*)L_4, ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20_il2cpp_TypeInfo_var));
  888. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_5 = V_2;
  889. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_6 = V_1;
  890. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_7;
  891. L_7 = InterlockedCompareExchangeImpl<ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20*>((&((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___onScriptEvent), L_5, L_6);
  892. V_0 = L_7;
  893. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_8 = V_0;
  894. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_9 = V_1;
  895. if ((!(((RuntimeObject*)(ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20*)L_8) == ((RuntimeObject*)(ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20*)L_9))))
  896. {
  897. goto IL_0006;
  898. }
  899. }
  900. {
  901. return;
  902. }
  903. }
  904. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF* MockRuntime_get_Instance_m2C06B5DA0B6B37B53C528CC246D6BB6C3AFDB1CD (const RuntimeMethod* method)
  905. {
  906. static bool s_Il2CppMethodInitialized;
  907. if (!s_Il2CppMethodInitialized)
  908. {
  909. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&OpenXRSettings_GetFeature_TisMockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_m87DF2AA7C62867FE357F972E35BD6E581BC7210F_RuntimeMethod_var);
  910. s_Il2CppMethodInitialized = true;
  911. }
  912. {
  913. OpenXRSettings_tC785370EE9F65516FED2B31400BF71DC84F94B55* L_0;
  914. L_0 = OpenXRSettings_get_Instance_m0F645DB8A0ECC1325AD730F18479BCDCB92D1920(NULL);
  915. NullCheck(L_0);
  916. MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF* L_1;
  917. L_1 = OpenXRSettings_GetFeature_TisMockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_m87DF2AA7C62867FE357F972E35BD6E581BC7210F(L_0, OpenXRSettings_GetFeature_TisMockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_m87DF2AA7C62867FE357F972E35BD6E581BC7210F_RuntimeMethod_var);
  918. return L_1;
  919. }
  920. }
  921. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_ReceiveScriptEvent_m4A8AAF0A455A02262E3B74CB3DB498A88C84AD14 (int32_t ___0_evt, uint64_t ___1_param, const RuntimeMethod* method)
  922. {
  923. static bool s_Il2CppMethodInitialized;
  924. if (!s_Il2CppMethodInitialized)
  925. {
  926. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var);
  927. s_Il2CppMethodInitialized = true;
  928. }
  929. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* G_B2_0 = NULL;
  930. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* G_B1_0 = NULL;
  931. {
  932. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_0 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___onScriptEvent;
  933. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* L_1 = L_0;
  934. if (L_1)
  935. {
  936. G_B2_0 = L_1;
  937. goto IL_000a;
  938. }
  939. G_B1_0 = L_1;
  940. }
  941. {
  942. return;
  943. }
  944. IL_000a:
  945. {
  946. int32_t L_2 = ___0_evt;
  947. uint64_t L_3 = ___1_param;
  948. NullCheck(G_B2_0);
  949. ScriptEventDelegate_Invoke_m41274335D95A563973BC60763CF3853920443403_inline(G_B2_0, L_2, L_3, NULL);
  950. return;
  951. }
  952. }
  953. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MockRuntime_BeforeFunctionCallback_m70AB6148D0D9FCD315ACDB6B46131514D128380D (String_t* ___0_function, const RuntimeMethod* method)
  954. {
  955. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* V_0 = NULL;
  956. {
  957. String_t* L_0 = ___0_function;
  958. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* L_1;
  959. L_1 = MockRuntime_GetBeforeFunctionCallback_m8A4593BAA8491A259FFD295B1A9924621780188F(L_0, NULL);
  960. V_0 = L_1;
  961. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* L_2 = V_0;
  962. if (L_2)
  963. {
  964. goto IL_000c;
  965. }
  966. }
  967. {
  968. return (int32_t)(0);
  969. }
  970. IL_000c:
  971. {
  972. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* L_3 = V_0;
  973. String_t* L_4 = ___0_function;
  974. NullCheck(L_3);
  975. int32_t L_5;
  976. L_5 = BeforeFunctionDelegate_Invoke_mAA46B0A8103DF4E9C729D21D736BB9E6A38C70CA_inline(L_3, L_4, NULL);
  977. return L_5;
  978. }
  979. }
  980. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_AfterFunctionCallback_mFBBF94D9868CA6870E3A6A78D831145376372D46 (String_t* ___0_function, int32_t ___1_result, const RuntimeMethod* method)
  981. {
  982. AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* V_0 = NULL;
  983. {
  984. String_t* L_0 = ___0_function;
  985. AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* L_1;
  986. L_1 = MockRuntime_GetAfterFunctionCallback_m63FC36538AF51721A135FFB7FB206A6D2E85C2C8(L_0, NULL);
  987. V_0 = L_1;
  988. AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* L_2 = V_0;
  989. if (L_2)
  990. {
  991. goto IL_000b;
  992. }
  993. }
  994. {
  995. return;
  996. }
  997. IL_000b:
  998. {
  999. AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* L_3 = V_0;
  1000. String_t* L_4 = ___0_function;
  1001. int32_t L_5 = ___1_result;
  1002. NullCheck(L_3);
  1003. AfterFunctionDelegate_Invoke_mF8B0A0BF8DCC84E37AB367200F2D081B9706A115_inline(L_3, L_4, L_5, NULL);
  1004. return;
  1005. }
  1006. }
  1007. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_SetFunctionCallback_m476A00166B662C960AF422A999BC4AD499E2F23C (String_t* ___0_function, BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* ___1_beforeCallback, AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* ___2_afterCallback, const RuntimeMethod* method)
  1008. {
  1009. static bool s_Il2CppMethodInitialized;
  1010. if (!s_Il2CppMethodInitialized)
  1011. {
  1012. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552_il2cpp_TypeInfo_var);
  1013. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA_il2cpp_TypeInfo_var);
  1014. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Remove_m1D16C2805D2C90CE9E9F75DD087A02771665799C_RuntimeMethod_var);
  1015. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Remove_m786082F7C7C48014E4310D38AEC2BEB53FD2869C_RuntimeMethod_var);
  1016. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_m17FD7D5D71E4212B62A691A7F0CD5526EAC6AC39_RuntimeMethod_var);
  1017. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_m9C4D0FB47A0BF06B9963582354883C7F4922A84D_RuntimeMethod_var);
  1018. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Count_m53A2E81E4273B7F237467FD0E411CD76F6A335D0_RuntimeMethod_var);
  1019. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Count_m9C89607F22DE5CBC0F10E446E79188543493C0E1_RuntimeMethod_var);
  1020. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_set_Item_m17C6500F4A39584F230E69E055B6EDCF7CE4032E_RuntimeMethod_var);
  1021. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_set_Item_mEB67AD45031F043BBC4B9E563EC2D2518BAFDE22_RuntimeMethod_var);
  1022. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6_il2cpp_TypeInfo_var);
  1023. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F_il2cpp_TypeInfo_var);
  1024. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MockRuntime_AfterFunctionCallback_mFBBF94D9868CA6870E3A6A78D831145376372D46_RuntimeMethod_var);
  1025. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MockRuntime_BeforeFunctionCallback_m70AB6148D0D9FCD315ACDB6B46131514D128380D_RuntimeMethod_var);
  1026. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var);
  1027. s_Il2CppMethodInitialized = true;
  1028. }
  1029. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* G_B17_0 = NULL;
  1030. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* G_B19_0 = NULL;
  1031. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* G_B18_0 = NULL;
  1032. AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* G_B20_0 = NULL;
  1033. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* G_B20_1 = NULL;
  1034. {
  1035. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* L_0 = ___1_beforeCallback;
  1036. if (!L_0)
  1037. {
  1038. goto IL_0022;
  1039. }
  1040. }
  1041. {
  1042. Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* L_1 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks;
  1043. if (L_1)
  1044. {
  1045. goto IL_0014;
  1046. }
  1047. }
  1048. {
  1049. Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* L_2 = (Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F*)il2cpp_codegen_object_new(Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F_il2cpp_TypeInfo_var);
  1050. Dictionary_2__ctor_m9C4D0FB47A0BF06B9963582354883C7F4922A84D(L_2, Dictionary_2__ctor_m9C4D0FB47A0BF06B9963582354883C7F4922A84D_RuntimeMethod_var);
  1051. ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks = L_2;
  1052. Il2CppCodeGenWriteBarrier((void**)(&((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks), (void*)L_2);
  1053. }
  1054. IL_0014:
  1055. {
  1056. Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* L_3 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks;
  1057. String_t* L_4 = ___0_function;
  1058. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* L_5 = ___1_beforeCallback;
  1059. NullCheck(L_3);
  1060. Dictionary_2_set_Item_m17C6500F4A39584F230E69E055B6EDCF7CE4032E(L_3, L_4, L_5, Dictionary_2_set_Item_m17C6500F4A39584F230E69E055B6EDCF7CE4032E_RuntimeMethod_var);
  1061. goto IL_0047;
  1062. }
  1063. IL_0022:
  1064. {
  1065. Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* L_6 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks;
  1066. if (!L_6)
  1067. {
  1068. goto IL_0047;
  1069. }
  1070. }
  1071. {
  1072. Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* L_7 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks;
  1073. String_t* L_8 = ___0_function;
  1074. NullCheck(L_7);
  1075. bool L_9;
  1076. L_9 = Dictionary_2_Remove_m1D16C2805D2C90CE9E9F75DD087A02771665799C(L_7, L_8, Dictionary_2_Remove_m1D16C2805D2C90CE9E9F75DD087A02771665799C_RuntimeMethod_var);
  1077. Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* L_10 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks;
  1078. NullCheck(L_10);
  1079. int32_t L_11;
  1080. L_11 = Dictionary_2_get_Count_m53A2E81E4273B7F237467FD0E411CD76F6A335D0(L_10, Dictionary_2_get_Count_m53A2E81E4273B7F237467FD0E411CD76F6A335D0_RuntimeMethod_var);
  1081. if (L_11)
  1082. {
  1083. goto IL_0047;
  1084. }
  1085. }
  1086. {
  1087. ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks = (Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F*)NULL;
  1088. Il2CppCodeGenWriteBarrier((void**)(&((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks), (void*)(Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F*)NULL);
  1089. }
  1090. IL_0047:
  1091. {
  1092. AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* L_12 = ___2_afterCallback;
  1093. if (!L_12)
  1094. {
  1095. goto IL_0069;
  1096. }
  1097. }
  1098. {
  1099. Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* L_13 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks;
  1100. if (L_13)
  1101. {
  1102. goto IL_005b;
  1103. }
  1104. }
  1105. {
  1106. Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* L_14 = (Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6*)il2cpp_codegen_object_new(Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6_il2cpp_TypeInfo_var);
  1107. Dictionary_2__ctor_m17FD7D5D71E4212B62A691A7F0CD5526EAC6AC39(L_14, Dictionary_2__ctor_m17FD7D5D71E4212B62A691A7F0CD5526EAC6AC39_RuntimeMethod_var);
  1108. ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks = L_14;
  1109. Il2CppCodeGenWriteBarrier((void**)(&((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks), (void*)L_14);
  1110. }
  1111. IL_005b:
  1112. {
  1113. Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* L_15 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks;
  1114. String_t* L_16 = ___0_function;
  1115. AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* L_17 = ___2_afterCallback;
  1116. NullCheck(L_15);
  1117. Dictionary_2_set_Item_mEB67AD45031F043BBC4B9E563EC2D2518BAFDE22(L_15, L_16, L_17, Dictionary_2_set_Item_mEB67AD45031F043BBC4B9E563EC2D2518BAFDE22_RuntimeMethod_var);
  1118. goto IL_008e;
  1119. }
  1120. IL_0069:
  1121. {
  1122. Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* L_18 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks;
  1123. if (!L_18)
  1124. {
  1125. goto IL_008e;
  1126. }
  1127. }
  1128. {
  1129. Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* L_19 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks;
  1130. String_t* L_20 = ___0_function;
  1131. NullCheck(L_19);
  1132. bool L_21;
  1133. L_21 = Dictionary_2_Remove_m786082F7C7C48014E4310D38AEC2BEB53FD2869C(L_19, L_20, Dictionary_2_Remove_m786082F7C7C48014E4310D38AEC2BEB53FD2869C_RuntimeMethod_var);
  1134. Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* L_22 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks;
  1135. NullCheck(L_22);
  1136. int32_t L_23;
  1137. L_23 = Dictionary_2_get_Count_m9C89607F22DE5CBC0F10E446E79188543493C0E1(L_22, Dictionary_2_get_Count_m9C89607F22DE5CBC0F10E446E79188543493C0E1_RuntimeMethod_var);
  1138. if (L_23)
  1139. {
  1140. goto IL_008e;
  1141. }
  1142. }
  1143. {
  1144. ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks = (Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6*)NULL;
  1145. Il2CppCodeGenWriteBarrier((void**)(&((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks), (void*)(Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6*)NULL);
  1146. }
  1147. IL_008e:
  1148. {
  1149. Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* L_24 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks;
  1150. if (L_24)
  1151. {
  1152. goto IL_0098;
  1153. }
  1154. }
  1155. {
  1156. G_B17_0 = ((BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA*)(NULL));
  1157. goto IL_00a4;
  1158. }
  1159. IL_0098:
  1160. {
  1161. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* L_25 = (BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA*)il2cpp_codegen_object_new(BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA_il2cpp_TypeInfo_var);
  1162. BeforeFunctionDelegate__ctor_m42A11E8DDD8B3706497D8CF87F6853D961D0C832(L_25, NULL, (intptr_t)((void*)MockRuntime_BeforeFunctionCallback_m70AB6148D0D9FCD315ACDB6B46131514D128380D_RuntimeMethod_var), NULL);
  1163. G_B17_0 = L_25;
  1164. }
  1165. IL_00a4:
  1166. {
  1167. Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* L_26 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks;
  1168. if (L_26)
  1169. {
  1170. G_B19_0 = G_B17_0;
  1171. goto IL_00ae;
  1172. }
  1173. G_B18_0 = G_B17_0;
  1174. }
  1175. {
  1176. G_B20_0 = ((AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552*)(NULL));
  1177. G_B20_1 = G_B18_0;
  1178. goto IL_00ba;
  1179. }
  1180. IL_00ae:
  1181. {
  1182. AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* L_27 = (AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552*)il2cpp_codegen_object_new(AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552_il2cpp_TypeInfo_var);
  1183. AfterFunctionDelegate__ctor_m70B1A5F67C275B7064C9E1731B27326B97913F96(L_27, NULL, (intptr_t)((void*)MockRuntime_AfterFunctionCallback_mFBBF94D9868CA6870E3A6A78D831145376372D46_RuntimeMethod_var), NULL);
  1184. G_B20_0 = L_27;
  1185. G_B20_1 = G_B19_0;
  1186. }
  1187. IL_00ba:
  1188. {
  1189. MockRuntime_MockRuntime_RegisterFunctionCallbacks_m8FE38D5A0491C53530C2765EA4BA2CFDCA278A58(G_B20_1, G_B20_0, NULL);
  1190. return;
  1191. }
  1192. }
  1193. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_SetFunctionCallback_m1DF6CA20A1D945E7B4AEB0557D80FD7B31912ED6 (String_t* ___0_function, BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* ___1_beforeCallback, const RuntimeMethod* method)
  1194. {
  1195. {
  1196. String_t* L_0 = ___0_function;
  1197. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* L_1 = ___1_beforeCallback;
  1198. String_t* L_2 = ___0_function;
  1199. AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* L_3;
  1200. L_3 = MockRuntime_GetAfterFunctionCallback_m63FC36538AF51721A135FFB7FB206A6D2E85C2C8(L_2, NULL);
  1201. MockRuntime_SetFunctionCallback_m476A00166B662C960AF422A999BC4AD499E2F23C(L_0, L_1, L_3, NULL);
  1202. return;
  1203. }
  1204. }
  1205. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_SetFunctionCallback_mE208EC432EA4A77FB43E51ABECF1674E2742EC17 (String_t* ___0_function, AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* ___1_afterCallback, const RuntimeMethod* method)
  1206. {
  1207. {
  1208. String_t* L_0 = ___0_function;
  1209. String_t* L_1 = ___0_function;
  1210. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* L_2;
  1211. L_2 = MockRuntime_GetBeforeFunctionCallback_m8A4593BAA8491A259FFD295B1A9924621780188F(L_1, NULL);
  1212. AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* L_3 = ___1_afterCallback;
  1213. MockRuntime_SetFunctionCallback_m476A00166B662C960AF422A999BC4AD499E2F23C(L_0, L_2, L_3, NULL);
  1214. return;
  1215. }
  1216. }
  1217. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* MockRuntime_GetBeforeFunctionCallback_m8A4593BAA8491A259FFD295B1A9924621780188F (String_t* ___0_function, const RuntimeMethod* method)
  1218. {
  1219. static bool s_Il2CppMethodInitialized;
  1220. if (!s_Il2CppMethodInitialized)
  1221. {
  1222. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_m18B2157D65C4F2FC765F9AF4B4EBF7B8FF174E4F_RuntimeMethod_var);
  1223. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var);
  1224. s_Il2CppMethodInitialized = true;
  1225. }
  1226. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* V_0 = NULL;
  1227. {
  1228. Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* L_0 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks;
  1229. if (L_0)
  1230. {
  1231. goto IL_0009;
  1232. }
  1233. }
  1234. {
  1235. return (BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA*)NULL;
  1236. }
  1237. IL_0009:
  1238. {
  1239. Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F* L_1 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks;
  1240. String_t* L_2 = ___0_function;
  1241. NullCheck(L_1);
  1242. bool L_3;
  1243. L_3 = Dictionary_2_TryGetValue_m18B2157D65C4F2FC765F9AF4B4EBF7B8FF174E4F(L_1, L_2, (&V_0), Dictionary_2_TryGetValue_m18B2157D65C4F2FC765F9AF4B4EBF7B8FF174E4F_RuntimeMethod_var);
  1244. if (L_3)
  1245. {
  1246. goto IL_001a;
  1247. }
  1248. }
  1249. {
  1250. return (BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA*)NULL;
  1251. }
  1252. IL_001a:
  1253. {
  1254. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* L_4 = V_0;
  1255. return L_4;
  1256. }
  1257. }
  1258. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* MockRuntime_GetAfterFunctionCallback_m63FC36538AF51721A135FFB7FB206A6D2E85C2C8 (String_t* ___0_function, const RuntimeMethod* method)
  1259. {
  1260. static bool s_Il2CppMethodInitialized;
  1261. if (!s_Il2CppMethodInitialized)
  1262. {
  1263. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_mC24ED42B1D62F196005DEF99454A30DCEF6E0A5F_RuntimeMethod_var);
  1264. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var);
  1265. s_Il2CppMethodInitialized = true;
  1266. }
  1267. AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* V_0 = NULL;
  1268. {
  1269. Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* L_0 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks;
  1270. if (L_0)
  1271. {
  1272. goto IL_0009;
  1273. }
  1274. }
  1275. {
  1276. return (AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552*)NULL;
  1277. }
  1278. IL_0009:
  1279. {
  1280. Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6* L_1 = ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks;
  1281. String_t* L_2 = ___0_function;
  1282. NullCheck(L_1);
  1283. bool L_3;
  1284. L_3 = Dictionary_2_TryGetValue_mC24ED42B1D62F196005DEF99454A30DCEF6E0A5F(L_1, L_2, (&V_0), Dictionary_2_TryGetValue_mC24ED42B1D62F196005DEF99454A30DCEF6E0A5F_RuntimeMethod_var);
  1285. if (L_3)
  1286. {
  1287. goto IL_001a;
  1288. }
  1289. }
  1290. {
  1291. return (AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552*)NULL;
  1292. }
  1293. IL_001a:
  1294. {
  1295. AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* L_4 = V_0;
  1296. return L_4;
  1297. }
  1298. }
  1299. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_ClearFunctionCallbacks_m90C02869CBC305172014649CC205D02AB4A5071C (const RuntimeMethod* method)
  1300. {
  1301. static bool s_Il2CppMethodInitialized;
  1302. if (!s_Il2CppMethodInitialized)
  1303. {
  1304. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var);
  1305. s_Il2CppMethodInitialized = true;
  1306. }
  1307. {
  1308. ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks = (Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F*)NULL;
  1309. Il2CppCodeGenWriteBarrier((void**)(&((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_BeforeFunctionCallbacks), (void*)(Dictionary_2_tE800B4C2237603A792FFCCFB9BFC21EA79CB7F3F*)NULL);
  1310. ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks = (Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6*)NULL;
  1311. Il2CppCodeGenWriteBarrier((void**)(&((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___s_AfterFunctionCallbacks), (void*)(Dictionary_2_t07B33916E5B9BFBEDDE5C206E597C4A2071ED5E6*)NULL);
  1312. MockRuntime_MockRuntime_RegisterFunctionCallbacks_m8FE38D5A0491C53530C2765EA4BA2CFDCA278A58((BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA*)NULL, (AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552*)NULL, NULL);
  1313. return;
  1314. }
  1315. }
  1316. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_ResetDefaults_mD379EAC5A49E19D811C6B39438058DDCCA06E8DE (const RuntimeMethod* method)
  1317. {
  1318. static bool s_Il2CppMethodInitialized;
  1319. if (!s_Il2CppMethodInitialized)
  1320. {
  1321. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var);
  1322. s_Il2CppMethodInitialized = true;
  1323. }
  1324. {
  1325. ((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___onScriptEvent = (ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20*)NULL;
  1326. Il2CppCodeGenWriteBarrier((void**)(&((MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_StaticFields*)il2cpp_codegen_static_fields_for(MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF_il2cpp_TypeInfo_var))->___onScriptEvent), (void*)(ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20*)NULL);
  1327. MockRuntime_ClearFunctionCallbacks_m90C02869CBC305172014649CC205D02AB4A5071C(NULL);
  1328. return;
  1329. }
  1330. }
  1331. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_OnInstanceDestroy_m87D9042CA7DCD7E262D932C110546CB4458847BD (MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF* __this, uint64_t ___0_instance, const RuntimeMethod* method)
  1332. {
  1333. {
  1334. MockRuntime_ClearFunctionCallbacks_m90C02869CBC305172014649CC205D02AB4A5071C(NULL);
  1335. return;
  1336. }
  1337. }
  1338. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t MockRuntime_HookCreateInstance_mE4A794C1096A017EE20CDB40DC10FCB74C5C529E (intptr_t ___0_func, const RuntimeMethod* method)
  1339. {
  1340. typedef intptr_t (DEFAULT_CALL *PInvokeFunc) (intptr_t);
  1341. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1342. static PInvokeFunc il2cppPInvokeFunc;
  1343. if (il2cppPInvokeFunc == NULL)
  1344. {
  1345. int parameterSize = sizeof(intptr_t);
  1346. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_HookCreateInstance", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1347. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1348. }
  1349. #endif
  1350. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1351. intptr_t returnValue = reinterpret_cast<PInvokeFunc>(MockRuntime_HookCreateInstance)(___0_func);
  1352. #else
  1353. intptr_t returnValue = il2cppPInvokeFunc(___0_func);
  1354. #endif
  1355. return returnValue;
  1356. }
  1357. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_SetKeepFunctionCallbacks_m8E0E300D594B6DE823AE6800E23FC829AAD55EB4 (bool ___0_value, const RuntimeMethod* method)
  1358. {
  1359. typedef void (DEFAULT_CALL *PInvokeFunc) (int8_t);
  1360. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1361. static PInvokeFunc il2cppPInvokeFunc;
  1362. if (il2cppPInvokeFunc == NULL)
  1363. {
  1364. int parameterSize = 1 + 3;
  1365. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_SetKeepFunctionCallbacks", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1366. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1367. }
  1368. #endif
  1369. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1370. reinterpret_cast<PInvokeFunc>(MockRuntime_SetKeepFunctionCallbacks)(static_cast<int8_t>(___0_value));
  1371. #else
  1372. il2cppPInvokeFunc(static_cast<int8_t>(___0_value));
  1373. #endif
  1374. }
  1375. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_SetViewPose_m2637BCEAF504A16C376848DB796F5481E126B0D1 (int32_t ___0_viewConfigurationType, int32_t ___1_viewIndex, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_position, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___3_orientation, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___4_fov, const RuntimeMethod* method)
  1376. {
  1377. typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3);
  1378. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1379. static PInvokeFunc il2cppPInvokeFunc;
  1380. if (il2cppPInvokeFunc == NULL)
  1381. {
  1382. int parameterSize = sizeof(int32_t) + sizeof(int32_t) + sizeof(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2) + sizeof(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974) + sizeof(Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3);
  1383. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_SetView", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1384. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1385. }
  1386. #endif
  1387. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1388. reinterpret_cast<PInvokeFunc>(MockRuntime_SetView)(___0_viewConfigurationType, ___1_viewIndex, ___2_position, ___3_orientation, ___4_fov);
  1389. #else
  1390. il2cppPInvokeFunc(___0_viewConfigurationType, ___1_viewIndex, ___2_position, ___3_orientation, ___4_fov);
  1391. #endif
  1392. }
  1393. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_SetViewState_mF705DAE94FD37B98CA8D4EFE4869110FECF96E42 (int32_t ___0_viewConfigurationType, int32_t ___1_viewStateFlags, const RuntimeMethod* method)
  1394. {
  1395. typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
  1396. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1397. static PInvokeFunc il2cppPInvokeFunc;
  1398. if (il2cppPInvokeFunc == NULL)
  1399. {
  1400. int parameterSize = sizeof(int32_t) + sizeof(int32_t);
  1401. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_SetViewState", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1402. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1403. }
  1404. #endif
  1405. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1406. reinterpret_cast<PInvokeFunc>(MockRuntime_SetViewState)(___0_viewConfigurationType, ___1_viewStateFlags);
  1407. #else
  1408. il2cppPInvokeFunc(___0_viewConfigurationType, ___1_viewStateFlags);
  1409. #endif
  1410. }
  1411. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_SetSpace_mA64A4E84288E70ABCA4540F29A7348B55F0F09B5 (int32_t ___0_referenceSpace, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_position, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___2_orientation, int32_t ___3_locationFlags, const RuntimeMethod* method)
  1412. {
  1413. typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974, int32_t);
  1414. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1415. static PInvokeFunc il2cppPInvokeFunc;
  1416. if (il2cppPInvokeFunc == NULL)
  1417. {
  1418. int parameterSize = sizeof(int32_t) + sizeof(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2) + sizeof(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974) + sizeof(int32_t);
  1419. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_SetReferenceSpace", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1420. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1421. }
  1422. #endif
  1423. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1424. reinterpret_cast<PInvokeFunc>(MockRuntime_SetReferenceSpace)(___0_referenceSpace, ___1_position, ___2_orientation, ___3_locationFlags);
  1425. #else
  1426. il2cppPInvokeFunc(___0_referenceSpace, ___1_position, ___2_orientation, ___3_locationFlags);
  1427. #endif
  1428. }
  1429. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_SetSpace_mDA5CD3C832B62544D145B905197DCF2130505B26 (uint64_t ___0_actionHandle, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_position, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___2_orientation, int32_t ___3_locationFlags, const RuntimeMethod* method)
  1430. {
  1431. typedef void (DEFAULT_CALL *PInvokeFunc) (uint64_t, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974, int32_t);
  1432. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1433. static PInvokeFunc il2cppPInvokeFunc;
  1434. if (il2cppPInvokeFunc == NULL)
  1435. {
  1436. int parameterSize = sizeof(uint64_t) + sizeof(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2) + sizeof(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974) + sizeof(int32_t);
  1437. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_SetActionSpace", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1438. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1439. }
  1440. #endif
  1441. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1442. reinterpret_cast<PInvokeFunc>(MockRuntime_SetActionSpace)(___0_actionHandle, ___1_position, ___2_orientation, ___3_locationFlags);
  1443. #else
  1444. il2cppPInvokeFunc(___0_actionHandle, ___1_position, ___2_orientation, ___3_locationFlags);
  1445. #endif
  1446. }
  1447. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MockRuntime_Internal_RegisterScriptEventCallback_mA892D9EF37F87E25AD3DAEC396B1CD8289C2AA1C (ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* ___0_callback, const RuntimeMethod* method)
  1448. {
  1449. typedef int32_t (DEFAULT_CALL *PInvokeFunc) (Il2CppMethodPointer);
  1450. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1451. static PInvokeFunc il2cppPInvokeFunc;
  1452. if (il2cppPInvokeFunc == NULL)
  1453. {
  1454. int parameterSize = sizeof(void*);
  1455. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_RegisterScriptEventCallback", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1456. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1457. }
  1458. #endif
  1459. Il2CppMethodPointer ____0_callback_marshaled = NULL;
  1460. ____0_callback_marshaled = il2cpp_codegen_marshal_delegate(reinterpret_cast<MulticastDelegate_t*>(___0_callback));
  1461. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1462. int32_t returnValue = reinterpret_cast<PInvokeFunc>(MockRuntime_RegisterScriptEventCallback)(____0_callback_marshaled);
  1463. #else
  1464. int32_t returnValue = il2cppPInvokeFunc(____0_callback_marshaled);
  1465. #endif
  1466. return returnValue;
  1467. }
  1468. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MockRuntime_Internal_TransitionToState_m5D9A59AAF1E0CF512791ADE220FB09DF70109BFF (int32_t ___0_state, bool ___1_forceTransition, const RuntimeMethod* method)
  1469. {
  1470. typedef int8_t (DEFAULT_CALL *PInvokeFunc) (int32_t, int8_t);
  1471. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1472. static PInvokeFunc il2cppPInvokeFunc;
  1473. if (il2cppPInvokeFunc == NULL)
  1474. {
  1475. int parameterSize = sizeof(int32_t) + 1 + 3;
  1476. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_TransitionToState", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1477. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1478. }
  1479. #endif
  1480. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1481. int8_t returnValue = reinterpret_cast<PInvokeFunc>(MockRuntime_TransitionToState)(___0_state, static_cast<int8_t>(___1_forceTransition));
  1482. #else
  1483. int8_t returnValue = il2cppPInvokeFunc(___0_state, static_cast<int8_t>(___1_forceTransition));
  1484. #endif
  1485. return static_cast<bool>(returnValue);
  1486. }
  1487. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MockRuntime_Internal_GetSessionState_mD58FE1DDA879C6A4744F40160981F6C238D2B2F4 (const RuntimeMethod* method)
  1488. {
  1489. typedef int32_t (DEFAULT_CALL *PInvokeFunc) ();
  1490. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1491. static PInvokeFunc il2cppPInvokeFunc;
  1492. if (il2cppPInvokeFunc == NULL)
  1493. {
  1494. int parameterSize = 0;
  1495. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_GetSessionState", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1496. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1497. }
  1498. #endif
  1499. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1500. int32_t returnValue = reinterpret_cast<PInvokeFunc>(MockRuntime_GetSessionState)();
  1501. #else
  1502. int32_t returnValue = il2cppPInvokeFunc();
  1503. #endif
  1504. return returnValue;
  1505. }
  1506. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_RequestExitSession_mC6194C165F491EC79777DA2EE2631237E12B6169 (const RuntimeMethod* method)
  1507. {
  1508. typedef void (DEFAULT_CALL *PInvokeFunc) ();
  1509. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1510. static PInvokeFunc il2cppPInvokeFunc;
  1511. if (il2cppPInvokeFunc == NULL)
  1512. {
  1513. int parameterSize = 0;
  1514. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_RequestExitSession", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1515. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1516. }
  1517. #endif
  1518. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1519. reinterpret_cast<PInvokeFunc>(MockRuntime_RequestExitSession)();
  1520. #else
  1521. il2cppPInvokeFunc();
  1522. #endif
  1523. }
  1524. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_CauseInstanceLoss_m644A81DF5FAFDE1768A0EAACB4B32D58908C0029 (const RuntimeMethod* method)
  1525. {
  1526. typedef void (DEFAULT_CALL *PInvokeFunc) ();
  1527. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1528. static PInvokeFunc il2cppPInvokeFunc;
  1529. if (il2cppPInvokeFunc == NULL)
  1530. {
  1531. int parameterSize = 0;
  1532. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_CauseInstanceLoss", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1533. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1534. }
  1535. #endif
  1536. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1537. reinterpret_cast<PInvokeFunc>(MockRuntime_CauseInstanceLoss)();
  1538. #else
  1539. il2cppPInvokeFunc();
  1540. #endif
  1541. }
  1542. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_SetReferenceSpaceBounds_mF998A5259FAB1F2888C148356379E58C68E35382 (int32_t ___0_referenceSpace, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_bounds, const RuntimeMethod* method)
  1543. {
  1544. typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7);
  1545. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1546. static PInvokeFunc il2cppPInvokeFunc;
  1547. if (il2cppPInvokeFunc == NULL)
  1548. {
  1549. int parameterSize = sizeof(int32_t) + sizeof(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7);
  1550. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_SetReferenceSpaceBounds", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1551. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1552. }
  1553. #endif
  1554. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1555. reinterpret_cast<PInvokeFunc>(MockRuntime_SetReferenceSpaceBounds)(___0_referenceSpace, ___1_bounds);
  1556. #else
  1557. il2cppPInvokeFunc(___0_referenceSpace, ___1_bounds);
  1558. #endif
  1559. }
  1560. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_GetEndFrameStats_m2CA6ACA741702E5BDA2E30C5AC8559BD2BA4FA90 (int32_t* ___0_primaryLayerCount, int32_t* ___1_secondaryLayerCount, const RuntimeMethod* method)
  1561. {
  1562. typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t*, int32_t*);
  1563. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1564. static PInvokeFunc il2cppPInvokeFunc;
  1565. if (il2cppPInvokeFunc == NULL)
  1566. {
  1567. int parameterSize = sizeof(int32_t*) + sizeof(int32_t*);
  1568. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_GetEndFrameStats", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1569. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1570. }
  1571. #endif
  1572. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1573. reinterpret_cast<PInvokeFunc>(MockRuntime_GetEndFrameStats)(___0_primaryLayerCount, ___1_secondaryLayerCount);
  1574. #else
  1575. il2cppPInvokeFunc(___0_primaryLayerCount, ___1_secondaryLayerCount);
  1576. #endif
  1577. }
  1578. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_ActivateSecondaryView_mEA131BD49CD0DDD69B6AFCD7DCBC0250B36F19D9 (int32_t ___0_viewConfigurationType, bool ___1_activate, const RuntimeMethod* method)
  1579. {
  1580. typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, int8_t);
  1581. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1582. static PInvokeFunc il2cppPInvokeFunc;
  1583. if (il2cppPInvokeFunc == NULL)
  1584. {
  1585. int parameterSize = sizeof(int32_t) + 1 + 3;
  1586. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_ActivateSecondaryView", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1587. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1588. }
  1589. #endif
  1590. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1591. reinterpret_cast<PInvokeFunc>(MockRuntime_ActivateSecondaryView)(___0_viewConfigurationType, static_cast<int8_t>(___1_activate));
  1592. #else
  1593. il2cppPInvokeFunc(___0_viewConfigurationType, static_cast<int8_t>(___1_activate));
  1594. #endif
  1595. }
  1596. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_MockRuntime_RegisterFunctionCallbacks_m8FE38D5A0491C53530C2765EA4BA2CFDCA278A58 (BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* ___0_hookBefore, AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* ___1_hookAfter, const RuntimeMethod* method)
  1597. {
  1598. typedef void (DEFAULT_CALL *PInvokeFunc) (Il2CppMethodPointer, Il2CppMethodPointer);
  1599. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1600. static PInvokeFunc il2cppPInvokeFunc;
  1601. if (il2cppPInvokeFunc == NULL)
  1602. {
  1603. int parameterSize = sizeof(void*) + sizeof(void*);
  1604. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_RegisterFunctionCallbacks", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1605. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1606. }
  1607. #endif
  1608. Il2CppMethodPointer ____0_hookBefore_marshaled = NULL;
  1609. ____0_hookBefore_marshaled = il2cpp_codegen_marshal_delegate(reinterpret_cast<MulticastDelegate_t*>(___0_hookBefore));
  1610. Il2CppMethodPointer ____1_hookAfter_marshaled = NULL;
  1611. ____1_hookAfter_marshaled = il2cpp_codegen_marshal_delegate(reinterpret_cast<MulticastDelegate_t*>(___1_hookAfter));
  1612. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1613. reinterpret_cast<PInvokeFunc>(MockRuntime_RegisterFunctionCallbacks)(____0_hookBefore_marshaled, ____1_hookAfter_marshaled);
  1614. #else
  1615. il2cppPInvokeFunc(____0_hookBefore_marshaled, ____1_hookAfter_marshaled);
  1616. #endif
  1617. }
  1618. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime_MetaPerformanceMetrics_SeedCounterOnce_Float_m36A5817DD1A8817E727EC2389953495B6AFB5023 (String_t* ___0_xrPathString, float ___1_value, uint32_t ___2_unit, const RuntimeMethod* method)
  1619. {
  1620. typedef void (DEFAULT_CALL *PInvokeFunc) (char*, float, uint32_t);
  1621. #if !FORCE_PINVOKE_INTERNAL && !FORCE_PINVOKE_mock_api_INTERNAL
  1622. static PInvokeFunc il2cppPInvokeFunc;
  1623. if (il2cppPInvokeFunc == NULL)
  1624. {
  1625. int parameterSize = sizeof(char*) + sizeof(float) + sizeof(uint32_t);
  1626. il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("mock_api"), "MockRuntime_MetaPerformanceMetrics_SeedCounterOnce_Float", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
  1627. IL2CPP_ASSERT(il2cppPInvokeFunc != NULL);
  1628. }
  1629. #endif
  1630. char* ____0_xrPathString_marshaled = NULL;
  1631. ____0_xrPathString_marshaled = il2cpp_codegen_marshal_string(___0_xrPathString);
  1632. #if FORCE_PINVOKE_INTERNAL || FORCE_PINVOKE_mock_api_INTERNAL
  1633. reinterpret_cast<PInvokeFunc>(MockRuntime_MetaPerformanceMetrics_SeedCounterOnce_Float)(____0_xrPathString_marshaled, ___1_value, ___2_unit);
  1634. #else
  1635. il2cppPInvokeFunc(____0_xrPathString_marshaled, ___1_value, ___2_unit);
  1636. #endif
  1637. il2cpp_codegen_marshal_free(____0_xrPathString_marshaled);
  1638. ____0_xrPathString_marshaled = NULL;
  1639. }
  1640. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MockRuntime__ctor_mB159112DF9A71505BB0C77424F107CCF5906699F (MockRuntime_tC5F1019CA2D3E89010E3A3BFC89834251257B2AF* __this, const RuntimeMethod* method)
  1641. {
  1642. {
  1643. OpenXRFeature__ctor_m120460E34ECC22ED2DB96797A6DCB5C870E78852(__this, NULL);
  1644. return;
  1645. }
  1646. }
  1647. #ifdef __clang__
  1648. #pragma clang diagnostic pop
  1649. #endif
  1650. #ifdef __clang__
  1651. #pragma clang diagnostic push
  1652. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1653. #pragma clang diagnostic ignored "-Wunused-variable"
  1654. #endif
  1655. #ifdef __clang__
  1656. #pragma clang diagnostic pop
  1657. #endif
  1658. #ifdef __clang__
  1659. #pragma clang diagnostic push
  1660. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1661. #pragma clang diagnostic ignored "-Wunused-variable"
  1662. #endif
  1663. void ScriptEventDelegate_Invoke_m41274335D95A563973BC60763CF3853920443403_Multicast(ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* __this, int32_t ___0_evt, uint64_t ___1_param, const RuntimeMethod* method)
  1664. {
  1665. il2cpp_array_size_t length = __this->___delegates->max_length;
  1666. Delegate_t** delegatesToInvoke = reinterpret_cast<Delegate_t**>(__this->___delegates->GetAddressAtUnchecked(0));
  1667. for (il2cpp_array_size_t i = 0; i < length; i++)
  1668. {
  1669. ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* currentDelegate = reinterpret_cast<ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20*>(delegatesToInvoke[i]);
  1670. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, uint64_t, const RuntimeMethod*);
  1671. ((FunctionPointerType)currentDelegate->___invoke_impl)((Il2CppObject*)currentDelegate->___method_code, ___0_evt, ___1_param, reinterpret_cast<RuntimeMethod*>(currentDelegate->___method));
  1672. }
  1673. }
  1674. void ScriptEventDelegate_Invoke_m41274335D95A563973BC60763CF3853920443403_OpenInst(ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* __this, int32_t ___0_evt, uint64_t ___1_param, const RuntimeMethod* method)
  1675. {
  1676. typedef void (*FunctionPointerType) (int32_t, uint64_t, const RuntimeMethod*);
  1677. ((FunctionPointerType)__this->___method_ptr)(___0_evt, ___1_param, method);
  1678. }
  1679. void ScriptEventDelegate_Invoke_m41274335D95A563973BC60763CF3853920443403_OpenStatic(ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* __this, int32_t ___0_evt, uint64_t ___1_param, const RuntimeMethod* method)
  1680. {
  1681. typedef void (*FunctionPointerType) (int32_t, uint64_t, const RuntimeMethod*);
  1682. ((FunctionPointerType)__this->___method_ptr)(___0_evt, ___1_param, method);
  1683. }
  1684. IL2CPP_EXTERN_C void DelegatePInvokeWrapper_ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20 (ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* __this, int32_t ___0_evt, uint64_t ___1_param, const RuntimeMethod* method)
  1685. {
  1686. typedef void (DEFAULT_CALL *PInvokeFunc)(int32_t, uint64_t);
  1687. PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_reverse_pinvoke_function_ptr(__this));
  1688. il2cppPInvokeFunc(___0_evt, ___1_param);
  1689. }
  1690. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScriptEventDelegate__ctor_mE05196985541B485AA1A5D7C97EE6370162597C6 (ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
  1691. {
  1692. __this->___method_ptr = (intptr_t)il2cpp_codegen_get_method_pointer((RuntimeMethod*)___1_method);
  1693. __this->___method = ___1_method;
  1694. __this->___m_target = ___0_object;
  1695. Il2CppCodeGenWriteBarrier((void**)(&__this->___m_target), (void*)___0_object);
  1696. int parameterCount = il2cpp_codegen_method_parameter_count((RuntimeMethod*)___1_method);
  1697. __this->___method_code = (intptr_t)__this;
  1698. if (MethodIsStatic((RuntimeMethod*)___1_method))
  1699. {
  1700. bool isOpen = parameterCount == 2;
  1701. if (isOpen)
  1702. __this->___invoke_impl = (intptr_t)&ScriptEventDelegate_Invoke_m41274335D95A563973BC60763CF3853920443403_OpenStatic;
  1703. else
  1704. {
  1705. __this->___invoke_impl = __this->___method_ptr;
  1706. __this->___method_code = (intptr_t)__this->___m_target;
  1707. }
  1708. }
  1709. else
  1710. {
  1711. if (___0_object == NULL)
  1712. il2cpp_codegen_raise_exception(il2cpp_codegen_get_argument_exception(NULL, "Delegate to an instance method cannot have null 'this'."), NULL);
  1713. __this->___invoke_impl = __this->___method_ptr;
  1714. __this->___method_code = (intptr_t)__this->___m_target;
  1715. }
  1716. __this->___extra_arg = (intptr_t)&ScriptEventDelegate_Invoke_m41274335D95A563973BC60763CF3853920443403_Multicast;
  1717. }
  1718. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScriptEventDelegate_Invoke_m41274335D95A563973BC60763CF3853920443403 (ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* __this, int32_t ___0_evt, uint64_t ___1_param, const RuntimeMethod* method)
  1719. {
  1720. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, uint64_t, const RuntimeMethod*);
  1721. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_evt, ___1_param, reinterpret_cast<RuntimeMethod*>(__this->___method));
  1722. }
  1723. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* ScriptEventDelegate_BeginInvoke_mA01E16330527DD2C2E43DEA25B1E766572ED28B6 (ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* __this, int32_t ___0_evt, uint64_t ___1_param, AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C* ___2_callback, RuntimeObject* ___3_object, const RuntimeMethod* method)
  1724. {
  1725. static bool s_Il2CppMethodInitialized;
  1726. if (!s_Il2CppMethodInitialized)
  1727. {
  1728. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ScriptEvent_t98D7BEA7A83AEC5AC0316FCED0B85028D4E75DAD_il2cpp_TypeInfo_var);
  1729. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UInt64_t8F12534CC8FC4B5860F2A2CD1EE79D322E7A41AF_il2cpp_TypeInfo_var);
  1730. s_Il2CppMethodInitialized = true;
  1731. }
  1732. void *__d_args[3] = {0};
  1733. __d_args[0] = Box(ScriptEvent_t98D7BEA7A83AEC5AC0316FCED0B85028D4E75DAD_il2cpp_TypeInfo_var, &___0_evt);
  1734. __d_args[1] = Box(UInt64_t8F12534CC8FC4B5860F2A2CD1EE79D322E7A41AF_il2cpp_TypeInfo_var, &___1_param);
  1735. return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___2_callback, (RuntimeObject*)___3_object);
  1736. }
  1737. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScriptEventDelegate_EndInvoke_m25145EDD65EE5A0A801F0DE45587B47D73CFC353 (ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* __this, RuntimeObject* ___0_result, const RuntimeMethod* method)
  1738. {
  1739. il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___0_result, 0);
  1740. }
  1741. #ifdef __clang__
  1742. #pragma clang diagnostic pop
  1743. #endif
  1744. #ifdef __clang__
  1745. #pragma clang diagnostic push
  1746. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1747. #pragma clang diagnostic ignored "-Wunused-variable"
  1748. #endif
  1749. int32_t BeforeFunctionDelegate_Invoke_mAA46B0A8103DF4E9C729D21D736BB9E6A38C70CA_Multicast(BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* __this, String_t* ___0_functionName, const RuntimeMethod* method)
  1750. {
  1751. il2cpp_array_size_t length = __this->___delegates->max_length;
  1752. Delegate_t** delegatesToInvoke = reinterpret_cast<Delegate_t**>(__this->___delegates->GetAddressAtUnchecked(0));
  1753. int32_t retVal = 0;
  1754. for (il2cpp_array_size_t i = 0; i < length; i++)
  1755. {
  1756. BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* currentDelegate = reinterpret_cast<BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA*>(delegatesToInvoke[i]);
  1757. typedef int32_t (*FunctionPointerType) (RuntimeObject*, String_t*, const RuntimeMethod*);
  1758. retVal = ((FunctionPointerType)currentDelegate->___invoke_impl)((Il2CppObject*)currentDelegate->___method_code, ___0_functionName, reinterpret_cast<RuntimeMethod*>(currentDelegate->___method));
  1759. }
  1760. return retVal;
  1761. }
  1762. int32_t BeforeFunctionDelegate_Invoke_mAA46B0A8103DF4E9C729D21D736BB9E6A38C70CA_OpenInst(BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* __this, String_t* ___0_functionName, const RuntimeMethod* method)
  1763. {
  1764. NullCheck(___0_functionName);
  1765. typedef int32_t (*FunctionPointerType) (String_t*, const RuntimeMethod*);
  1766. return ((FunctionPointerType)__this->___method_ptr)(___0_functionName, method);
  1767. }
  1768. int32_t BeforeFunctionDelegate_Invoke_mAA46B0A8103DF4E9C729D21D736BB9E6A38C70CA_OpenStatic(BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* __this, String_t* ___0_functionName, const RuntimeMethod* method)
  1769. {
  1770. typedef int32_t (*FunctionPointerType) (String_t*, const RuntimeMethod*);
  1771. return ((FunctionPointerType)__this->___method_ptr)(___0_functionName, method);
  1772. }
  1773. IL2CPP_EXTERN_C int32_t DelegatePInvokeWrapper_BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA (BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* __this, String_t* ___0_functionName, const RuntimeMethod* method)
  1774. {
  1775. typedef int32_t (DEFAULT_CALL *PInvokeFunc)(char*);
  1776. PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_reverse_pinvoke_function_ptr(__this));
  1777. char* ____0_functionName_marshaled = NULL;
  1778. ____0_functionName_marshaled = il2cpp_codegen_marshal_string(___0_functionName);
  1779. int32_t returnValue = il2cppPInvokeFunc(____0_functionName_marshaled);
  1780. il2cpp_codegen_marshal_free(____0_functionName_marshaled);
  1781. ____0_functionName_marshaled = NULL;
  1782. return returnValue;
  1783. }
  1784. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BeforeFunctionDelegate__ctor_m42A11E8DDD8B3706497D8CF87F6853D961D0C832 (BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
  1785. {
  1786. __this->___method_ptr = (intptr_t)il2cpp_codegen_get_method_pointer((RuntimeMethod*)___1_method);
  1787. __this->___method = ___1_method;
  1788. __this->___m_target = ___0_object;
  1789. Il2CppCodeGenWriteBarrier((void**)(&__this->___m_target), (void*)___0_object);
  1790. int parameterCount = il2cpp_codegen_method_parameter_count((RuntimeMethod*)___1_method);
  1791. __this->___method_code = (intptr_t)__this;
  1792. if (MethodIsStatic((RuntimeMethod*)___1_method))
  1793. {
  1794. bool isOpen = parameterCount == 1;
  1795. if (isOpen)
  1796. __this->___invoke_impl = (intptr_t)&BeforeFunctionDelegate_Invoke_mAA46B0A8103DF4E9C729D21D736BB9E6A38C70CA_OpenStatic;
  1797. else
  1798. {
  1799. __this->___invoke_impl = __this->___method_ptr;
  1800. __this->___method_code = (intptr_t)__this->___m_target;
  1801. }
  1802. }
  1803. else
  1804. {
  1805. bool isOpen = parameterCount == 0;
  1806. if (isOpen)
  1807. {
  1808. __this->___invoke_impl = (intptr_t)&BeforeFunctionDelegate_Invoke_mAA46B0A8103DF4E9C729D21D736BB9E6A38C70CA_OpenInst;
  1809. }
  1810. else
  1811. {
  1812. if (___0_object == NULL)
  1813. il2cpp_codegen_raise_exception(il2cpp_codegen_get_argument_exception(NULL, "Delegate to an instance method cannot have null 'this'."), NULL);
  1814. __this->___invoke_impl = __this->___method_ptr;
  1815. __this->___method_code = (intptr_t)__this->___m_target;
  1816. }
  1817. }
  1818. __this->___extra_arg = (intptr_t)&BeforeFunctionDelegate_Invoke_mAA46B0A8103DF4E9C729D21D736BB9E6A38C70CA_Multicast;
  1819. }
  1820. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BeforeFunctionDelegate_Invoke_mAA46B0A8103DF4E9C729D21D736BB9E6A38C70CA (BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* __this, String_t* ___0_functionName, const RuntimeMethod* method)
  1821. {
  1822. typedef int32_t (*FunctionPointerType) (RuntimeObject*, String_t*, const RuntimeMethod*);
  1823. return ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_functionName, reinterpret_cast<RuntimeMethod*>(__this->___method));
  1824. }
  1825. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* BeforeFunctionDelegate_BeginInvoke_m55800A4146677D7A22524810CA5559EF881F59C0 (BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* __this, String_t* ___0_functionName, AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C* ___1_callback, RuntimeObject* ___2_object, const RuntimeMethod* method)
  1826. {
  1827. void *__d_args[2] = {0};
  1828. __d_args[0] = ___0_functionName;
  1829. return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___1_callback, (RuntimeObject*)___2_object);
  1830. }
  1831. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BeforeFunctionDelegate_EndInvoke_m680B2FC2866E4A959B218584FCEC8811CE46A4B1 (BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* __this, RuntimeObject* ___0_result, const RuntimeMethod* method)
  1832. {
  1833. RuntimeObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___0_result, 0);
  1834. return *(int32_t*)UnBox ((RuntimeObject*)__result);
  1835. }
  1836. #ifdef __clang__
  1837. #pragma clang diagnostic pop
  1838. #endif
  1839. #ifdef __clang__
  1840. #pragma clang diagnostic push
  1841. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1842. #pragma clang diagnostic ignored "-Wunused-variable"
  1843. #endif
  1844. void AfterFunctionDelegate_Invoke_mF8B0A0BF8DCC84E37AB367200F2D081B9706A115_Multicast(AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* __this, String_t* ___0_functionName, int32_t ___1_result, const RuntimeMethod* method)
  1845. {
  1846. il2cpp_array_size_t length = __this->___delegates->max_length;
  1847. Delegate_t** delegatesToInvoke = reinterpret_cast<Delegate_t**>(__this->___delegates->GetAddressAtUnchecked(0));
  1848. for (il2cpp_array_size_t i = 0; i < length; i++)
  1849. {
  1850. AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* currentDelegate = reinterpret_cast<AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552*>(delegatesToInvoke[i]);
  1851. typedef void (*FunctionPointerType) (RuntimeObject*, String_t*, int32_t, const RuntimeMethod*);
  1852. ((FunctionPointerType)currentDelegate->___invoke_impl)((Il2CppObject*)currentDelegate->___method_code, ___0_functionName, ___1_result, reinterpret_cast<RuntimeMethod*>(currentDelegate->___method));
  1853. }
  1854. }
  1855. void AfterFunctionDelegate_Invoke_mF8B0A0BF8DCC84E37AB367200F2D081B9706A115_OpenInst(AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* __this, String_t* ___0_functionName, int32_t ___1_result, const RuntimeMethod* method)
  1856. {
  1857. NullCheck(___0_functionName);
  1858. typedef void (*FunctionPointerType) (String_t*, int32_t, const RuntimeMethod*);
  1859. ((FunctionPointerType)__this->___method_ptr)(___0_functionName, ___1_result, method);
  1860. }
  1861. void AfterFunctionDelegate_Invoke_mF8B0A0BF8DCC84E37AB367200F2D081B9706A115_OpenStatic(AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* __this, String_t* ___0_functionName, int32_t ___1_result, const RuntimeMethod* method)
  1862. {
  1863. typedef void (*FunctionPointerType) (String_t*, int32_t, const RuntimeMethod*);
  1864. ((FunctionPointerType)__this->___method_ptr)(___0_functionName, ___1_result, method);
  1865. }
  1866. IL2CPP_EXTERN_C void DelegatePInvokeWrapper_AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552 (AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* __this, String_t* ___0_functionName, int32_t ___1_result, const RuntimeMethod* method)
  1867. {
  1868. typedef void (DEFAULT_CALL *PInvokeFunc)(char*, int32_t);
  1869. PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_reverse_pinvoke_function_ptr(__this));
  1870. char* ____0_functionName_marshaled = NULL;
  1871. ____0_functionName_marshaled = il2cpp_codegen_marshal_string(___0_functionName);
  1872. il2cppPInvokeFunc(____0_functionName_marshaled, ___1_result);
  1873. il2cpp_codegen_marshal_free(____0_functionName_marshaled);
  1874. ____0_functionName_marshaled = NULL;
  1875. }
  1876. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AfterFunctionDelegate__ctor_m70B1A5F67C275B7064C9E1731B27326B97913F96 (AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
  1877. {
  1878. __this->___method_ptr = (intptr_t)il2cpp_codegen_get_method_pointer((RuntimeMethod*)___1_method);
  1879. __this->___method = ___1_method;
  1880. __this->___m_target = ___0_object;
  1881. Il2CppCodeGenWriteBarrier((void**)(&__this->___m_target), (void*)___0_object);
  1882. int parameterCount = il2cpp_codegen_method_parameter_count((RuntimeMethod*)___1_method);
  1883. __this->___method_code = (intptr_t)__this;
  1884. if (MethodIsStatic((RuntimeMethod*)___1_method))
  1885. {
  1886. bool isOpen = parameterCount == 2;
  1887. if (isOpen)
  1888. __this->___invoke_impl = (intptr_t)&AfterFunctionDelegate_Invoke_mF8B0A0BF8DCC84E37AB367200F2D081B9706A115_OpenStatic;
  1889. else
  1890. {
  1891. __this->___invoke_impl = __this->___method_ptr;
  1892. __this->___method_code = (intptr_t)__this->___m_target;
  1893. }
  1894. }
  1895. else
  1896. {
  1897. bool isOpen = parameterCount == 1;
  1898. if (isOpen)
  1899. {
  1900. __this->___invoke_impl = (intptr_t)&AfterFunctionDelegate_Invoke_mF8B0A0BF8DCC84E37AB367200F2D081B9706A115_OpenInst;
  1901. }
  1902. else
  1903. {
  1904. if (___0_object == NULL)
  1905. il2cpp_codegen_raise_exception(il2cpp_codegen_get_argument_exception(NULL, "Delegate to an instance method cannot have null 'this'."), NULL);
  1906. __this->___invoke_impl = __this->___method_ptr;
  1907. __this->___method_code = (intptr_t)__this->___m_target;
  1908. }
  1909. }
  1910. __this->___extra_arg = (intptr_t)&AfterFunctionDelegate_Invoke_mF8B0A0BF8DCC84E37AB367200F2D081B9706A115_Multicast;
  1911. }
  1912. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AfterFunctionDelegate_Invoke_mF8B0A0BF8DCC84E37AB367200F2D081B9706A115 (AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* __this, String_t* ___0_functionName, int32_t ___1_result, const RuntimeMethod* method)
  1913. {
  1914. typedef void (*FunctionPointerType) (RuntimeObject*, String_t*, int32_t, const RuntimeMethod*);
  1915. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_functionName, ___1_result, reinterpret_cast<RuntimeMethod*>(__this->___method));
  1916. }
  1917. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* AfterFunctionDelegate_BeginInvoke_m8850000FC36D01D205D12C3C496C66A4282322AA (AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* __this, String_t* ___0_functionName, int32_t ___1_result, AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C* ___2_callback, RuntimeObject* ___3_object, const RuntimeMethod* method)
  1918. {
  1919. static bool s_Il2CppMethodInitialized;
  1920. if (!s_Il2CppMethodInitialized)
  1921. {
  1922. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&XrResult_tC6E780422C0CF27153FB9B0ED7D1F60015608195_il2cpp_TypeInfo_var);
  1923. s_Il2CppMethodInitialized = true;
  1924. }
  1925. void *__d_args[3] = {0};
  1926. __d_args[0] = ___0_functionName;
  1927. __d_args[1] = Box(XrResult_tC6E780422C0CF27153FB9B0ED7D1F60015608195_il2cpp_TypeInfo_var, &___1_result);
  1928. return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___2_callback, (RuntimeObject*)___3_object);
  1929. }
  1930. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AfterFunctionDelegate_EndInvoke_m1F7F16FB2CF9927443DA7257E47A5418DABD7B58 (AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* __this, RuntimeObject* ___0_result, const RuntimeMethod* method)
  1931. {
  1932. il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___0_result, 0);
  1933. }
  1934. #ifdef __clang__
  1935. #pragma clang diagnostic pop
  1936. #endif
  1937. #ifdef __clang__
  1938. #pragma clang diagnostic push
  1939. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1940. #pragma clang diagnostic ignored "-Wunused-variable"
  1941. #endif
  1942. #ifdef __clang__
  1943. #pragma clang diagnostic pop
  1944. #endif
  1945. #ifdef __clang__
  1946. #pragma clang diagnostic push
  1947. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1948. #pragma clang diagnostic ignored "-Wunused-variable"
  1949. #endif
  1950. #ifdef __clang__
  1951. #pragma clang diagnostic pop
  1952. #endif
  1953. #ifdef __clang__
  1954. #pragma clang diagnostic push
  1955. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1956. #pragma clang diagnostic ignored "-Wunused-variable"
  1957. #endif
  1958. #ifdef __clang__
  1959. #pragma clang diagnostic pop
  1960. #endif
  1961. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ScriptEventDelegate_Invoke_m41274335D95A563973BC60763CF3853920443403_inline (ScriptEventDelegate_t0DE50F0234F04B68173703087BFCB08BB4922E20* __this, int32_t ___0_evt, uint64_t ___1_param, const RuntimeMethod* method)
  1962. {
  1963. typedef void (*FunctionPointerType) (RuntimeObject*, int32_t, uint64_t, const RuntimeMethod*);
  1964. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_evt, ___1_param, reinterpret_cast<RuntimeMethod*>(__this->___method));
  1965. }
  1966. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t BeforeFunctionDelegate_Invoke_mAA46B0A8103DF4E9C729D21D736BB9E6A38C70CA_inline (BeforeFunctionDelegate_t767D515AE77977BF5EA389123E37EB685DDADDDA* __this, String_t* ___0_functionName, const RuntimeMethod* method)
  1967. {
  1968. typedef int32_t (*FunctionPointerType) (RuntimeObject*, String_t*, const RuntimeMethod*);
  1969. return ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_functionName, reinterpret_cast<RuntimeMethod*>(__this->___method));
  1970. }
  1971. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void AfterFunctionDelegate_Invoke_mF8B0A0BF8DCC84E37AB367200F2D081B9706A115_inline (AfterFunctionDelegate_t2794658426C2B81F53841DCC65EED4E864522552* __this, String_t* ___0_functionName, int32_t ___1_result, const RuntimeMethod* method)
  1972. {
  1973. typedef void (*FunctionPointerType) (RuntimeObject*, String_t*, int32_t, const RuntimeMethod*);
  1974. ((FunctionPointerType)__this->___invoke_impl)((Il2CppObject*)__this->___method_code, ___0_functionName, ___1_result, reinterpret_cast<RuntimeMethod*>(__this->___method));
  1975. }