UnityEngine.UnityWebRequestWWWModule.cpp 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
  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 Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4;
  16. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F;
  17. struct UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C;
  18. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6;
  19. struct Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E;
  20. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  21. struct WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB;
  22. IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
  23. IL2CPP_EXTERN_C String_t* _stringLiteral218F5A08519088A96BE3C1074984C53EA49F1CCA;
  24. IL2CPP_EXTERN_C String_t* _stringLiteral6652A4EEEFE1AE58E7CF235818DAD3A44193F05F;
  25. IL2CPP_EXTERN_C String_t* _stringLiteralE2429764F10DC7E990250D2AE4138FE5AC928076;
  26. IL2CPP_EXTERN_C String_t* _stringLiteralE3AC59A40D687CA8AD4CF9FF120C62CCB231056D;
  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 IntPtr_t
  87. {
  88. void* ___m_value;
  89. };
  90. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  91. {
  92. union
  93. {
  94. struct
  95. {
  96. };
  97. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  98. };
  99. };
  100. struct WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB : public CustomYieldInstruction_t6B81A50D5D210C1ACAAE247FB53B65CDFFEB7617
  101. {
  102. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* ____uwr;
  103. };
  104. struct AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D
  105. {
  106. intptr_t ___m_Ptr;
  107. Action_1_tE8693FF0E67CDBA52BAFB211BFF1844D076ABAFB* ___m_completeCallback;
  108. };
  109. struct AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C_marshaled_pinvoke : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_pinvoke
  110. {
  111. intptr_t ___m_Ptr;
  112. Il2CppMethodPointer ___m_completeCallback;
  113. };
  114. struct AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C_marshaled_com : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_com
  115. {
  116. intptr_t ___m_Ptr;
  117. Il2CppMethodPointer ___m_completeCallback;
  118. };
  119. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804 : public RuntimeObject
  120. {
  121. intptr_t ___m_Ptr;
  122. };
  123. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_pinvoke
  124. {
  125. intptr_t ___m_Ptr;
  126. };
  127. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com
  128. {
  129. intptr_t ___m_Ptr;
  130. };
  131. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB : public RuntimeObject
  132. {
  133. intptr_t ___m_Ptr;
  134. };
  135. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_pinvoke
  136. {
  137. intptr_t ___m_Ptr;
  138. };
  139. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com
  140. {
  141. intptr_t ___m_Ptr;
  142. };
  143. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
  144. {
  145. intptr_t ___m_CachedPtr;
  146. };
  147. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
  148. {
  149. intptr_t ___m_CachedPtr;
  150. };
  151. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
  152. {
  153. intptr_t ___m_CachedPtr;
  154. };
  155. struct StringComparison_tE14A55CCFA001A5AC85D754179BF2888F45CC94D
  156. {
  157. int32_t ___value__;
  158. };
  159. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6 : public RuntimeObject
  160. {
  161. intptr_t ___m_Ptr;
  162. };
  163. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_pinvoke
  164. {
  165. intptr_t ___m_Ptr;
  166. };
  167. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_com
  168. {
  169. intptr_t ___m_Ptr;
  170. };
  171. struct Result_tFB98154F15BF37A66902802D441FEFADC68D4C87
  172. {
  173. int32_t ___value__;
  174. };
  175. struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  176. {
  177. };
  178. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F : public RuntimeObject
  179. {
  180. intptr_t ___m_Ptr;
  181. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* ___m_DownloadHandler;
  182. UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6* ___m_UploadHandler;
  183. CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804* ___m_CertificateHandler;
  184. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___m_Uri;
  185. bool ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField;
  186. bool ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField;
  187. bool ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField;
  188. };
  189. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_pinvoke
  190. {
  191. intptr_t ___m_Ptr;
  192. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_pinvoke ___m_DownloadHandler;
  193. UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_pinvoke ___m_UploadHandler;
  194. CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_pinvoke ___m_CertificateHandler;
  195. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___m_Uri;
  196. int32_t ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField;
  197. int32_t ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField;
  198. int32_t ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField;
  199. };
  200. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_com
  201. {
  202. intptr_t ___m_Ptr;
  203. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com* ___m_DownloadHandler;
  204. UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_com* ___m_UploadHandler;
  205. CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com* ___m_CertificateHandler;
  206. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___m_Uri;
  207. int32_t ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField;
  208. int32_t ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField;
  209. int32_t ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField;
  210. };
  211. struct UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C : public AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C
  212. {
  213. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* ___U3CwebRequestU3Ek__BackingField;
  214. };
  215. struct UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C_marshaled_pinvoke : public AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C_marshaled_pinvoke
  216. {
  217. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_pinvoke* ___U3CwebRequestU3Ek__BackingField;
  218. };
  219. struct UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C_marshaled_com : public AsyncOperation_tD2789250E4B098DEDA92B366A577E500A92D2D3C_marshaled_com
  220. {
  221. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_com* ___U3CwebRequestU3Ek__BackingField;
  222. };
  223. struct Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4 : public Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700
  224. {
  225. };
  226. struct String_t_StaticFields
  227. {
  228. String_t* ___Empty;
  229. };
  230. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  231. {
  232. String_t* ___TrueString;
  233. String_t* ___FalseString;
  234. };
  235. #ifdef __clang__
  236. #pragma clang diagnostic pop
  237. #endif
  238. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031 : public RuntimeArray
  239. {
  240. ALIGN_FIELD (8) uint8_t m_Items[1];
  241. inline uint8_t GetAt(il2cpp_array_size_t index) const
  242. {
  243. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  244. return m_Items[index];
  245. }
  246. inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
  247. {
  248. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  249. return m_Items + index;
  250. }
  251. inline void SetAt(il2cpp_array_size_t index, uint8_t value)
  252. {
  253. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  254. m_Items[index] = value;
  255. }
  256. inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
  257. {
  258. return m_Items[index];
  259. }
  260. inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  261. {
  262. return m_Items + index;
  263. }
  264. inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
  265. {
  266. m_Items[index] = value;
  267. }
  268. };
  269. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CustomYieldInstruction__ctor_mB64531EC09E871EF60BFAC16918A774C977C7B50 (CustomYieldInstruction_t6B81A50D5D210C1ACAAE247FB53B65CDFFEB7617* __this, const RuntimeMethod* method) ;
  270. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* UnityWebRequest_Get_m1A332EE069BB5052368307F254A5A7627BB5FD86 (String_t* ___0_uri, const RuntimeMethod* method) ;
  271. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C* UnityWebRequest_SendWebRequest_mA3CD13983BAA5074A0640EDD661B1E46E6DB6C13 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  272. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WWW_WaitUntilDoneIfPossible_mD975AFF6737F00BB5003C5AEDBD795751F129A84 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method) ;
  273. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t UnityWebRequest_get_result_mEF83848C5FCFB5E307CE4B57E42BF02FC9AED449 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  274. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
  275. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* UnityWebRequest_get_downloadHandler_m1AA91B23D9D594A4F4FE2975FC356C508528F1D5 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  276. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* DownloadHandler_get_data_m1DC9B4514B12939B090028BF28C6BEF21DE9B6F3 (DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* __this, const RuntimeMethod* method) ;
  277. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ImageConversion_LoadImage_m292ADCEED268A0A0AAD532BAB8D1710CF0FC8AEF (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___0_tex, ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___1_data, bool ___2_markNonReadable, const RuntimeMethod* method) ;
  278. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* UnityWebRequest_get_url_mA3BF205A6FCA2BF66A62174182BE84553CE3FFA8 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  279. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UnityWebRequest_get_isDone_m3079B53A1CAFD8D5B334C635761E7B7E10B14123 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  280. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityWebRequest_Dispose_m9F43494C0FEA530A97D3F2AF3D425CCC7670753A (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, const RuntimeMethod* method) ;
  281. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WWW_get_url_m368B1D7D23DC22E412A3F802C6E3047760665519 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method) ;
  282. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_StartsWith_mA2A4405B1B9F3653A6A9AA7F223F68D86A0C6264 (String_t* __this, String_t* ___0_value, int32_t ___1_comparisonType, const RuntimeMethod* method) ;
  283. #ifdef __clang__
  284. #pragma clang diagnostic push
  285. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  286. #pragma clang diagnostic ignored "-Wunused-variable"
  287. #endif
  288. #ifdef __clang__
  289. #pragma clang diagnostic pop
  290. #endif
  291. #ifdef __clang__
  292. #pragma clang diagnostic push
  293. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  294. #pragma clang diagnostic ignored "-Wunused-variable"
  295. #endif
  296. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WWW__ctor_m5D29D83E9EE0925ED8252347CE24EC236401503D (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, String_t* ___0_url, const RuntimeMethod* method)
  297. {
  298. {
  299. CustomYieldInstruction__ctor_mB64531EC09E871EF60BFAC16918A774C977C7B50(__this, NULL);
  300. String_t* L_0 = ___0_url;
  301. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_1;
  302. L_1 = UnityWebRequest_Get_m1A332EE069BB5052368307F254A5A7627BB5FD86(L_0, NULL);
  303. __this->____uwr = L_1;
  304. Il2CppCodeGenWriteBarrier((void**)(&__this->____uwr), (void*)L_1);
  305. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_2 = __this->____uwr;
  306. NullCheck(L_2);
  307. UnityWebRequestAsyncOperation_t14BE94558FF3A2CFC2EFBE2511A3A88252042B8C* L_3;
  308. L_3 = UnityWebRequest_SendWebRequest_mA3CD13983BAA5074A0640EDD661B1E46E6DB6C13(L_2, NULL);
  309. return;
  310. }
  311. }
  312. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WWW_LoadImageIntoTexture_m81D37261ED690E2548887532443C2DBEDCBE43D4 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___0_texture, const RuntimeMethod* method)
  313. {
  314. static bool s_Il2CppMethodInitialized;
  315. if (!s_Il2CppMethodInitialized)
  316. {
  317. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  318. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6652A4EEEFE1AE58E7CF235818DAD3A44193F05F);
  319. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE3AC59A40D687CA8AD4CF9FF120C62CCB231056D);
  320. s_Il2CppMethodInitialized = true;
  321. }
  322. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* V_0 = NULL;
  323. bool V_1 = false;
  324. bool V_2 = false;
  325. bool V_3 = false;
  326. {
  327. bool L_0;
  328. L_0 = WWW_WaitUntilDoneIfPossible_mD975AFF6737F00BB5003C5AEDBD795751F129A84(__this, NULL);
  329. V_1 = (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0);
  330. bool L_1 = V_1;
  331. if (!L_1)
  332. {
  333. goto IL_0010;
  334. }
  335. }
  336. {
  337. goto IL_0060;
  338. }
  339. IL_0010:
  340. {
  341. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_2 = __this->____uwr;
  342. NullCheck(L_2);
  343. int32_t L_3;
  344. L_3 = UnityWebRequest_get_result_mEF83848C5FCFB5E307CE4B57E42BF02FC9AED449(L_2, NULL);
  345. V_2 = (bool)((((int32_t)L_3) == ((int32_t)2))? 1 : 0);
  346. bool L_4 = V_2;
  347. if (!L_4)
  348. {
  349. goto IL_0030;
  350. }
  351. }
  352. {
  353. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  354. Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteralE3AC59A40D687CA8AD4CF9FF120C62CCB231056D, NULL);
  355. goto IL_0060;
  356. }
  357. IL_0030:
  358. {
  359. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_5 = __this->____uwr;
  360. NullCheck(L_5);
  361. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* L_6;
  362. L_6 = UnityWebRequest_get_downloadHandler_m1AA91B23D9D594A4F4FE2975FC356C508528F1D5(L_5, NULL);
  363. V_0 = L_6;
  364. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* L_7 = V_0;
  365. V_3 = (bool)((((RuntimeObject*)(DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB*)L_7) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
  366. bool L_8 = V_3;
  367. if (!L_8)
  368. {
  369. goto IL_0052;
  370. }
  371. }
  372. {
  373. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  374. Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral6652A4EEEFE1AE58E7CF235818DAD3A44193F05F, NULL);
  375. goto IL_0060;
  376. }
  377. IL_0052:
  378. {
  379. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_9 = ___0_texture;
  380. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* L_10 = V_0;
  381. NullCheck(L_10);
  382. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_11;
  383. L_11 = DownloadHandler_get_data_m1DC9B4514B12939B090028BF28C6BEF21DE9B6F3(L_10, NULL);
  384. bool L_12;
  385. L_12 = ImageConversion_LoadImage_m292ADCEED268A0A0AAD532BAB8D1710CF0FC8AEF(L_9, L_11, (bool)0, NULL);
  386. }
  387. IL_0060:
  388. {
  389. return;
  390. }
  391. }
  392. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WWW_get_url_m368B1D7D23DC22E412A3F802C6E3047760665519 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method)
  393. {
  394. String_t* V_0 = NULL;
  395. {
  396. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_0 = __this->____uwr;
  397. NullCheck(L_0);
  398. String_t* L_1;
  399. L_1 = UnityWebRequest_get_url_mA3BF205A6FCA2BF66A62174182BE84553CE3FFA8(L_0, NULL);
  400. V_0 = L_1;
  401. goto IL_000f;
  402. }
  403. IL_000f:
  404. {
  405. String_t* L_2 = V_0;
  406. return L_2;
  407. }
  408. }
  409. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WWW_get_keepWaiting_m2D6B60FD9CB9C3E86D69E87EA32953AA68AE26B9 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method)
  410. {
  411. bool V_0 = false;
  412. int32_t G_B3_0 = 0;
  413. {
  414. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_0 = __this->____uwr;
  415. if (!L_0)
  416. {
  417. goto IL_0019;
  418. }
  419. }
  420. {
  421. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_1 = __this->____uwr;
  422. NullCheck(L_1);
  423. bool L_2;
  424. L_2 = UnityWebRequest_get_isDone_m3079B53A1CAFD8D5B334C635761E7B7E10B14123(L_1, NULL);
  425. G_B3_0 = ((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
  426. goto IL_001a;
  427. }
  428. IL_0019:
  429. {
  430. G_B3_0 = 0;
  431. }
  432. IL_001a:
  433. {
  434. V_0 = (bool)G_B3_0;
  435. goto IL_001d;
  436. }
  437. IL_001d:
  438. {
  439. bool L_3 = V_0;
  440. return L_3;
  441. }
  442. }
  443. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WWW_Dispose_mE5FC4A2013C63A68C287F139B177D86F75C4A74F (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method)
  444. {
  445. bool V_0 = false;
  446. {
  447. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_0 = __this->____uwr;
  448. V_0 = (bool)((!(((RuntimeObject*)(UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F*)L_0) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
  449. bool L_1 = V_0;
  450. if (!L_1)
  451. {
  452. goto IL_0023;
  453. }
  454. }
  455. {
  456. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_2 = __this->____uwr;
  457. NullCheck(L_2);
  458. UnityWebRequest_Dispose_m9F43494C0FEA530A97D3F2AF3D425CCC7670753A(L_2, NULL);
  459. __this->____uwr = (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F*)NULL;
  460. Il2CppCodeGenWriteBarrier((void**)(&__this->____uwr), (void*)(UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F*)NULL);
  461. }
  462. IL_0023:
  463. {
  464. return;
  465. }
  466. }
  467. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WWW_WaitUntilDoneIfPossible_mD975AFF6737F00BB5003C5AEDBD795751F129A84 (WWW_tEADA9A43B98FC277E498F8E3206A3B8C4E5AF3FB* __this, const RuntimeMethod* method)
  468. {
  469. static bool s_Il2CppMethodInitialized;
  470. if (!s_Il2CppMethodInitialized)
  471. {
  472. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  473. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral218F5A08519088A96BE3C1074984C53EA49F1CCA);
  474. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE2429764F10DC7E990250D2AE4138FE5AC928076);
  475. s_Il2CppMethodInitialized = true;
  476. }
  477. bool V_0 = false;
  478. bool V_1 = false;
  479. bool V_2 = false;
  480. bool V_3 = false;
  481. {
  482. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_0 = __this->____uwr;
  483. NullCheck(L_0);
  484. bool L_1;
  485. L_1 = UnityWebRequest_get_isDone_m3079B53A1CAFD8D5B334C635761E7B7E10B14123(L_0, NULL);
  486. V_0 = L_1;
  487. bool L_2 = V_0;
  488. if (!L_2)
  489. {
  490. goto IL_0014;
  491. }
  492. }
  493. {
  494. V_1 = (bool)1;
  495. goto IL_0054;
  496. }
  497. IL_0014:
  498. {
  499. String_t* L_3;
  500. L_3 = WWW_get_url_m368B1D7D23DC22E412A3F802C6E3047760665519(__this, NULL);
  501. NullCheck(L_3);
  502. bool L_4;
  503. L_4 = String_StartsWith_mA2A4405B1B9F3653A6A9AA7F223F68D86A0C6264(L_3, _stringLiteral218F5A08519088A96BE3C1074984C53EA49F1CCA, 5, NULL);
  504. V_2 = L_4;
  505. bool L_5 = V_2;
  506. if (!L_5)
  507. {
  508. goto IL_0044;
  509. }
  510. }
  511. {
  512. goto IL_002e;
  513. }
  514. IL_002c:
  515. {
  516. }
  517. IL_002e:
  518. {
  519. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_6 = __this->____uwr;
  520. NullCheck(L_6);
  521. bool L_7;
  522. L_7 = UnityWebRequest_get_isDone_m3079B53A1CAFD8D5B334C635761E7B7E10B14123(L_6, NULL);
  523. V_3 = (bool)((((int32_t)L_7) == ((int32_t)0))? 1 : 0);
  524. bool L_8 = V_3;
  525. if (L_8)
  526. {
  527. goto IL_002c;
  528. }
  529. }
  530. {
  531. V_1 = (bool)1;
  532. goto IL_0054;
  533. }
  534. IL_0044:
  535. {
  536. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  537. Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteralE2429764F10DC7E990250D2AE4138FE5AC928076, NULL);
  538. V_1 = (bool)0;
  539. goto IL_0054;
  540. }
  541. IL_0054:
  542. {
  543. bool L_9 = V_1;
  544. return L_9;
  545. }
  546. }
  547. #ifdef __clang__
  548. #pragma clang diagnostic pop
  549. #endif