UnityEngine.UnityWebRequestTextureModule.cpp 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719
  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. #include <stdint.h>
  9. template <typename R>
  10. struct VirtualFuncInvoker0
  11. {
  12. typedef R (*Func)(void*, const RuntimeMethod*);
  13. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
  14. {
  15. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  16. return ((Func)invokeData.methodPtr)(obj, invokeData.method);
  17. }
  18. };
  19. // System.Byte[]
  20. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  21. // UnityEngine.Networking.CertificateHandler
  22. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804;
  23. // UnityEngine.Networking.DownloadHandler
  24. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB;
  25. // UnityEngine.Networking.DownloadHandlerTexture
  26. struct DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C;
  27. // UnityEngine.Object
  28. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
  29. // System.String
  30. struct String_t;
  31. // UnityEngine.Texture2D
  32. struct Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4;
  33. // UnityEngine.Networking.UnityWebRequest
  34. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F;
  35. // UnityEngine.Networking.UploadHandler
  36. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6;
  37. // System.Uri
  38. struct Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E;
  39. // System.Void
  40. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  41. IL2CPP_EXTERN_C RuntimeClass* DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_il2cpp_TypeInfo_var;
  42. IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
  43. IL2CPP_EXTERN_C RuntimeClass* Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var;
  44. IL2CPP_EXTERN_C RuntimeClass* UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_il2cpp_TypeInfo_var;
  45. IL2CPP_EXTERN_C String_t* _stringLiteral3781CFEEF925855A4B7284E1783A7D715A6333F6;
  46. IL2CPP_EXTERN_C const RuntimeMethod* DownloadHandler_GetCheckedDownloader_TisDownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_m48B87C30613EBA6F37E5EB26776D29B7612196E0_RuntimeMethod_var;
  47. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com;
  48. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com;
  49. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_com;
  50. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  51. IL2CPP_EXTERN_C_BEGIN
  52. IL2CPP_EXTERN_C_END
  53. #ifdef __clang__
  54. #pragma clang diagnostic push
  55. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  56. #pragma clang diagnostic ignored "-Wunused-variable"
  57. #endif
  58. // <Module>
  59. struct U3CModuleU3E_tAEEA45345F4FE6CCC29A863B181BFCCC6EDBCAC7
  60. {
  61. };
  62. struct Il2CppArrayBounds;
  63. // System.String
  64. struct String_t : public RuntimeObject
  65. {
  66. // System.Int32 System.String::_stringLength
  67. int32_t ____stringLength_4;
  68. // System.Char System.String::_firstChar
  69. Il2CppChar ____firstChar_5;
  70. };
  71. struct String_t_StaticFields
  72. {
  73. // System.String System.String::Empty
  74. String_t* ___Empty_6;
  75. };
  76. // UnityEngine.Networking.UnityWebRequestTexture
  77. struct UnityWebRequestTexture_t7C1794874F2663ED616906719C4A306A46B35C01 : public RuntimeObject
  78. {
  79. };
  80. // System.ValueType
  81. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  82. {
  83. };
  84. // Native definition for P/Invoke marshalling of System.ValueType
  85. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  86. {
  87. };
  88. // Native definition for COM marshalling of System.ValueType
  89. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  90. {
  91. };
  92. // Unity.Collections.NativeArray`1<System.Byte>
  93. struct NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF
  94. {
  95. // System.Void* Unity.Collections.NativeArray`1::m_Buffer
  96. void* ___m_Buffer_0;
  97. // System.Int32 Unity.Collections.NativeArray`1::m_Length
  98. int32_t ___m_Length_1;
  99. // Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
  100. int32_t ___m_AllocatorLabel_2;
  101. };
  102. // System.Boolean
  103. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  104. {
  105. // System.Boolean System.Boolean::m_value
  106. bool ___m_value_0;
  107. };
  108. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  109. {
  110. // System.String System.Boolean::TrueString
  111. String_t* ___TrueString_5;
  112. // System.String System.Boolean::FalseString
  113. String_t* ___FalseString_6;
  114. };
  115. // System.Byte
  116. struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
  117. {
  118. // System.Byte System.Byte::m_value
  119. uint8_t ___m_value_0;
  120. };
  121. // System.Int32
  122. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  123. {
  124. // System.Int32 System.Int32::m_value
  125. int32_t ___m_value_0;
  126. };
  127. // System.IntPtr
  128. struct IntPtr_t
  129. {
  130. // System.Void* System.IntPtr::m_value
  131. void* ___m_value_0;
  132. };
  133. struct IntPtr_t_StaticFields
  134. {
  135. // System.IntPtr System.IntPtr::Zero
  136. intptr_t ___Zero_1;
  137. };
  138. // System.Void
  139. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  140. {
  141. union
  142. {
  143. struct
  144. {
  145. };
  146. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  147. };
  148. };
  149. // UnityEngine.Networking.CertificateHandler
  150. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804 : public RuntimeObject
  151. {
  152. // System.IntPtr UnityEngine.Networking.CertificateHandler::m_Ptr
  153. intptr_t ___m_Ptr_0;
  154. };
  155. // Native definition for P/Invoke marshalling of UnityEngine.Networking.CertificateHandler
  156. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_pinvoke
  157. {
  158. intptr_t ___m_Ptr_0;
  159. };
  160. // Native definition for COM marshalling of UnityEngine.Networking.CertificateHandler
  161. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com
  162. {
  163. intptr_t ___m_Ptr_0;
  164. };
  165. // UnityEngine.Networking.DownloadHandler
  166. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB : public RuntimeObject
  167. {
  168. // System.IntPtr UnityEngine.Networking.DownloadHandler::m_Ptr
  169. intptr_t ___m_Ptr_0;
  170. };
  171. // Native definition for P/Invoke marshalling of UnityEngine.Networking.DownloadHandler
  172. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_pinvoke
  173. {
  174. intptr_t ___m_Ptr_0;
  175. };
  176. // Native definition for COM marshalling of UnityEngine.Networking.DownloadHandler
  177. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com
  178. {
  179. intptr_t ___m_Ptr_0;
  180. };
  181. // UnityEngine.Object
  182. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
  183. {
  184. // System.IntPtr UnityEngine.Object::m_CachedPtr
  185. intptr_t ___m_CachedPtr_0;
  186. };
  187. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
  188. {
  189. // System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
  190. int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
  191. };
  192. // Native definition for P/Invoke marshalling of UnityEngine.Object
  193. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
  194. {
  195. intptr_t ___m_CachedPtr_0;
  196. };
  197. // Native definition for COM marshalling of UnityEngine.Object
  198. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
  199. {
  200. intptr_t ___m_CachedPtr_0;
  201. };
  202. // UnityEngine.Networking.UploadHandler
  203. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6 : public RuntimeObject
  204. {
  205. // System.IntPtr UnityEngine.Networking.UploadHandler::m_Ptr
  206. intptr_t ___m_Ptr_0;
  207. };
  208. // Native definition for P/Invoke marshalling of UnityEngine.Networking.UploadHandler
  209. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_pinvoke
  210. {
  211. intptr_t ___m_Ptr_0;
  212. };
  213. // Native definition for COM marshalling of UnityEngine.Networking.UploadHandler
  214. struct UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_com
  215. {
  216. intptr_t ___m_Ptr_0;
  217. };
  218. // UnityEngine.Networking.DownloadHandlerTexture
  219. struct DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C : public DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB
  220. {
  221. // Unity.Collections.NativeArray`1<System.Byte> UnityEngine.Networking.DownloadHandlerTexture::m_NativeData
  222. NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF ___m_NativeData_1;
  223. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::mTexture
  224. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___mTexture_2;
  225. // System.Boolean UnityEngine.Networking.DownloadHandlerTexture::mHasTexture
  226. bool ___mHasTexture_3;
  227. // System.Boolean UnityEngine.Networking.DownloadHandlerTexture::mNonReadable
  228. bool ___mNonReadable_4;
  229. };
  230. // Native definition for P/Invoke marshalling of UnityEngine.Networking.DownloadHandlerTexture
  231. struct DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshaled_pinvoke : public DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_pinvoke
  232. {
  233. NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF ___m_NativeData_1;
  234. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___mTexture_2;
  235. int32_t ___mHasTexture_3;
  236. int32_t ___mNonReadable_4;
  237. };
  238. // Native definition for COM marshalling of UnityEngine.Networking.DownloadHandlerTexture
  239. struct DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshaled_com : public DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com
  240. {
  241. NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF ___m_NativeData_1;
  242. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___mTexture_2;
  243. int32_t ___mHasTexture_3;
  244. int32_t ___mNonReadable_4;
  245. };
  246. // UnityEngine.Texture
  247. struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  248. {
  249. };
  250. struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700_StaticFields
  251. {
  252. // System.Int32 UnityEngine.Texture::GenerateAllMips
  253. int32_t ___GenerateAllMips_4;
  254. };
  255. // UnityEngine.Networking.UnityWebRequest
  256. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F : public RuntimeObject
  257. {
  258. // System.IntPtr UnityEngine.Networking.UnityWebRequest::m_Ptr
  259. intptr_t ___m_Ptr_0;
  260. // UnityEngine.Networking.DownloadHandler UnityEngine.Networking.UnityWebRequest::m_DownloadHandler
  261. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* ___m_DownloadHandler_1;
  262. // UnityEngine.Networking.UploadHandler UnityEngine.Networking.UnityWebRequest::m_UploadHandler
  263. UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6* ___m_UploadHandler_2;
  264. // UnityEngine.Networking.CertificateHandler UnityEngine.Networking.UnityWebRequest::m_CertificateHandler
  265. CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804* ___m_CertificateHandler_3;
  266. // System.Uri UnityEngine.Networking.UnityWebRequest::m_Uri
  267. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___m_Uri_4;
  268. // System.Boolean UnityEngine.Networking.UnityWebRequest::<disposeCertificateHandlerOnDispose>k__BackingField
  269. bool ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5;
  270. // System.Boolean UnityEngine.Networking.UnityWebRequest::<disposeDownloadHandlerOnDispose>k__BackingField
  271. bool ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6;
  272. // System.Boolean UnityEngine.Networking.UnityWebRequest::<disposeUploadHandlerOnDispose>k__BackingField
  273. bool ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7;
  274. };
  275. // Native definition for P/Invoke marshalling of UnityEngine.Networking.UnityWebRequest
  276. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_pinvoke
  277. {
  278. intptr_t ___m_Ptr_0;
  279. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_pinvoke ___m_DownloadHandler_1;
  280. UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_pinvoke ___m_UploadHandler_2;
  281. CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_pinvoke ___m_CertificateHandler_3;
  282. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___m_Uri_4;
  283. int32_t ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5;
  284. int32_t ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6;
  285. int32_t ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7;
  286. };
  287. // Native definition for COM marshalling of UnityEngine.Networking.UnityWebRequest
  288. struct UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_marshaled_com
  289. {
  290. intptr_t ___m_Ptr_0;
  291. DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com* ___m_DownloadHandler_1;
  292. UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6_marshaled_com* ___m_UploadHandler_2;
  293. CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com* ___m_CertificateHandler_3;
  294. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___m_Uri_4;
  295. int32_t ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5;
  296. int32_t ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6;
  297. int32_t ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7;
  298. };
  299. // UnityEngine.Texture2D
  300. struct Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4 : public Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700
  301. {
  302. };
  303. #ifdef __clang__
  304. #pragma clang diagnostic pop
  305. #endif
  306. // System.Byte[]
  307. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031 : public RuntimeArray
  308. {
  309. ALIGN_FIELD (8) uint8_t m_Items[1];
  310. inline uint8_t GetAt(il2cpp_array_size_t index) const
  311. {
  312. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  313. return m_Items[index];
  314. }
  315. inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
  316. {
  317. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  318. return m_Items + index;
  319. }
  320. inline void SetAt(il2cpp_array_size_t index, uint8_t value)
  321. {
  322. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  323. m_Items[index] = value;
  324. }
  325. inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
  326. {
  327. return m_Items[index];
  328. }
  329. inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  330. {
  331. return m_Items + index;
  332. }
  333. inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
  334. {
  335. m_Items[index] = value;
  336. }
  337. };
  338. // T UnityEngine.Networking.DownloadHandler::GetCheckedDownloader<System.Object>(UnityEngine.Networking.UnityWebRequest)
  339. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* DownloadHandler_GetCheckedDownloader_TisRuntimeObject_mCD8E86885B6919DF07A065A18370EA15F37D0211_gshared (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* ___www0, const RuntimeMethod* method) ;
  340. // UnityEngine.Networking.UnityWebRequest UnityEngine.Networking.UnityWebRequestTexture::GetTexture(System.String,System.Boolean)
  341. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* UnityWebRequestTexture_GetTexture_m45F855106C834021AC0DFA25FE31BA14C42693CA (String_t* ___uri0, bool ___nonReadable1, const RuntimeMethod* method) ;
  342. // System.Void UnityEngine.Networking.DownloadHandlerTexture::.ctor(System.Boolean)
  343. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandlerTexture__ctor_m29775B9DEA2C54AE7EFED3550C31AB4D5CF58AD8 (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* __this, bool ___readable0, const RuntimeMethod* method) ;
  344. // System.Void UnityEngine.Networking.UnityWebRequest::.ctor(System.String,System.String,UnityEngine.Networking.DownloadHandler,UnityEngine.Networking.UploadHandler)
  345. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityWebRequest__ctor_m3798CB7D0BE685F2520AF1BBF83B523BBDD7980A (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* __this, String_t* ___url0, String_t* ___method1, DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* ___downloadHandler2, UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6* ___uploadHandler3, const RuntimeMethod* method) ;
  346. // System.IntPtr UnityEngine.Networking.DownloadHandlerTexture::Create(UnityEngine.Networking.DownloadHandlerTexture,System.Boolean)
  347. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t DownloadHandlerTexture_Create_m6DBB03DC64DB11F35862D7A4F6B4A814B8531A21 (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* ___obj0, bool ___readable1, const RuntimeMethod* method) ;
  348. // System.Void UnityEngine.Networking.DownloadHandler::.ctor()
  349. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandler__ctor_m833275AC5FCAC0BFB4F2D5C1C0C7FD76416CE496 (DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* __this, const RuntimeMethod* method) ;
  350. // System.Void UnityEngine.Networking.DownloadHandlerTexture::InternalCreateTexture(System.Boolean)
  351. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandlerTexture_InternalCreateTexture_m2BC0B138561A55B9CCAB694E4447888B21D1B47A (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* __this, bool ___readable0, const RuntimeMethod* method) ;
  352. // Unity.Collections.NativeArray`1<System.Byte> UnityEngine.Networking.DownloadHandler::InternalGetNativeArray(UnityEngine.Networking.DownloadHandler,Unity.Collections.NativeArray`1<System.Byte>&)
  353. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF DownloadHandler_InternalGetNativeArray_mE622083BC3893B43BC8E7C467A1895664C3B6B89 (DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* ___dh0, NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF* ___nativeArray1, const RuntimeMethod* method) ;
  354. // System.Void UnityEngine.Networking.DownloadHandler::DisposeNativeArray(Unity.Collections.NativeArray`1<System.Byte>&)
  355. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandler_DisposeNativeArray_m96514980A0A48921D17C059CAC2CC0CDA27B2398 (NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF* ___data0, const RuntimeMethod* method) ;
  356. // System.Void UnityEngine.Networking.DownloadHandler::Dispose()
  357. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandler_Dispose_mD5D4CCF0C2DFF1CB57C9B3A0EF4213ECB9F8F607 (DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* __this, const RuntimeMethod* method) ;
  358. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::InternalGetTexture()
  359. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* DownloadHandlerTexture_InternalGetTexture_mD1882B183F71176C89B42DB2C8A185BC9A647167 (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* __this, const RuntimeMethod* method) ;
  360. // System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
  361. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___x0, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___y1, const RuntimeMethod* method) ;
  362. // System.Void UnityEngine.Texture2D::.ctor(System.Int32,System.Int32)
  363. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture2D__ctor_m3BA82E87442B7F69E118477069AE11101B9DF796 (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* __this, int32_t ___width0, int32_t ___height1, const RuntimeMethod* method) ;
  364. // System.Boolean UnityEngine.ImageConversion::LoadImage(UnityEngine.Texture2D,System.Byte[],System.Boolean)
  365. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ImageConversion_LoadImage_m292ADCEED268A0A0AAD532BAB8D1710CF0FC8AEF (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___tex0, ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___data1, bool ___markNonReadable2, const RuntimeMethod* method) ;
  366. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::InternalGetTextureNative()
  367. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* DownloadHandlerTexture_InternalGetTextureNative_m9244CDF2A5DE7B9971121CAC5642DD5FEA877688 (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* __this, const RuntimeMethod* method) ;
  368. // T UnityEngine.Networking.DownloadHandler::GetCheckedDownloader<UnityEngine.Networking.DownloadHandlerTexture>(UnityEngine.Networking.UnityWebRequest)
  369. inline DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* DownloadHandler_GetCheckedDownloader_TisDownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_m48B87C30613EBA6F37E5EB26776D29B7612196E0 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* ___www0, const RuntimeMethod* method)
  370. {
  371. return (( DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* (*) (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F*, const RuntimeMethod*))DownloadHandler_GetCheckedDownloader_TisRuntimeObject_mCD8E86885B6919DF07A065A18370EA15F37D0211_gshared)(___www0, method);
  372. }
  373. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::get_texture()
  374. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* DownloadHandlerTexture_get_texture_m170B5539995EB5984E98E426F52983589F7BEB7C (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* __this, const RuntimeMethod* method) ;
  375. #ifdef __clang__
  376. #pragma clang diagnostic push
  377. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  378. #pragma clang diagnostic ignored "-Wunused-variable"
  379. #endif
  380. #ifdef __clang__
  381. #pragma clang diagnostic pop
  382. #endif
  383. #ifdef __clang__
  384. #pragma clang diagnostic push
  385. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  386. #pragma clang diagnostic ignored "-Wunused-variable"
  387. #endif
  388. // UnityEngine.Networking.UnityWebRequest UnityEngine.Networking.UnityWebRequestTexture::GetTexture(System.String)
  389. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* UnityWebRequestTexture_GetTexture_mEEC74BBC5190D4012A0B87C5D439AF59E22EF2EF (String_t* ___uri0, const RuntimeMethod* method)
  390. {
  391. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* V_0 = NULL;
  392. {
  393. String_t* L_0 = ___uri0;
  394. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_1;
  395. L_1 = UnityWebRequestTexture_GetTexture_m45F855106C834021AC0DFA25FE31BA14C42693CA(L_0, (bool)0, NULL);
  396. V_0 = L_1;
  397. goto IL_000b;
  398. }
  399. IL_000b:
  400. {
  401. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_2 = V_0;
  402. return L_2;
  403. }
  404. }
  405. // UnityEngine.Networking.UnityWebRequest UnityEngine.Networking.UnityWebRequestTexture::GetTexture(System.String,System.Boolean)
  406. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* UnityWebRequestTexture_GetTexture_m45F855106C834021AC0DFA25FE31BA14C42693CA (String_t* ___uri0, bool ___nonReadable1, const RuntimeMethod* method)
  407. {
  408. static bool s_Il2CppMethodInitialized;
  409. if (!s_Il2CppMethodInitialized)
  410. {
  411. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_il2cpp_TypeInfo_var);
  412. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_il2cpp_TypeInfo_var);
  413. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3781CFEEF925855A4B7284E1783A7D715A6333F6);
  414. s_Il2CppMethodInitialized = true;
  415. }
  416. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* V_0 = NULL;
  417. {
  418. String_t* L_0 = ___uri0;
  419. bool L_1 = ___nonReadable1;
  420. DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* L_2 = (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C*)il2cpp_codegen_object_new(DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_il2cpp_TypeInfo_var);
  421. NullCheck(L_2);
  422. DownloadHandlerTexture__ctor_m29775B9DEA2C54AE7EFED3550C31AB4D5CF58AD8(L_2, (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0), NULL);
  423. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_3 = (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F*)il2cpp_codegen_object_new(UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F_il2cpp_TypeInfo_var);
  424. NullCheck(L_3);
  425. UnityWebRequest__ctor_m3798CB7D0BE685F2520AF1BBF83B523BBDD7980A(L_3, L_0, _stringLiteral3781CFEEF925855A4B7284E1783A7D715A6333F6, L_2, (UploadHandler_t7E504B1A83346248A0C8C4AF73A893226CB83EF6*)NULL, NULL);
  426. V_0 = L_3;
  427. goto IL_0019;
  428. }
  429. IL_0019:
  430. {
  431. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_4 = V_0;
  432. return L_4;
  433. }
  434. }
  435. #ifdef __clang__
  436. #pragma clang diagnostic pop
  437. #endif
  438. #ifdef __clang__
  439. #pragma clang diagnostic push
  440. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  441. #pragma clang diagnostic ignored "-Wunused-variable"
  442. #endif
  443. // Conversion methods for marshalling of: UnityEngine.Networking.DownloadHandlerTexture
  444. IL2CPP_EXTERN_C void DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshal_pinvoke(const DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C& unmarshaled, DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshaled_pinvoke& marshaled)
  445. {
  446. Exception_t* ___mTexture_2Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'mTexture' of type 'DownloadHandlerTexture': Reference type field marshaling is not supported.");
  447. IL2CPP_RAISE_MANAGED_EXCEPTION(___mTexture_2Exception, NULL);
  448. }
  449. IL2CPP_EXTERN_C void DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshal_pinvoke_back(const DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshaled_pinvoke& marshaled, DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C& unmarshaled)
  450. {
  451. Exception_t* ___mTexture_2Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'mTexture' of type 'DownloadHandlerTexture': Reference type field marshaling is not supported.");
  452. IL2CPP_RAISE_MANAGED_EXCEPTION(___mTexture_2Exception, NULL);
  453. }
  454. // Conversion method for clean up from marshalling of: UnityEngine.Networking.DownloadHandlerTexture
  455. IL2CPP_EXTERN_C void DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshal_pinvoke_cleanup(DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshaled_pinvoke& marshaled)
  456. {
  457. }
  458. // Conversion methods for marshalling of: UnityEngine.Networking.DownloadHandlerTexture
  459. IL2CPP_EXTERN_C void DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshal_com(const DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C& unmarshaled, DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshaled_com& marshaled)
  460. {
  461. Exception_t* ___mTexture_2Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'mTexture' of type 'DownloadHandlerTexture': Reference type field marshaling is not supported.");
  462. IL2CPP_RAISE_MANAGED_EXCEPTION(___mTexture_2Exception, NULL);
  463. }
  464. IL2CPP_EXTERN_C void DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshal_com_back(const DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshaled_com& marshaled, DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C& unmarshaled)
  465. {
  466. Exception_t* ___mTexture_2Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'mTexture' of type 'DownloadHandlerTexture': Reference type field marshaling is not supported.");
  467. IL2CPP_RAISE_MANAGED_EXCEPTION(___mTexture_2Exception, NULL);
  468. }
  469. // Conversion method for clean up from marshalling of: UnityEngine.Networking.DownloadHandlerTexture
  470. IL2CPP_EXTERN_C void DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshal_com_cleanup(DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_marshaled_com& marshaled)
  471. {
  472. }
  473. // System.IntPtr UnityEngine.Networking.DownloadHandlerTexture::Create(UnityEngine.Networking.DownloadHandlerTexture,System.Boolean)
  474. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t DownloadHandlerTexture_Create_m6DBB03DC64DB11F35862D7A4F6B4A814B8531A21 (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* ___obj0, bool ___readable1, const RuntimeMethod* method)
  475. {
  476. typedef intptr_t (*DownloadHandlerTexture_Create_m6DBB03DC64DB11F35862D7A4F6B4A814B8531A21_ftn) (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C*, bool);
  477. static DownloadHandlerTexture_Create_m6DBB03DC64DB11F35862D7A4F6B4A814B8531A21_ftn _il2cpp_icall_func;
  478. if (!_il2cpp_icall_func)
  479. _il2cpp_icall_func = (DownloadHandlerTexture_Create_m6DBB03DC64DB11F35862D7A4F6B4A814B8531A21_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Networking.DownloadHandlerTexture::Create(UnityEngine.Networking.DownloadHandlerTexture,System.Boolean)");
  480. intptr_t icallRetVal = _il2cpp_icall_func(___obj0, ___readable1);
  481. return icallRetVal;
  482. }
  483. // System.Void UnityEngine.Networking.DownloadHandlerTexture::InternalCreateTexture(System.Boolean)
  484. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandlerTexture_InternalCreateTexture_m2BC0B138561A55B9CCAB694E4447888B21D1B47A (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* __this, bool ___readable0, const RuntimeMethod* method)
  485. {
  486. {
  487. bool L_0 = ___readable0;
  488. intptr_t L_1;
  489. L_1 = DownloadHandlerTexture_Create_m6DBB03DC64DB11F35862D7A4F6B4A814B8531A21(__this, L_0, NULL);
  490. ((DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB*)__this)->___m_Ptr_0 = L_1;
  491. return;
  492. }
  493. }
  494. // System.Void UnityEngine.Networking.DownloadHandlerTexture::.ctor(System.Boolean)
  495. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandlerTexture__ctor_m29775B9DEA2C54AE7EFED3550C31AB4D5CF58AD8 (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* __this, bool ___readable0, const RuntimeMethod* method)
  496. {
  497. {
  498. DownloadHandler__ctor_m833275AC5FCAC0BFB4F2D5C1C0C7FD76416CE496(__this, NULL);
  499. bool L_0 = ___readable0;
  500. DownloadHandlerTexture_InternalCreateTexture_m2BC0B138561A55B9CCAB694E4447888B21D1B47A(__this, L_0, NULL);
  501. bool L_1 = ___readable0;
  502. __this->___mNonReadable_4 = (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
  503. return;
  504. }
  505. }
  506. // Unity.Collections.NativeArray`1<System.Byte> UnityEngine.Networking.DownloadHandlerTexture::GetNativeData()
  507. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF DownloadHandlerTexture_GetNativeData_m241724A953EC64E660235D0A0374EFACE1B0779A (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* __this, const RuntimeMethod* method)
  508. {
  509. NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF V_0;
  510. memset((&V_0), 0, sizeof(V_0));
  511. {
  512. NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF* L_0 = (&__this->___m_NativeData_1);
  513. NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF L_1;
  514. L_1 = DownloadHandler_InternalGetNativeArray_mE622083BC3893B43BC8E7C467A1895664C3B6B89(__this, L_0, NULL);
  515. V_0 = L_1;
  516. goto IL_0010;
  517. }
  518. IL_0010:
  519. {
  520. NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF L_2 = V_0;
  521. return L_2;
  522. }
  523. }
  524. // System.Void UnityEngine.Networking.DownloadHandlerTexture::Dispose()
  525. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandlerTexture_Dispose_m8B9EB903164BC27743144F900697F7B98A4725EB (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* __this, const RuntimeMethod* method)
  526. {
  527. {
  528. NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF* L_0 = (&__this->___m_NativeData_1);
  529. DownloadHandler_DisposeNativeArray_m96514980A0A48921D17C059CAC2CC0CDA27B2398(L_0, NULL);
  530. DownloadHandler_Dispose_mD5D4CCF0C2DFF1CB57C9B3A0EF4213ECB9F8F607(__this, NULL);
  531. return;
  532. }
  533. }
  534. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::get_texture()
  535. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* DownloadHandlerTexture_get_texture_m170B5539995EB5984E98E426F52983589F7BEB7C (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* __this, const RuntimeMethod* method)
  536. {
  537. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* V_0 = NULL;
  538. {
  539. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_0;
  540. L_0 = DownloadHandlerTexture_InternalGetTexture_mD1882B183F71176C89B42DB2C8A185BC9A647167(__this, NULL);
  541. V_0 = L_0;
  542. goto IL_000a;
  543. }
  544. IL_000a:
  545. {
  546. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_1 = V_0;
  547. return L_1;
  548. }
  549. }
  550. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::InternalGetTexture()
  551. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* DownloadHandlerTexture_InternalGetTexture_mD1882B183F71176C89B42DB2C8A185BC9A647167 (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* __this, const RuntimeMethod* method)
  552. {
  553. static bool s_Il2CppMethodInitialized;
  554. if (!s_Il2CppMethodInitialized)
  555. {
  556. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  557. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var);
  558. s_Il2CppMethodInitialized = true;
  559. }
  560. bool V_0 = false;
  561. bool V_1 = false;
  562. bool V_2 = false;
  563. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* V_3 = NULL;
  564. {
  565. bool L_0 = __this->___mHasTexture_3;
  566. V_0 = L_0;
  567. bool L_1 = V_0;
  568. if (!L_1)
  569. {
  570. goto IL_0046;
  571. }
  572. }
  573. {
  574. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_2 = __this->___mTexture_2;
  575. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  576. bool L_3;
  577. L_3 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_2, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  578. V_1 = L_3;
  579. bool L_4 = V_1;
  580. if (!L_4)
  581. {
  582. goto IL_0043;
  583. }
  584. }
  585. {
  586. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_5 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)il2cpp_codegen_object_new(Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var);
  587. NullCheck(L_5);
  588. Texture2D__ctor_m3BA82E87442B7F69E118477069AE11101B9DF796(L_5, 2, 2, NULL);
  589. __this->___mTexture_2 = L_5;
  590. Il2CppCodeGenWriteBarrier((void**)(&__this->___mTexture_2), (void*)L_5);
  591. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_6 = __this->___mTexture_2;
  592. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_7;
  593. L_7 = VirtualFuncInvoker0< ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* >::Invoke(7 /* System.Byte[] UnityEngine.Networking.DownloadHandler::GetData() */, __this);
  594. bool L_8 = __this->___mNonReadable_4;
  595. bool L_9;
  596. L_9 = ImageConversion_LoadImage_m292ADCEED268A0A0AAD532BAB8D1710CF0FC8AEF(L_6, L_7, L_8, NULL);
  597. }
  598. IL_0043:
  599. {
  600. goto IL_006b;
  601. }
  602. IL_0046:
  603. {
  604. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_10 = __this->___mTexture_2;
  605. il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
  606. bool L_11;
  607. L_11 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
  608. V_2 = L_11;
  609. bool L_12 = V_2;
  610. if (!L_12)
  611. {
  612. goto IL_006b;
  613. }
  614. }
  615. {
  616. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_13;
  617. L_13 = DownloadHandlerTexture_InternalGetTextureNative_m9244CDF2A5DE7B9971121CAC5642DD5FEA877688(__this, NULL);
  618. __this->___mTexture_2 = L_13;
  619. Il2CppCodeGenWriteBarrier((void**)(&__this->___mTexture_2), (void*)L_13);
  620. __this->___mHasTexture_3 = (bool)1;
  621. }
  622. IL_006b:
  623. {
  624. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_14 = __this->___mTexture_2;
  625. V_3 = L_14;
  626. goto IL_0074;
  627. }
  628. IL_0074:
  629. {
  630. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_15 = V_3;
  631. return L_15;
  632. }
  633. }
  634. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::InternalGetTextureNative()
  635. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* DownloadHandlerTexture_InternalGetTextureNative_m9244CDF2A5DE7B9971121CAC5642DD5FEA877688 (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* __this, const RuntimeMethod* method)
  636. {
  637. typedef Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* (*DownloadHandlerTexture_InternalGetTextureNative_m9244CDF2A5DE7B9971121CAC5642DD5FEA877688_ftn) (DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C*);
  638. static DownloadHandlerTexture_InternalGetTextureNative_m9244CDF2A5DE7B9971121CAC5642DD5FEA877688_ftn _il2cpp_icall_func;
  639. if (!_il2cpp_icall_func)
  640. _il2cpp_icall_func = (DownloadHandlerTexture_InternalGetTextureNative_m9244CDF2A5DE7B9971121CAC5642DD5FEA877688_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Networking.DownloadHandlerTexture::InternalGetTextureNative()");
  641. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* icallRetVal = _il2cpp_icall_func(__this);
  642. return icallRetVal;
  643. }
  644. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::GetContent(UnityEngine.Networking.UnityWebRequest)
  645. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* DownloadHandlerTexture_GetContent_m86BC88F58305A1B21C21CE7D82658197932EFB18 (UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* ___www0, const RuntimeMethod* method)
  646. {
  647. static bool s_Il2CppMethodInitialized;
  648. if (!s_Il2CppMethodInitialized)
  649. {
  650. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DownloadHandler_GetCheckedDownloader_TisDownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_m48B87C30613EBA6F37E5EB26776D29B7612196E0_RuntimeMethod_var);
  651. s_Il2CppMethodInitialized = true;
  652. }
  653. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* V_0 = NULL;
  654. {
  655. UnityWebRequest_t6233B8E22992FC2364A831C1ACB033EF3260C39F* L_0 = ___www0;
  656. DownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C* L_1;
  657. L_1 = DownloadHandler_GetCheckedDownloader_TisDownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_m48B87C30613EBA6F37E5EB26776D29B7612196E0(L_0, DownloadHandler_GetCheckedDownloader_TisDownloadHandlerTexture_t45E2D719000AA1594E648810F0B57A77FA7C568C_m48B87C30613EBA6F37E5EB26776D29B7612196E0_RuntimeMethod_var);
  658. NullCheck(L_1);
  659. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_2;
  660. L_2 = DownloadHandlerTexture_get_texture_m170B5539995EB5984E98E426F52983589F7BEB7C(L_1, NULL);
  661. V_0 = L_2;
  662. goto IL_000f;
  663. }
  664. IL_000f:
  665. {
  666. Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_3 = V_0;
  667. return L_3;
  668. }
  669. }
  670. #ifdef __clang__
  671. #pragma clang diagnostic pop
  672. #endif