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

UnityEngine.UnityWebRequestWWWModule.cpp 26KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. #include "pch-cpp.hpp"
  2. #ifndef _MSC_VER
  3. # include <alloca.h>
  4. #else
  5. # include <malloc.h>
  6. #endif
  7. #include <limits>
  8. struct Action_1_tE8693FF0E67CDBA52BAFB211BFF1844D076ABAFB;
  9. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  10. struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
  11. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804;
  12. struct CustomYieldInstruction_t6B81A50D5D210C1ACAAE247FB53B65CDFFEB7617;
  13. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB;
  14. struct String_t;
  15. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F;
  16. struct UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C;
  17. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6;
  18. struct Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E;
  19. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  20. struct WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB;
  21. IL2CPP_EXTERN_C RuntimeClass* ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var;
  22. IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
  23. IL2CPP_EXTERN_C RuntimeClass* Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3_il2cpp_TypeInfo_var;
  24. IL2CPP_EXTERN_C String_t* _stringLiteral218F5A08519088A96BE3C1074984C53EA49F1CCA;
  25. IL2CPP_EXTERN_C String_t* _stringLiteral8E752B76D455A50FE476984D4B09A7CDBF2A753E;
  26. IL2CPP_EXTERN_C String_t* _stringLiteralE2429764F10DC7E990250D2AE4138FE5AC928076;
  27. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com;
  28. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com;
  29. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_com;
  30. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_pinvoke;
  31. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_com;
  32. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  33. IL2CPP_EXTERN_C_BEGIN
  34. IL2CPP_EXTERN_C_END
  35. #ifdef __clang__
  36. #pragma clang diagnostic push
  37. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  38. #pragma clang diagnostic ignored "-Wunused-variable"
  39. #endif
  40. struct U3CModuleU3E_t36B2669420D1A4B95932D0C64742D3D5FC618056
  41. {
  42. };
  43. struct CustomYieldInstruction_t6B81A50D5D210C1ACAAE247FB53B65CDFFEB7617 : public RuntimeObject
  44. {
  45. };
  46. struct String_t : public RuntimeObject
  47. {
  48. int32_t ____stringLength;
  49. Il2CppChar ____firstChar;
  50. };
  51. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  52. {
  53. };
  54. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  55. {
  56. };
  57. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  58. {
  59. };
  60. struct YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D : public RuntimeObject
  61. {
  62. };
  63. struct YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_pinvoke
  64. {
  65. };
  66. struct YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_com
  67. {
  68. };
  69. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  70. {
  71. bool ___m_value;
  72. };
  73. struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
  74. {
  75. uint8_t ___m_value;
  76. };
  77. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
  78. {
  79. };
  80. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
  81. {
  82. };
  83. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
  84. {
  85. };
  86. struct Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3
  87. {
  88. int64_t ___m_value;
  89. };
  90. struct IntPtr_t
  91. {
  92. void* ___m_value;
  93. };
  94. struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
  95. {
  96. float ___m_value;
  97. };
  98. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  99. {
  100. union
  101. {
  102. struct
  103. {
  104. };
  105. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  106. };
  107. };
  108. struct WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB : public CustomYieldInstruction_t6B81A50D5D210C1ACAAE247FB53B65CDFFEB7617
  109. {
  110. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* ____uwr;
  111. };
  112. struct AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D
  113. {
  114. intptr_t ___m_Ptr;
  115. Action_1_tE8693FF0E67CDBA52BAFB211BFF1844D076ABAFB* ___m_completeCallback;
  116. };
  117. struct AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C_marshaled_pinvoke : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_pinvoke
  118. {
  119. intptr_t ___m_Ptr;
  120. Il2CppMethodPointer ___m_completeCallback;
  121. };
  122. struct AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C_marshaled_com : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_com
  123. {
  124. intptr_t ___m_Ptr;
  125. Il2CppMethodPointer ___m_completeCallback;
  126. };
  127. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804 : public RuntimeObject
  128. {
  129. intptr_t ___m_Ptr;
  130. };
  131. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_pinvoke
  132. {
  133. intptr_t ___m_Ptr;
  134. };
  135. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com
  136. {
  137. intptr_t ___m_Ptr;
  138. };
  139. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB : public RuntimeObject
  140. {
  141. intptr_t ___m_Ptr;
  142. };
  143. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_pinvoke
  144. {
  145. intptr_t ___m_Ptr;
  146. };
  147. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com
  148. {
  149. intptr_t ___m_Ptr;
  150. };
  151. struct StringComparison_tE14A55CCFA001A5AC85D754179BF2888F45CC94D
  152. {
  153. int32_t ___value__;
  154. };
  155. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6 : public RuntimeObject
  156. {
  157. intptr_t ___m_Ptr;
  158. };
  159. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_pinvoke
  160. {
  161. intptr_t ___m_Ptr;
  162. };
  163. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_com
  164. {
  165. intptr_t ___m_Ptr;
  166. };
  167. struct Result_tFB98154F15BF37A66902802D441FEFADC68D4C87
  168. {
  169. int32_t ___value__;
  170. };
  171. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F : public RuntimeObject
  172. {
  173. intptr_t ___m_Ptr;
  174. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* ___m_DownloadHandler;
  175. UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6* ___m_UploadHandler;
  176. CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804* ___m_CertificateHandler;
  177. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___m_Uri;
  178. bool ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField;
  179. bool ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField;
  180. bool ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField;
  181. };
  182. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_pinvoke
  183. {
  184. intptr_t ___m_Ptr;
  185. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_pinvoke ___m_DownloadHandler;
  186. UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_pinvoke ___m_UploadHandler;
  187. CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_pinvoke ___m_CertificateHandler;
  188. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___m_Uri;
  189. int32_t ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField;
  190. int32_t ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField;
  191. int32_t ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField;
  192. };
  193. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_com
  194. {
  195. intptr_t ___m_Ptr;
  196. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com* ___m_DownloadHandler;
  197. UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_com* ___m_UploadHandler;
  198. CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com* ___m_CertificateHandler;
  199. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___m_Uri;
  200. int32_t ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField;
  201. int32_t ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField;
  202. int32_t ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField;
  203. };
  204. struct UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C : public AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C
  205. {
  206. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* ___U3CwebRequestU3Ek__BackingField;
  207. };
  208. struct UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C_marshaled_pinvoke : public AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C_marshaled_pinvoke
  209. {
  210. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_pinvoke* ___U3CwebRequestU3Ek__BackingField;
  211. };
  212. struct UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C_marshaled_com : public AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C_marshaled_com
  213. {
  214. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_com* ___U3CwebRequestU3Ek__BackingField;
  215. };
  216. struct String_t_StaticFields
  217. {
  218. String_t* ___Empty;
  219. };
  220. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  221. {
  222. String_t* ___TrueString;
  223. String_t* ___FalseString;
  224. };
  225. #ifdef __clang__
  226. #pragma clang diagnostic pop
  227. #endif
  228. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031 : public RuntimeArray
  229. {
  230. ALIGN_FIELD (8) uint8_t m_Items[1];
  231. inline uint8_t GetAt(il2cpp_array_size_t index) const
  232. {
  233. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  234. return m_Items[index];
  235. }
  236. inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
  237. {
  238. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  239. return m_Items + index;
  240. }
  241. inline void SetAt(il2cpp_array_size_t index, uint8_t value)
  242. {
  243. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  244. m_Items[index] = value;
  245. }
  246. inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
  247. {
  248. return m_Items[index];
  249. }
  250. inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  251. {
  252. return m_Items + index;
  253. }
  254. inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
  255. {
  256. m_Items[index] = value;
  257. }
  258. };
  259. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CustomYieldInstruction__ctor_mB64531EC09E871EF60BFAC16918A774C977C7B50 (CustomYieldInstruction_t6B81A50D5D210C1ACAAE247FB53B65CDFFEB7617* __this, const RuntimeMethod* method) ;
  260. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* UnityWebRequest_Get_m1A332EE069BB5052368307F254A5A7627BB5FD86 (String_t* ___0_uri, const RuntimeMethod* method) ;
  261. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C* UnityWebRequest_SendWebRequest_mA3CD13983BAA5074A0640EDD661B1E46E6DB6C13 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  262. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WWW_WaitUntilDoneIfPossible_mD975AFF6737F00BB5003C5AEDBD795751F129A84 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method) ;
  263. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t UnityWebRequest_get_result_mEF83848C5FCFB5E307CE4B57E42BF02FC9AED449 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  264. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* UnityWebRequest_get_downloadHandler_m1AA91B23D9D594A4F4FE2975FC356C508528F1D5 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  265. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* DownloadHandler_get_data_m1DC9B4514B12939B090028BF28C6BEF21DE9B6F3 (DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* __this, const RuntimeMethod* method) ;
  266. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UnityWebRequest_get_isDone_m3079B53A1CAFD8D5B334C635761E7B7E10B14123 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  267. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* UnityWebRequest_get_error_m20A5D813ED59118B7AA1D1E2EB5250178B1F5B6F (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  268. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t UnityWebRequest_get_responseCode_m012C177F61435D5D120A21D7A03FFF7B0F8B904B (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  269. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* UnityWebRequest_GetHTTPStatusString_m791BC62F33D286229978CFFC201B16E1F2D3FB2D (int64_t ___0_responseCode, const RuntimeMethod* method) ;
  270. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_mFB7DA489BD99F4670881FF50EC017BFB0A5C0987 (String_t* ___0_format, RuntimeObject* ___1_arg0, RuntimeObject* ___2_arg1, const RuntimeMethod* method) ;
  271. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float UnityWebRequest_get_downloadProgress_m28B3DB759530A61929D8AB02A4482AB21D3348B1 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  272. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* UnityWebRequest_get_url_mA3BF205A6FCA2BF66A62174182BE84553CE3FFA8 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  273. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityWebRequest_Dispose_m9F43494C0FEA530A97D3F2AF3D425CCC7670753A (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  274. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WWW_get_url_m368B1D7D23DC22E412A3F802C6E3047760665519 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method) ;
  275. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_StartsWith_mA2A4405B1B9F3653A6A9AA7F223F68D86A0C6264 (String_t* __this, String_t* ___0_value, int32_t ___1_comparisonType, const RuntimeMethod* method) ;
  276. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
  277. #ifdef __clang__
  278. #pragma clang diagnostic push
  279. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  280. #pragma clang diagnostic ignored "-Wunused-variable"
  281. #endif
  282. #ifdef __clang__
  283. #pragma clang diagnostic pop
  284. #endif
  285. #ifdef __clang__
  286. #pragma clang diagnostic push
  287. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  288. #pragma clang diagnostic ignored "-Wunused-variable"
  289. #endif
  290. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WWW__ctor_m5D29D83E9EE0925ED8252347CE24EC236401503D (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, String_t* ___0_url, const RuntimeMethod* method)
  291. {
  292. {
  293. CustomYieldInstruction__ctor_mB64531EC09E871EF60BFAC16918A774C977C7B50(__this, NULL);
  294. String_t* L_0 = ___0_url;
  295. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_1;
  296. L_1 = UnityWebRequest_Get_m1A332EE069BB5052368307F254A5A7627BB5FD86(L_0, NULL);
  297. __this->____uwr = L_1;
  298. Il2CppCodeGenWriteBarrier((void**)(&__this->____uwr), (void*)L_1);
  299. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_2 = __this->____uwr;
  300. NullCheck(L_2);
  301. UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C* L_3;
  302. L_3 = UnityWebRequest_SendWebRequest_mA3CD13983BAA5074A0640EDD661B1E46E6DB6C13(L_2, NULL);
  303. return;
  304. }
  305. }
  306. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* WWW_get_bytes_m83F5C24FC5AC80C5F3B9AF1E290E08F8B96C0642 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method)
  307. {
  308. static bool s_Il2CppMethodInitialized;
  309. if (!s_Il2CppMethodInitialized)
  310. {
  311. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var);
  312. s_Il2CppMethodInitialized = true;
  313. }
  314. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* V_0 = NULL;
  315. bool V_1 = false;
  316. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* V_2 = NULL;
  317. bool V_3 = false;
  318. bool V_4 = false;
  319. {
  320. bool L_0;
  321. L_0 = WWW_WaitUntilDoneIfPossible_mD975AFF6737F00BB5003C5AEDBD795751F129A84(__this, NULL);
  322. V_1 = (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0);
  323. bool L_1 = V_1;
  324. if (!L_1)
  325. {
  326. goto IL_0017;
  327. }
  328. }
  329. {
  330. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_2 = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)SZArrayNew(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var, (uint32_t)0);
  331. V_2 = L_2;
  332. goto IL_005a;
  333. }
  334. IL_0017:
  335. {
  336. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_3 = __this->____uwr;
  337. NullCheck(L_3);
  338. int32_t L_4;
  339. L_4 = UnityWebRequest_get_result_mEF83848C5FCFB5E307CE4B57E42BF02FC9AED449(L_3, NULL);
  340. V_3 = (bool)((((int32_t)L_4) == ((int32_t)2))? 1 : 0);
  341. bool L_5 = V_3;
  342. if (!L_5)
  343. {
  344. goto IL_0032;
  345. }
  346. }
  347. {
  348. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_6 = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)SZArrayNew(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var, (uint32_t)0);
  349. V_2 = L_6;
  350. goto IL_005a;
  351. }
  352. IL_0032:
  353. {
  354. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_7 = __this->____uwr;
  355. NullCheck(L_7);
  356. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* L_8;
  357. L_8 = UnityWebRequest_get_downloadHandler_m1AA91B23D9D594A4F4FE2975FC356C508528F1D5(L_7, NULL);
  358. V_0 = L_8;
  359. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* L_9 = V_0;
  360. V_4 = (bool)((((RuntimeObject*)(DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB*)L_9) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
  361. bool L_10 = V_4;
  362. if (!L_10)
  363. {
  364. goto IL_0051;
  365. }
  366. }
  367. {
  368. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_11 = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)SZArrayNew(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var, (uint32_t)0);
  369. V_2 = L_11;
  370. goto IL_005a;
  371. }
  372. IL_0051:
  373. {
  374. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* L_12 = V_0;
  375. NullCheck(L_12);
  376. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_13;
  377. L_13 = DownloadHandler_get_data_m1DC9B4514B12939B090028BF28C6BEF21DE9B6F3(L_12, NULL);
  378. V_2 = L_13;
  379. goto IL_005a;
  380. }
  381. IL_005a:
  382. {
  383. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_14 = V_2;
  384. return L_14;
  385. }
  386. }
  387. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WWW_get_error_m6B2E4F6DB8ECC8217A112EC62AAA1D5E71AA1C93 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method)
  388. {
  389. static bool s_Il2CppMethodInitialized;
  390. if (!s_Il2CppMethodInitialized)
  391. {
  392. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3_il2cpp_TypeInfo_var);
  393. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8E752B76D455A50FE476984D4B09A7CDBF2A753E);
  394. s_Il2CppMethodInitialized = true;
  395. }
  396. bool V_0 = false;
  397. String_t* V_1 = NULL;
  398. bool V_2 = false;
  399. bool V_3 = false;
  400. String_t* V_4 = NULL;
  401. {
  402. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_0 = __this->____uwr;
  403. NullCheck(L_0);
  404. bool L_1;
  405. L_1 = UnityWebRequest_get_isDone_m3079B53A1CAFD8D5B334C635761E7B7E10B14123(L_0, NULL);
  406. V_0 = (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
  407. bool L_2 = V_0;
  408. if (!L_2)
  409. {
  410. goto IL_0017;
  411. }
  412. }
  413. {
  414. V_1 = (String_t*)NULL;
  415. goto IL_0087;
  416. }
  417. IL_0017:
  418. {
  419. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_3 = __this->____uwr;
  420. NullCheck(L_3);
  421. int32_t L_4;
  422. L_4 = UnityWebRequest_get_result_mEF83848C5FCFB5E307CE4B57E42BF02FC9AED449(L_3, NULL);
  423. V_2 = (bool)((((int32_t)L_4) == ((int32_t)2))? 1 : 0);
  424. bool L_5 = V_2;
  425. if (!L_5)
  426. {
  427. goto IL_0037;
  428. }
  429. }
  430. {
  431. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_6 = __this->____uwr;
  432. NullCheck(L_6);
  433. String_t* L_7;
  434. L_7 = UnityWebRequest_get_error_m20A5D813ED59118B7AA1D1E2EB5250178B1F5B6F(L_6, NULL);
  435. V_1 = L_7;
  436. goto IL_0087;
  437. }
  438. IL_0037:
  439. {
  440. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_8 = __this->____uwr;
  441. NullCheck(L_8);
  442. int64_t L_9;
  443. L_9 = UnityWebRequest_get_responseCode_m012C177F61435D5D120A21D7A03FFF7B0F8B904B(L_8, NULL);
  444. V_3 = (bool)((((int32_t)((((int64_t)L_9) < ((int64_t)((int64_t)((int32_t)400))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
  445. bool L_10 = V_3;
  446. if (!L_10)
  447. {
  448. goto IL_0083;
  449. }
  450. }
  451. {
  452. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_11 = __this->____uwr;
  453. NullCheck(L_11);
  454. int64_t L_12;
  455. L_12 = UnityWebRequest_get_responseCode_m012C177F61435D5D120A21D7A03FFF7B0F8B904B(L_11, NULL);
  456. String_t* L_13;
  457. L_13 = UnityWebRequest_GetHTTPStatusString_m791BC62F33D286229978CFFC201B16E1F2D3FB2D(L_12, NULL);
  458. V_4 = L_13;
  459. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_14 = __this->____uwr;
  460. NullCheck(L_14);
  461. int64_t L_15;
  462. L_15 = UnityWebRequest_get_responseCode_m012C177F61435D5D120A21D7A03FFF7B0F8B904B(L_14, NULL);
  463. int64_t L_16 = L_15;
  464. RuntimeObject* L_17 = Box(Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3_il2cpp_TypeInfo_var, &L_16);
  465. String_t* L_18 = V_4;
  466. String_t* L_19;
  467. L_19 = String_Format_mFB7DA489BD99F4670881FF50EC017BFB0A5C0987(_stringLiteral8E752B76D455A50FE476984D4B09A7CDBF2A753E, L_17, L_18, NULL);
  468. V_1 = L_19;
  469. goto IL_0087;
  470. }
  471. IL_0083:
  472. {
  473. V_1 = (String_t*)NULL;
  474. goto IL_0087;
  475. }
  476. IL_0087:
  477. {
  478. String_t* L_20 = V_1;
  479. return L_20;
  480. }
  481. }
  482. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WWW_get_isDone_m7E88B666AD0E3903757043813B2811BBFCCCA52E (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method)
  483. {
  484. bool V_0 = false;
  485. {
  486. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_0 = __this->____uwr;
  487. NullCheck(L_0);
  488. bool L_1;
  489. L_1 = UnityWebRequest_get_isDone_m3079B53A1CAFD8D5B334C635761E7B7E10B14123(L_0, NULL);
  490. V_0 = L_1;
  491. goto IL_000f;
  492. }
  493. IL_000f:
  494. {
  495. bool L_2 = V_0;
  496. return L_2;
  497. }
  498. }
  499. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float WWW_get_progress_m8BE51921011B9C737C690F8776F93109E5481B47 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method)
  500. {
  501. float V_0 = 0.0f;
  502. bool V_1 = false;
  503. float V_2 = 0.0f;
  504. {
  505. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_0 = __this->____uwr;
  506. NullCheck(L_0);
  507. float L_1;
  508. L_1 = UnityWebRequest_get_downloadProgress_m28B3DB759530A61929D8AB02A4482AB21D3348B1(L_0, NULL);
  509. V_0 = L_1;
  510. float L_2 = V_0;
  511. V_1 = (bool)((((float)L_2) < ((float)(0.0f)))? 1 : 0);
  512. bool L_3 = V_1;
  513. if (!L_3)
  514. {
  515. goto IL_001f;
  516. }
  517. }
  518. {
  519. V_0 = (0.0f);
  520. }
  521. IL_001f:
  522. {
  523. float L_4 = V_0;
  524. V_2 = L_4;
  525. goto IL_0023;
  526. }
  527. IL_0023:
  528. {
  529. float L_5 = V_2;
  530. return L_5;
  531. }
  532. }
  533. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WWW_get_url_m368B1D7D23DC22E412A3F802C6E3047760665519 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method)
  534. {
  535. String_t* V_0 = NULL;
  536. {
  537. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_0 = __this->____uwr;
  538. NullCheck(L_0);
  539. String_t* L_1;
  540. L_1 = UnityWebRequest_get_url_mA3BF205A6FCA2BF66A62174182BE84553CE3FFA8(L_0, NULL);
  541. V_0 = L_1;
  542. goto IL_000f;
  543. }
  544. IL_000f:
  545. {
  546. String_t* L_2 = V_0;
  547. return L_2;
  548. }
  549. }
  550. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WWW_get_keepWaiting_m2D6B60FD9CB9C3E86D69E87EA32953AA68AE26B9 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method)
  551. {
  552. bool V_0 = false;
  553. int32_t G_B3_0 = 0;
  554. {
  555. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_0 = __this->____uwr;
  556. if (!L_0)
  557. {
  558. goto IL_0019;
  559. }
  560. }
  561. {
  562. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_1 = __this->____uwr;
  563. NullCheck(L_1);
  564. bool L_2;
  565. L_2 = UnityWebRequest_get_isDone_m3079B53A1CAFD8D5B334C635761E7B7E10B14123(L_1, NULL);
  566. G_B3_0 = ((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
  567. goto IL_001a;
  568. }
  569. IL_0019:
  570. {
  571. G_B3_0 = 0;
  572. }
  573. IL_001a:
  574. {
  575. V_0 = (bool)G_B3_0;
  576. goto IL_001d;
  577. }
  578. IL_001d:
  579. {
  580. bool L_3 = V_0;
  581. return L_3;
  582. }
  583. }
  584. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WWW_Dispose_mE5FC4A2013C63A68C287F139B177D86F75C4A74F (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method)
  585. {
  586. bool V_0 = false;
  587. {
  588. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_0 = __this->____uwr;
  589. V_0 = (bool)((!(((RuntimeObject*)(UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F*)L_0) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
  590. bool L_1 = V_0;
  591. if (!L_1)
  592. {
  593. goto IL_0023;
  594. }
  595. }
  596. {
  597. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_2 = __this->____uwr;
  598. NullCheck(L_2);
  599. UnityWebRequest_Dispose_m9F43494C0FEA530A97D3F2AF3D425CCC7670753A(L_2, NULL);
  600. __this->____uwr = (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F*)NULL;
  601. Il2CppCodeGenWriteBarrier((void**)(&__this->____uwr), (void*)(UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F*)NULL);
  602. }
  603. IL_0023:
  604. {
  605. return;
  606. }
  607. }
  608. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WWW_WaitUntilDoneIfPossible_mD975AFF6737F00BB5003C5AEDBD795751F129A84 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method)
  609. {
  610. static bool s_Il2CppMethodInitialized;
  611. if (!s_Il2CppMethodInitialized)
  612. {
  613. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  614. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral218F5A08519088A96BE3C1074984C53EA49F1CCA);
  615. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE2429764F10DC7E990250D2AE4138FE5AC928076);
  616. s_Il2CppMethodInitialized = true;
  617. }
  618. bool V_0 = false;
  619. bool V_1 = false;
  620. bool V_2 = false;
  621. bool V_3 = false;
  622. {
  623. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_0 = __this->____uwr;
  624. NullCheck(L_0);
  625. bool L_1;
  626. L_1 = UnityWebRequest_get_isDone_m3079B53A1CAFD8D5B334C635761E7B7E10B14123(L_0, NULL);
  627. V_0 = L_1;
  628. bool L_2 = V_0;
  629. if (!L_2)
  630. {
  631. goto IL_0014;
  632. }
  633. }
  634. {
  635. V_1 = (bool)1;
  636. goto IL_0054;
  637. }
  638. IL_0014:
  639. {
  640. String_t* L_3;
  641. L_3 = WWW_get_url_m368B1D7D23DC22E412A3F802C6E3047760665519(__this, NULL);
  642. NullCheck(L_3);
  643. bool L_4;
  644. L_4 = String_StartsWith_mA2A4405B1B9F3653A6A9AA7F223F68D86A0C6264(L_3, _stringLiteral218F5A08519088A96BE3C1074984C53EA49F1CCA, 5, NULL);
  645. V_2 = L_4;
  646. bool L_5 = V_2;
  647. if (!L_5)
  648. {
  649. goto IL_0044;
  650. }
  651. }
  652. {
  653. goto IL_002e;
  654. }
  655. IL_002c:
  656. {
  657. }
  658. IL_002e:
  659. {
  660. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_6 = __this->____uwr;
  661. NullCheck(L_6);
  662. bool L_7;
  663. L_7 = UnityWebRequest_get_isDone_m3079B53A1CAFD8D5B334C635761E7B7E10B14123(L_6, NULL);
  664. V_3 = (bool)((((int32_t)L_7) == ((int32_t)0))? 1 : 0);
  665. bool L_8 = V_3;
  666. if (L_8)
  667. {
  668. goto IL_002c;
  669. }
  670. }
  671. {
  672. V_1 = (bool)1;
  673. goto IL_0054;
  674. }
  675. IL_0044:
  676. {
  677. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  678. Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteralE2429764F10DC7E990250D2AE4138FE5AC928076, NULL);
  679. V_1 = (bool)0;
  680. goto IL_0054;
  681. }
  682. IL_0054:
  683. {
  684. bool L_9 = V_1;
  685. return L_9;
  686. }
  687. }
  688. #ifdef __clang__
  689. #pragma clang diagnostic pop
  690. #endif