暫無描述
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

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