UnityEngine.UnityWebRequestTextureModule.cpp 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861
  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_tDBBEB0E8362242FA7223000D978B0DD19D4B0726;
  21. // UnityEngine.Networking.CertificateHandler
  22. struct CertificateHandler_tDA66C86D1302CE4266DBB078361F7A363C7B005E;
  23. // UnityEngine.Networking.DownloadHandler
  24. struct DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB;
  25. // UnityEngine.Networking.DownloadHandlerTexture
  26. struct DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142;
  27. // UnityEngine.Object
  28. struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A;
  29. // System.String
  30. struct String_t;
  31. // UnityEngine.Texture2D
  32. struct Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF;
  33. // UnityEngine.Networking.UnityWebRequest
  34. struct UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E;
  35. // UnityEngine.Networking.UploadHandler
  36. struct UploadHandler_t5F80A2A6874D4D330751BE3524009C21C9B74BDA;
  37. // System.Uri
  38. struct Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612;
  39. // System.Void
  40. struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5;
  41. IL2CPP_EXTERN_C RuntimeClass* Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_il2cpp_TypeInfo_var;
  42. IL2CPP_EXTERN_C RuntimeClass* Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF_il2cpp_TypeInfo_var;
  43. IL2CPP_EXTERN_C const RuntimeMethod* DownloadHandler_GetCheckedDownloader_TisDownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_m1B32B1CAA78550D37330C07A09BDBA5DE1A15837_RuntimeMethod_var;
  44. struct CertificateHandler_tDA66C86D1302CE4266DBB078361F7A363C7B005E_marshaled_com;
  45. struct DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB_marshaled_com;
  46. struct UploadHandler_t5F80A2A6874D4D330751BE3524009C21C9B74BDA_marshaled_com;
  47. struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726;
  48. IL2CPP_EXTERN_C_BEGIN
  49. IL2CPP_EXTERN_C_END
  50. #ifdef __clang__
  51. #pragma clang diagnostic push
  52. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  53. #pragma clang diagnostic ignored "-Wunused-variable"
  54. #endif
  55. // <Module>
  56. struct U3CModuleU3E_tD63710BA729AB26F68A06F88FD5557BC1A838A68
  57. {
  58. public:
  59. public:
  60. };
  61. // System.Object
  62. struct Il2CppArrayBounds;
  63. // System.Array
  64. // System.ValueType
  65. struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52 : public RuntimeObject
  66. {
  67. public:
  68. public:
  69. };
  70. // Native definition for P/Invoke marshalling of System.ValueType
  71. struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_pinvoke
  72. {
  73. };
  74. // Native definition for COM marshalling of System.ValueType
  75. struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_com
  76. {
  77. };
  78. // System.Boolean
  79. struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37
  80. {
  81. public:
  82. // System.Boolean System.Boolean::m_value
  83. bool ___m_value_0;
  84. public:
  85. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37, ___m_value_0)); }
  86. inline bool get_m_value_0() const { return ___m_value_0; }
  87. inline bool* get_address_of_m_value_0() { return &___m_value_0; }
  88. inline void set_m_value_0(bool value)
  89. {
  90. ___m_value_0 = value;
  91. }
  92. };
  93. struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields
  94. {
  95. public:
  96. // System.String System.Boolean::TrueString
  97. String_t* ___TrueString_5;
  98. // System.String System.Boolean::FalseString
  99. String_t* ___FalseString_6;
  100. public:
  101. inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields, ___TrueString_5)); }
  102. inline String_t* get_TrueString_5() const { return ___TrueString_5; }
  103. inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
  104. inline void set_TrueString_5(String_t* value)
  105. {
  106. ___TrueString_5 = value;
  107. Il2CppCodeGenWriteBarrier((void**)(&___TrueString_5), (void*)value);
  108. }
  109. inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields, ___FalseString_6)); }
  110. inline String_t* get_FalseString_6() const { return ___FalseString_6; }
  111. inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
  112. inline void set_FalseString_6(String_t* value)
  113. {
  114. ___FalseString_6 = value;
  115. Il2CppCodeGenWriteBarrier((void**)(&___FalseString_6), (void*)value);
  116. }
  117. };
  118. // System.Byte
  119. struct Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056
  120. {
  121. public:
  122. // System.Byte System.Byte::m_value
  123. uint8_t ___m_value_0;
  124. public:
  125. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056, ___m_value_0)); }
  126. inline uint8_t get_m_value_0() const { return ___m_value_0; }
  127. inline uint8_t* get_address_of_m_value_0() { return &___m_value_0; }
  128. inline void set_m_value_0(uint8_t value)
  129. {
  130. ___m_value_0 = value;
  131. }
  132. };
  133. // System.Int32
  134. struct Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046
  135. {
  136. public:
  137. // System.Int32 System.Int32::m_value
  138. int32_t ___m_value_0;
  139. public:
  140. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046, ___m_value_0)); }
  141. inline int32_t get_m_value_0() const { return ___m_value_0; }
  142. inline int32_t* get_address_of_m_value_0() { return &___m_value_0; }
  143. inline void set_m_value_0(int32_t value)
  144. {
  145. ___m_value_0 = value;
  146. }
  147. };
  148. // System.IntPtr
  149. struct IntPtr_t
  150. {
  151. public:
  152. // System.Void* System.IntPtr::m_value
  153. void* ___m_value_0;
  154. public:
  155. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
  156. inline void* get_m_value_0() const { return ___m_value_0; }
  157. inline void** get_address_of_m_value_0() { return &___m_value_0; }
  158. inline void set_m_value_0(void* value)
  159. {
  160. ___m_value_0 = value;
  161. }
  162. };
  163. struct IntPtr_t_StaticFields
  164. {
  165. public:
  166. // System.IntPtr System.IntPtr::Zero
  167. intptr_t ___Zero_1;
  168. public:
  169. inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
  170. inline intptr_t get_Zero_1() const { return ___Zero_1; }
  171. inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
  172. inline void set_Zero_1(intptr_t value)
  173. {
  174. ___Zero_1 = value;
  175. }
  176. };
  177. // System.Void
  178. struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5
  179. {
  180. public:
  181. union
  182. {
  183. struct
  184. {
  185. };
  186. uint8_t Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5__padding[1];
  187. };
  188. public:
  189. };
  190. // UnityEngine.Networking.CertificateHandler
  191. struct CertificateHandler_tDA66C86D1302CE4266DBB078361F7A363C7B005E : public RuntimeObject
  192. {
  193. public:
  194. // System.IntPtr UnityEngine.Networking.CertificateHandler::m_Ptr
  195. intptr_t ___m_Ptr_0;
  196. public:
  197. inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(CertificateHandler_tDA66C86D1302CE4266DBB078361F7A363C7B005E, ___m_Ptr_0)); }
  198. inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
  199. inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
  200. inline void set_m_Ptr_0(intptr_t value)
  201. {
  202. ___m_Ptr_0 = value;
  203. }
  204. };
  205. // Native definition for P/Invoke marshalling of UnityEngine.Networking.CertificateHandler
  206. struct CertificateHandler_tDA66C86D1302CE4266DBB078361F7A363C7B005E_marshaled_pinvoke
  207. {
  208. intptr_t ___m_Ptr_0;
  209. };
  210. // Native definition for COM marshalling of UnityEngine.Networking.CertificateHandler
  211. struct CertificateHandler_tDA66C86D1302CE4266DBB078361F7A363C7B005E_marshaled_com
  212. {
  213. intptr_t ___m_Ptr_0;
  214. };
  215. // UnityEngine.Networking.DownloadHandler
  216. struct DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB : public RuntimeObject
  217. {
  218. public:
  219. // System.IntPtr UnityEngine.Networking.DownloadHandler::m_Ptr
  220. intptr_t ___m_Ptr_0;
  221. public:
  222. inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB, ___m_Ptr_0)); }
  223. inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
  224. inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
  225. inline void set_m_Ptr_0(intptr_t value)
  226. {
  227. ___m_Ptr_0 = value;
  228. }
  229. };
  230. // Native definition for P/Invoke marshalling of UnityEngine.Networking.DownloadHandler
  231. struct DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB_marshaled_pinvoke
  232. {
  233. intptr_t ___m_Ptr_0;
  234. };
  235. // Native definition for COM marshalling of UnityEngine.Networking.DownloadHandler
  236. struct DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB_marshaled_com
  237. {
  238. intptr_t ___m_Ptr_0;
  239. };
  240. // UnityEngine.Object
  241. struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A : public RuntimeObject
  242. {
  243. public:
  244. // System.IntPtr UnityEngine.Object::m_CachedPtr
  245. intptr_t ___m_CachedPtr_0;
  246. public:
  247. inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_tF2F3778131EFF286AF62B7B013A170F95A91571A, ___m_CachedPtr_0)); }
  248. inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; }
  249. inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; }
  250. inline void set_m_CachedPtr_0(intptr_t value)
  251. {
  252. ___m_CachedPtr_0 = value;
  253. }
  254. };
  255. struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_StaticFields
  256. {
  257. public:
  258. // System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
  259. int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
  260. public:
  261. inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
  262. inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
  263. inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
  264. inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
  265. {
  266. ___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
  267. }
  268. };
  269. // Native definition for P/Invoke marshalling of UnityEngine.Object
  270. struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_marshaled_pinvoke
  271. {
  272. intptr_t ___m_CachedPtr_0;
  273. };
  274. // Native definition for COM marshalling of UnityEngine.Object
  275. struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_marshaled_com
  276. {
  277. intptr_t ___m_CachedPtr_0;
  278. };
  279. // UnityEngine.Networking.UploadHandler
  280. struct UploadHandler_t5F80A2A6874D4D330751BE3524009C21C9B74BDA : public RuntimeObject
  281. {
  282. public:
  283. // System.IntPtr UnityEngine.Networking.UploadHandler::m_Ptr
  284. intptr_t ___m_Ptr_0;
  285. public:
  286. inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(UploadHandler_t5F80A2A6874D4D330751BE3524009C21C9B74BDA, ___m_Ptr_0)); }
  287. inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
  288. inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
  289. inline void set_m_Ptr_0(intptr_t value)
  290. {
  291. ___m_Ptr_0 = value;
  292. }
  293. };
  294. // Native definition for P/Invoke marshalling of UnityEngine.Networking.UploadHandler
  295. struct UploadHandler_t5F80A2A6874D4D330751BE3524009C21C9B74BDA_marshaled_pinvoke
  296. {
  297. intptr_t ___m_Ptr_0;
  298. };
  299. // Native definition for COM marshalling of UnityEngine.Networking.UploadHandler
  300. struct UploadHandler_t5F80A2A6874D4D330751BE3524009C21C9B74BDA_marshaled_com
  301. {
  302. intptr_t ___m_Ptr_0;
  303. };
  304. // UnityEngine.Networking.DownloadHandlerTexture
  305. struct DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 : public DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB
  306. {
  307. public:
  308. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::mTexture
  309. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * ___mTexture_1;
  310. // System.Boolean UnityEngine.Networking.DownloadHandlerTexture::mHasTexture
  311. bool ___mHasTexture_2;
  312. // System.Boolean UnityEngine.Networking.DownloadHandlerTexture::mNonReadable
  313. bool ___mNonReadable_3;
  314. public:
  315. inline static int32_t get_offset_of_mTexture_1() { return static_cast<int32_t>(offsetof(DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142, ___mTexture_1)); }
  316. inline Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * get_mTexture_1() const { return ___mTexture_1; }
  317. inline Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF ** get_address_of_mTexture_1() { return &___mTexture_1; }
  318. inline void set_mTexture_1(Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * value)
  319. {
  320. ___mTexture_1 = value;
  321. Il2CppCodeGenWriteBarrier((void**)(&___mTexture_1), (void*)value);
  322. }
  323. inline static int32_t get_offset_of_mHasTexture_2() { return static_cast<int32_t>(offsetof(DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142, ___mHasTexture_2)); }
  324. inline bool get_mHasTexture_2() const { return ___mHasTexture_2; }
  325. inline bool* get_address_of_mHasTexture_2() { return &___mHasTexture_2; }
  326. inline void set_mHasTexture_2(bool value)
  327. {
  328. ___mHasTexture_2 = value;
  329. }
  330. inline static int32_t get_offset_of_mNonReadable_3() { return static_cast<int32_t>(offsetof(DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142, ___mNonReadable_3)); }
  331. inline bool get_mNonReadable_3() const { return ___mNonReadable_3; }
  332. inline bool* get_address_of_mNonReadable_3() { return &___mNonReadable_3; }
  333. inline void set_mNonReadable_3(bool value)
  334. {
  335. ___mNonReadable_3 = value;
  336. }
  337. };
  338. // Native definition for P/Invoke marshalling of UnityEngine.Networking.DownloadHandlerTexture
  339. struct DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshaled_pinvoke : public DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB_marshaled_pinvoke
  340. {
  341. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * ___mTexture_1;
  342. int32_t ___mHasTexture_2;
  343. int32_t ___mNonReadable_3;
  344. };
  345. // Native definition for COM marshalling of UnityEngine.Networking.DownloadHandlerTexture
  346. struct DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshaled_com : public DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB_marshaled_com
  347. {
  348. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * ___mTexture_1;
  349. int32_t ___mHasTexture_2;
  350. int32_t ___mNonReadable_3;
  351. };
  352. // UnityEngine.Texture
  353. struct Texture_t9FE0218A1EEDF266E8C85879FE123265CACC95AE : public Object_tF2F3778131EFF286AF62B7B013A170F95A91571A
  354. {
  355. public:
  356. public:
  357. };
  358. struct Texture_t9FE0218A1EEDF266E8C85879FE123265CACC95AE_StaticFields
  359. {
  360. public:
  361. // System.Int32 UnityEngine.Texture::GenerateAllMips
  362. int32_t ___GenerateAllMips_4;
  363. public:
  364. inline static int32_t get_offset_of_GenerateAllMips_4() { return static_cast<int32_t>(offsetof(Texture_t9FE0218A1EEDF266E8C85879FE123265CACC95AE_StaticFields, ___GenerateAllMips_4)); }
  365. inline int32_t get_GenerateAllMips_4() const { return ___GenerateAllMips_4; }
  366. inline int32_t* get_address_of_GenerateAllMips_4() { return &___GenerateAllMips_4; }
  367. inline void set_GenerateAllMips_4(int32_t value)
  368. {
  369. ___GenerateAllMips_4 = value;
  370. }
  371. };
  372. // UnityEngine.Networking.UnityWebRequest
  373. struct UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E : public RuntimeObject
  374. {
  375. public:
  376. // System.IntPtr UnityEngine.Networking.UnityWebRequest::m_Ptr
  377. intptr_t ___m_Ptr_0;
  378. // UnityEngine.Networking.DownloadHandler UnityEngine.Networking.UnityWebRequest::m_DownloadHandler
  379. DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB * ___m_DownloadHandler_1;
  380. // UnityEngine.Networking.UploadHandler UnityEngine.Networking.UnityWebRequest::m_UploadHandler
  381. UploadHandler_t5F80A2A6874D4D330751BE3524009C21C9B74BDA * ___m_UploadHandler_2;
  382. // UnityEngine.Networking.CertificateHandler UnityEngine.Networking.UnityWebRequest::m_CertificateHandler
  383. CertificateHandler_tDA66C86D1302CE4266DBB078361F7A363C7B005E * ___m_CertificateHandler_3;
  384. // System.Uri UnityEngine.Networking.UnityWebRequest::m_Uri
  385. Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * ___m_Uri_4;
  386. // System.Boolean UnityEngine.Networking.UnityWebRequest::<disposeCertificateHandlerOnDispose>k__BackingField
  387. bool ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5;
  388. // System.Boolean UnityEngine.Networking.UnityWebRequest::<disposeDownloadHandlerOnDispose>k__BackingField
  389. bool ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6;
  390. // System.Boolean UnityEngine.Networking.UnityWebRequest::<disposeUploadHandlerOnDispose>k__BackingField
  391. bool ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7;
  392. public:
  393. inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E, ___m_Ptr_0)); }
  394. inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
  395. inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
  396. inline void set_m_Ptr_0(intptr_t value)
  397. {
  398. ___m_Ptr_0 = value;
  399. }
  400. inline static int32_t get_offset_of_m_DownloadHandler_1() { return static_cast<int32_t>(offsetof(UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E, ___m_DownloadHandler_1)); }
  401. inline DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB * get_m_DownloadHandler_1() const { return ___m_DownloadHandler_1; }
  402. inline DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB ** get_address_of_m_DownloadHandler_1() { return &___m_DownloadHandler_1; }
  403. inline void set_m_DownloadHandler_1(DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB * value)
  404. {
  405. ___m_DownloadHandler_1 = value;
  406. Il2CppCodeGenWriteBarrier((void**)(&___m_DownloadHandler_1), (void*)value);
  407. }
  408. inline static int32_t get_offset_of_m_UploadHandler_2() { return static_cast<int32_t>(offsetof(UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E, ___m_UploadHandler_2)); }
  409. inline UploadHandler_t5F80A2A6874D4D330751BE3524009C21C9B74BDA * get_m_UploadHandler_2() const { return ___m_UploadHandler_2; }
  410. inline UploadHandler_t5F80A2A6874D4D330751BE3524009C21C9B74BDA ** get_address_of_m_UploadHandler_2() { return &___m_UploadHandler_2; }
  411. inline void set_m_UploadHandler_2(UploadHandler_t5F80A2A6874D4D330751BE3524009C21C9B74BDA * value)
  412. {
  413. ___m_UploadHandler_2 = value;
  414. Il2CppCodeGenWriteBarrier((void**)(&___m_UploadHandler_2), (void*)value);
  415. }
  416. inline static int32_t get_offset_of_m_CertificateHandler_3() { return static_cast<int32_t>(offsetof(UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E, ___m_CertificateHandler_3)); }
  417. inline CertificateHandler_tDA66C86D1302CE4266DBB078361F7A363C7B005E * get_m_CertificateHandler_3() const { return ___m_CertificateHandler_3; }
  418. inline CertificateHandler_tDA66C86D1302CE4266DBB078361F7A363C7B005E ** get_address_of_m_CertificateHandler_3() { return &___m_CertificateHandler_3; }
  419. inline void set_m_CertificateHandler_3(CertificateHandler_tDA66C86D1302CE4266DBB078361F7A363C7B005E * value)
  420. {
  421. ___m_CertificateHandler_3 = value;
  422. Il2CppCodeGenWriteBarrier((void**)(&___m_CertificateHandler_3), (void*)value);
  423. }
  424. inline static int32_t get_offset_of_m_Uri_4() { return static_cast<int32_t>(offsetof(UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E, ___m_Uri_4)); }
  425. inline Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * get_m_Uri_4() const { return ___m_Uri_4; }
  426. inline Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 ** get_address_of_m_Uri_4() { return &___m_Uri_4; }
  427. inline void set_m_Uri_4(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * value)
  428. {
  429. ___m_Uri_4 = value;
  430. Il2CppCodeGenWriteBarrier((void**)(&___m_Uri_4), (void*)value);
  431. }
  432. inline static int32_t get_offset_of_U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E, ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5)); }
  433. inline bool get_U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5() const { return ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5; }
  434. inline bool* get_address_of_U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5() { return &___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5; }
  435. inline void set_U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5(bool value)
  436. {
  437. ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5 = value;
  438. }
  439. inline static int32_t get_offset_of_U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E, ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6)); }
  440. inline bool get_U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6() const { return ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6; }
  441. inline bool* get_address_of_U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6() { return &___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6; }
  442. inline void set_U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6(bool value)
  443. {
  444. ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6 = value;
  445. }
  446. inline static int32_t get_offset_of_U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E, ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7)); }
  447. inline bool get_U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7() const { return ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7; }
  448. inline bool* get_address_of_U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7() { return &___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7; }
  449. inline void set_U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7(bool value)
  450. {
  451. ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7 = value;
  452. }
  453. };
  454. // Native definition for P/Invoke marshalling of UnityEngine.Networking.UnityWebRequest
  455. struct UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E_marshaled_pinvoke
  456. {
  457. intptr_t ___m_Ptr_0;
  458. DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB_marshaled_pinvoke ___m_DownloadHandler_1;
  459. UploadHandler_t5F80A2A6874D4D330751BE3524009C21C9B74BDA_marshaled_pinvoke ___m_UploadHandler_2;
  460. CertificateHandler_tDA66C86D1302CE4266DBB078361F7A363C7B005E_marshaled_pinvoke ___m_CertificateHandler_3;
  461. Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * ___m_Uri_4;
  462. int32_t ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5;
  463. int32_t ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6;
  464. int32_t ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7;
  465. };
  466. // Native definition for COM marshalling of UnityEngine.Networking.UnityWebRequest
  467. struct UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E_marshaled_com
  468. {
  469. intptr_t ___m_Ptr_0;
  470. DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB_marshaled_com* ___m_DownloadHandler_1;
  471. UploadHandler_t5F80A2A6874D4D330751BE3524009C21C9B74BDA_marshaled_com* ___m_UploadHandler_2;
  472. CertificateHandler_tDA66C86D1302CE4266DBB078361F7A363C7B005E_marshaled_com* ___m_CertificateHandler_3;
  473. Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * ___m_Uri_4;
  474. int32_t ___U3CdisposeCertificateHandlerOnDisposeU3Ek__BackingField_5;
  475. int32_t ___U3CdisposeDownloadHandlerOnDisposeU3Ek__BackingField_6;
  476. int32_t ___U3CdisposeUploadHandlerOnDisposeU3Ek__BackingField_7;
  477. };
  478. // UnityEngine.Texture2D
  479. struct Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF : public Texture_t9FE0218A1EEDF266E8C85879FE123265CACC95AE
  480. {
  481. public:
  482. public:
  483. };
  484. #ifdef __clang__
  485. #pragma clang diagnostic pop
  486. #endif
  487. // System.Byte[]
  488. struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726 : public RuntimeArray
  489. {
  490. public:
  491. ALIGN_FIELD (8) uint8_t m_Items[1];
  492. public:
  493. inline uint8_t GetAt(il2cpp_array_size_t index) const
  494. {
  495. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  496. return m_Items[index];
  497. }
  498. inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
  499. {
  500. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  501. return m_Items + index;
  502. }
  503. inline void SetAt(il2cpp_array_size_t index, uint8_t value)
  504. {
  505. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  506. m_Items[index] = value;
  507. }
  508. inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
  509. {
  510. return m_Items[index];
  511. }
  512. inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  513. {
  514. return m_Items + index;
  515. }
  516. inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
  517. {
  518. m_Items[index] = value;
  519. }
  520. };
  521. // !!0 UnityEngine.Networking.DownloadHandler::GetCheckedDownloader<System.Object>(UnityEngine.Networking.UnityWebRequest)
  522. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * DownloadHandler_GetCheckedDownloader_TisRuntimeObject_m2D2C6F2363E675CF974BA7C74AC672826A9F191F_gshared (UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E * ___www0, const RuntimeMethod* method);
  523. // System.IntPtr UnityEngine.Networking.DownloadHandlerTexture::Create(UnityEngine.Networking.DownloadHandlerTexture,System.Boolean)
  524. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t DownloadHandlerTexture_Create_m93F2BD12FFF00901BF0F6B4A3D6C0D70F7643B95 (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * ___obj0, bool ___readable1, const RuntimeMethod* method);
  525. // System.Void UnityEngine.Networking.DownloadHandler::.ctor()
  526. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandler__ctor_m8E441D5C617BA103B97FE41893F0A4A323701B0F (DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB * __this, const RuntimeMethod* method);
  527. // System.Void UnityEngine.Networking.DownloadHandlerTexture::InternalCreateTexture(System.Boolean)
  528. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandlerTexture_InternalCreateTexture_mB70E4684D082064A86FC6DF118CE9D5021F066A5 (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * __this, bool ___readable0, const RuntimeMethod* method);
  529. // System.Byte[] UnityEngine.Networking.DownloadHandler::InternalGetByteArray(UnityEngine.Networking.DownloadHandler)
  530. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* DownloadHandler_InternalGetByteArray_m1B4D723FA86D064B492ADBE3A9A13DD03209A4DC (DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB * ___dh0, const RuntimeMethod* method);
  531. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::InternalGetTexture()
  532. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * DownloadHandlerTexture_InternalGetTexture_m3E4567A93CA63C69488E5632E55A7FEA366F24F8 (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * __this, const RuntimeMethod* method);
  533. // System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
  534. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mEE9EC7EB5C7DC3E95B94AB904E1986FC4D566D54 (Object_tF2F3778131EFF286AF62B7B013A170F95A91571A * ___x0, Object_tF2F3778131EFF286AF62B7B013A170F95A91571A * ___y1, const RuntimeMethod* method);
  535. // System.Void UnityEngine.Texture2D::.ctor(System.Int32,System.Int32)
  536. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture2D__ctor_m7D64AB4C55A01F2EE57483FD9EF826607DF9E4B4 (Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * __this, int32_t ___width0, int32_t ___height1, const RuntimeMethod* method);
  537. // System.Boolean UnityEngine.ImageConversion::LoadImage(UnityEngine.Texture2D,System.Byte[],System.Boolean)
  538. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ImageConversion_LoadImage_m1E5C9BF6206ED40B23CDB28341B8A64E05C43683 (Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * ___tex0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data1, bool ___markNonReadable2, const RuntimeMethod* method);
  539. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::InternalGetTextureNative()
  540. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * DownloadHandlerTexture_InternalGetTextureNative_m010213A0592CE3F41D2637A4631987A6248E0E2F (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * __this, const RuntimeMethod* method);
  541. // !!0 UnityEngine.Networking.DownloadHandler::GetCheckedDownloader<UnityEngine.Networking.DownloadHandlerTexture>(UnityEngine.Networking.UnityWebRequest)
  542. inline DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * DownloadHandler_GetCheckedDownloader_TisDownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_m1B32B1CAA78550D37330C07A09BDBA5DE1A15837 (UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E * ___www0, const RuntimeMethod* method)
  543. {
  544. return (( DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * (*) (UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E *, const RuntimeMethod*))DownloadHandler_GetCheckedDownloader_TisRuntimeObject_m2D2C6F2363E675CF974BA7C74AC672826A9F191F_gshared)(___www0, method);
  545. }
  546. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::get_texture()
  547. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * DownloadHandlerTexture_get_texture_m4A85047C91C2C15472D34043E1440845C87B709A (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * __this, const RuntimeMethod* method);
  548. #ifdef __clang__
  549. #pragma clang diagnostic push
  550. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  551. #pragma clang diagnostic ignored "-Wunused-variable"
  552. #endif
  553. #ifdef __clang__
  554. #pragma clang diagnostic pop
  555. #endif
  556. #ifdef __clang__
  557. #pragma clang diagnostic push
  558. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  559. #pragma clang diagnostic ignored "-Wunused-variable"
  560. #endif
  561. // Conversion methods for marshalling of: UnityEngine.Networking.DownloadHandlerTexture
  562. IL2CPP_EXTERN_C void DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshal_pinvoke(const DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142& unmarshaled, DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshaled_pinvoke& marshaled)
  563. {
  564. Exception_t* ___mTexture_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'mTexture' of type 'DownloadHandlerTexture': Reference type field marshaling is not supported.");
  565. IL2CPP_RAISE_MANAGED_EXCEPTION(___mTexture_1Exception, NULL);
  566. }
  567. IL2CPP_EXTERN_C void DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshal_pinvoke_back(const DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshaled_pinvoke& marshaled, DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142& unmarshaled)
  568. {
  569. Exception_t* ___mTexture_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'mTexture' of type 'DownloadHandlerTexture': Reference type field marshaling is not supported.");
  570. IL2CPP_RAISE_MANAGED_EXCEPTION(___mTexture_1Exception, NULL);
  571. }
  572. // Conversion method for clean up from marshalling of: UnityEngine.Networking.DownloadHandlerTexture
  573. IL2CPP_EXTERN_C void DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshal_pinvoke_cleanup(DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshaled_pinvoke& marshaled)
  574. {
  575. }
  576. // Conversion methods for marshalling of: UnityEngine.Networking.DownloadHandlerTexture
  577. IL2CPP_EXTERN_C void DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshal_com(const DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142& unmarshaled, DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshaled_com& marshaled)
  578. {
  579. Exception_t* ___mTexture_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'mTexture' of type 'DownloadHandlerTexture': Reference type field marshaling is not supported.");
  580. IL2CPP_RAISE_MANAGED_EXCEPTION(___mTexture_1Exception, NULL);
  581. }
  582. IL2CPP_EXTERN_C void DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshal_com_back(const DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshaled_com& marshaled, DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142& unmarshaled)
  583. {
  584. Exception_t* ___mTexture_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'mTexture' of type 'DownloadHandlerTexture': Reference type field marshaling is not supported.");
  585. IL2CPP_RAISE_MANAGED_EXCEPTION(___mTexture_1Exception, NULL);
  586. }
  587. // Conversion method for clean up from marshalling of: UnityEngine.Networking.DownloadHandlerTexture
  588. IL2CPP_EXTERN_C void DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshal_com_cleanup(DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_marshaled_com& marshaled)
  589. {
  590. }
  591. // System.IntPtr UnityEngine.Networking.DownloadHandlerTexture::Create(UnityEngine.Networking.DownloadHandlerTexture,System.Boolean)
  592. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t DownloadHandlerTexture_Create_m93F2BD12FFF00901BF0F6B4A3D6C0D70F7643B95 (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * ___obj0, bool ___readable1, const RuntimeMethod* method)
  593. {
  594. typedef intptr_t (*DownloadHandlerTexture_Create_m93F2BD12FFF00901BF0F6B4A3D6C0D70F7643B95_ftn) (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 *, bool);
  595. static DownloadHandlerTexture_Create_m93F2BD12FFF00901BF0F6B4A3D6C0D70F7643B95_ftn _il2cpp_icall_func;
  596. if (!_il2cpp_icall_func)
  597. _il2cpp_icall_func = (DownloadHandlerTexture_Create_m93F2BD12FFF00901BF0F6B4A3D6C0D70F7643B95_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Networking.DownloadHandlerTexture::Create(UnityEngine.Networking.DownloadHandlerTexture,System.Boolean)");
  598. intptr_t icallRetVal = _il2cpp_icall_func(___obj0, ___readable1);
  599. return icallRetVal;
  600. }
  601. // System.Void UnityEngine.Networking.DownloadHandlerTexture::InternalCreateTexture(System.Boolean)
  602. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandlerTexture_InternalCreateTexture_mB70E4684D082064A86FC6DF118CE9D5021F066A5 (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * __this, bool ___readable0, const RuntimeMethod* method)
  603. {
  604. {
  605. bool L_0 = ___readable0;
  606. intptr_t L_1;
  607. L_1 = DownloadHandlerTexture_Create_m93F2BD12FFF00901BF0F6B4A3D6C0D70F7643B95(__this, L_0, /*hidden argument*/NULL);
  608. ((DownloadHandler_tEEAE0DD53DB497C8A491C4F7B7A14C3CA027B1DB *)__this)->set_m_Ptr_0((intptr_t)L_1);
  609. return;
  610. }
  611. }
  612. // System.Void UnityEngine.Networking.DownloadHandlerTexture::.ctor()
  613. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandlerTexture__ctor_m41A122F8C1E53E04BE0608574E22F37E7E11A503 (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * __this, const RuntimeMethod* method)
  614. {
  615. {
  616. DownloadHandler__ctor_m8E441D5C617BA103B97FE41893F0A4A323701B0F(__this, /*hidden argument*/NULL);
  617. DownloadHandlerTexture_InternalCreateTexture_mB70E4684D082064A86FC6DF118CE9D5021F066A5(__this, (bool)1, /*hidden argument*/NULL);
  618. return;
  619. }
  620. }
  621. // System.Byte[] UnityEngine.Networking.DownloadHandlerTexture::GetData()
  622. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* DownloadHandlerTexture_GetData_m01C9E01D95D93023C278FE7E4F5275BF69A4F975 (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * __this, const RuntimeMethod* method)
  623. {
  624. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  625. {
  626. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0;
  627. L_0 = DownloadHandler_InternalGetByteArray_m1B4D723FA86D064B492ADBE3A9A13DD03209A4DC(__this, /*hidden argument*/NULL);
  628. V_0 = L_0;
  629. goto IL_000a;
  630. }
  631. IL_000a:
  632. {
  633. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = V_0;
  634. return L_1;
  635. }
  636. }
  637. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::get_texture()
  638. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * DownloadHandlerTexture_get_texture_m4A85047C91C2C15472D34043E1440845C87B709A (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * __this, const RuntimeMethod* method)
  639. {
  640. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * V_0 = NULL;
  641. {
  642. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * L_0;
  643. L_0 = DownloadHandlerTexture_InternalGetTexture_m3E4567A93CA63C69488E5632E55A7FEA366F24F8(__this, /*hidden argument*/NULL);
  644. V_0 = L_0;
  645. goto IL_000a;
  646. }
  647. IL_000a:
  648. {
  649. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * L_1 = V_0;
  650. return L_1;
  651. }
  652. }
  653. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::InternalGetTexture()
  654. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * DownloadHandlerTexture_InternalGetTexture_m3E4567A93CA63C69488E5632E55A7FEA366F24F8 (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * __this, const RuntimeMethod* method)
  655. {
  656. static bool s_Il2CppMethodInitialized;
  657. if (!s_Il2CppMethodInitialized)
  658. {
  659. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_il2cpp_TypeInfo_var);
  660. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF_il2cpp_TypeInfo_var);
  661. s_Il2CppMethodInitialized = true;
  662. }
  663. bool V_0 = false;
  664. bool V_1 = false;
  665. bool V_2 = false;
  666. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * V_3 = NULL;
  667. {
  668. bool L_0 = __this->get_mHasTexture_2();
  669. V_0 = L_0;
  670. bool L_1 = V_0;
  671. if (!L_1)
  672. {
  673. goto IL_0046;
  674. }
  675. }
  676. {
  677. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * L_2 = __this->get_mTexture_1();
  678. IL2CPP_RUNTIME_CLASS_INIT(Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_il2cpp_TypeInfo_var);
  679. bool L_3;
  680. L_3 = Object_op_Equality_mEE9EC7EB5C7DC3E95B94AB904E1986FC4D566D54(L_2, (Object_tF2F3778131EFF286AF62B7B013A170F95A91571A *)NULL, /*hidden argument*/NULL);
  681. V_1 = L_3;
  682. bool L_4 = V_1;
  683. if (!L_4)
  684. {
  685. goto IL_0043;
  686. }
  687. }
  688. {
  689. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * L_5 = (Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF *)il2cpp_codegen_object_new(Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF_il2cpp_TypeInfo_var);
  690. Texture2D__ctor_m7D64AB4C55A01F2EE57483FD9EF826607DF9E4B4(L_5, 2, 2, /*hidden argument*/NULL);
  691. __this->set_mTexture_1(L_5);
  692. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * L_6 = __this->get_mTexture_1();
  693. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7;
  694. L_7 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(7 /* System.Byte[] UnityEngine.Networking.DownloadHandler::GetData() */, __this);
  695. bool L_8 = __this->get_mNonReadable_3();
  696. bool L_9;
  697. L_9 = ImageConversion_LoadImage_m1E5C9BF6206ED40B23CDB28341B8A64E05C43683(L_6, L_7, L_8, /*hidden argument*/NULL);
  698. }
  699. IL_0043:
  700. {
  701. goto IL_006b;
  702. }
  703. IL_0046:
  704. {
  705. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * L_10 = __this->get_mTexture_1();
  706. IL2CPP_RUNTIME_CLASS_INIT(Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_il2cpp_TypeInfo_var);
  707. bool L_11;
  708. L_11 = Object_op_Equality_mEE9EC7EB5C7DC3E95B94AB904E1986FC4D566D54(L_10, (Object_tF2F3778131EFF286AF62B7B013A170F95A91571A *)NULL, /*hidden argument*/NULL);
  709. V_2 = L_11;
  710. bool L_12 = V_2;
  711. if (!L_12)
  712. {
  713. goto IL_006b;
  714. }
  715. }
  716. {
  717. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * L_13;
  718. L_13 = DownloadHandlerTexture_InternalGetTextureNative_m010213A0592CE3F41D2637A4631987A6248E0E2F(__this, /*hidden argument*/NULL);
  719. __this->set_mTexture_1(L_13);
  720. __this->set_mHasTexture_2((bool)1);
  721. }
  722. IL_006b:
  723. {
  724. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * L_14 = __this->get_mTexture_1();
  725. V_3 = L_14;
  726. goto IL_0074;
  727. }
  728. IL_0074:
  729. {
  730. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * L_15 = V_3;
  731. return L_15;
  732. }
  733. }
  734. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::InternalGetTextureNative()
  735. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * DownloadHandlerTexture_InternalGetTextureNative_m010213A0592CE3F41D2637A4631987A6248E0E2F (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * __this, const RuntimeMethod* method)
  736. {
  737. typedef Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * (*DownloadHandlerTexture_InternalGetTextureNative_m010213A0592CE3F41D2637A4631987A6248E0E2F_ftn) (DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 *);
  738. static DownloadHandlerTexture_InternalGetTextureNative_m010213A0592CE3F41D2637A4631987A6248E0E2F_ftn _il2cpp_icall_func;
  739. if (!_il2cpp_icall_func)
  740. _il2cpp_icall_func = (DownloadHandlerTexture_InternalGetTextureNative_m010213A0592CE3F41D2637A4631987A6248E0E2F_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Networking.DownloadHandlerTexture::InternalGetTextureNative()");
  741. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * icallRetVal = _il2cpp_icall_func(__this);
  742. return icallRetVal;
  743. }
  744. // UnityEngine.Texture2D UnityEngine.Networking.DownloadHandlerTexture::GetContent(UnityEngine.Networking.UnityWebRequest)
  745. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * DownloadHandlerTexture_GetContent_m7CB6BFDD4B9E159B2BB46684707DFA9668AC21E6 (UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E * ___www0, const RuntimeMethod* method)
  746. {
  747. static bool s_Il2CppMethodInitialized;
  748. if (!s_Il2CppMethodInitialized)
  749. {
  750. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DownloadHandler_GetCheckedDownloader_TisDownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_m1B32B1CAA78550D37330C07A09BDBA5DE1A15837_RuntimeMethod_var);
  751. s_Il2CppMethodInitialized = true;
  752. }
  753. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * V_0 = NULL;
  754. {
  755. UnityWebRequest_tB75B39F6951CA0DBA2D5BEDF85FDCAAC6026A37E * L_0 = ___www0;
  756. DownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142 * L_1;
  757. L_1 = DownloadHandler_GetCheckedDownloader_TisDownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_m1B32B1CAA78550D37330C07A09BDBA5DE1A15837(L_0, /*hidden argument*/DownloadHandler_GetCheckedDownloader_TisDownloadHandlerTexture_tA2708E80049AA58E9B0DBE9F5325CC9A1B487142_m1B32B1CAA78550D37330C07A09BDBA5DE1A15837_RuntimeMethod_var);
  758. NullCheck(L_1);
  759. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * L_2;
  760. L_2 = DownloadHandlerTexture_get_texture_m4A85047C91C2C15472D34043E1440845C87B709A(L_1, /*hidden argument*/NULL);
  761. V_0 = L_2;
  762. goto IL_000f;
  763. }
  764. IL_000f:
  765. {
  766. Texture2D_t9B604D0D8E28032123641A7E7338FA872E2698BF * L_3 = V_0;
  767. return L_3;
  768. }
  769. }
  770. #ifdef __clang__
  771. #pragma clang diagnostic pop
  772. #endif