説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

UnityEngine.UnityWebRequestTextureModule.cpp 39KB

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