暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

UnityEngine.UnityWebRequestModule.cpp 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576
  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 T1>
  9. struct VirtualActionInvoker1
  10. {
  11. typedef void (*Action)(void*, T1, const RuntimeMethod*);
  12. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
  13. {
  14. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  15. ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
  16. }
  17. };
  18. template <typename R, typename T1>
  19. struct VirtualFuncInvoker1
  20. {
  21. typedef R (*Func)(void*, T1, const RuntimeMethod*);
  22. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
  23. {
  24. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  25. return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
  26. }
  27. };
  28. struct Dictionary_2_t5B5B38BB06341F50E1C75FB53208A2A66CAE57F7;
  29. struct WeakReference_1_tDC6E83496181D1BAFA3B89CBC00BCD0B64450257;
  30. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  31. struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
  32. struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
  33. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804;
  34. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB;
  35. struct ExclusiveReference_t411F04D4CC440EB7399290027E1BBABEF4C28837;
  36. struct Hashtable_tEFC3B6496E6747787D8BB761B51F2AE3A8CFFE2D;
  37. struct Regex_tE773142C2BE45C5D362B0F815AFF831707A51772;
  38. struct RegexCode_tA23175D9DA02AD6A79B073E10EC5D225372ED6C7;
  39. struct RegexRunnerFactory_t72373B672C7D8785F63516DDD88834F286AF41E7;
  40. struct String_t;
  41. struct Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E;
  42. struct UriParser_t920B0868286118827C08B08A15A9456AF6C19D81;
  43. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  44. struct CachedCodeEntry_tE201C3AD65C234AD9ED7A78C95025824A7A9FF39;
  45. struct UriInfo_t5F91F77A93545DDDA6BB24A609BAF5E232CC1A09;
  46. IL2CPP_EXTERN_C RuntimeClass* Regex_tE773142C2BE45C5D362B0F815AFF831707A51772_il2cpp_TypeInfo_var;
  47. IL2CPP_EXTERN_C RuntimeClass* Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E_il2cpp_TypeInfo_var;
  48. IL2CPP_EXTERN_C RuntimeClass* WebRequestUtils_t23F1FB533DBFDA3BE5624D901D535B4C6EFAD443_il2cpp_TypeInfo_var;
  49. IL2CPP_EXTERN_C String_t* _stringLiteral665437E312D2053C5919723E2E7EA49D0A2ADE1F;
  50. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  51. IL2CPP_EXTERN_C_BEGIN
  52. IL2CPP_EXTERN_C_END
  53. #ifdef __clang__
  54. #pragma clang diagnostic push
  55. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  56. #pragma clang diagnostic ignored "-Wunused-variable"
  57. #endif
  58. struct U3CModuleU3E_t42F165DEA2597BD5AB2C914FCF80349ECF878162
  59. {
  60. };
  61. struct String_t : public RuntimeObject
  62. {
  63. int32_t ____stringLength;
  64. Il2CppChar ____firstChar;
  65. };
  66. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  67. {
  68. };
  69. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  70. {
  71. };
  72. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  73. {
  74. };
  75. struct WebRequestUtils_t23F1FB533DBFDA3BE5624D901D535B4C6EFAD443 : public RuntimeObject
  76. {
  77. };
  78. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  79. {
  80. bool ___m_value;
  81. };
  82. struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
  83. {
  84. uint8_t ___m_value;
  85. };
  86. struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17
  87. {
  88. Il2CppChar ___m_value;
  89. };
  90. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
  91. {
  92. };
  93. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
  94. {
  95. };
  96. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
  97. {
  98. };
  99. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  100. {
  101. int32_t ___m_value;
  102. };
  103. struct IntPtr_t
  104. {
  105. void* ___m_value;
  106. };
  107. struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
  108. {
  109. float ___m_value;
  110. };
  111. struct TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A
  112. {
  113. int64_t ____ticks;
  114. };
  115. struct UInt64_t8F12534CC8FC4B5860F2A2CD1EE79D322E7A41AF
  116. {
  117. uint64_t ___m_value;
  118. };
  119. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  120. {
  121. union
  122. {
  123. struct
  124. {
  125. };
  126. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  127. };
  128. };
  129. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804 : public RuntimeObject
  130. {
  131. intptr_t ___m_Ptr;
  132. };
  133. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_pinvoke
  134. {
  135. intptr_t ___m_Ptr;
  136. };
  137. struct CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com
  138. {
  139. intptr_t ___m_Ptr;
  140. };
  141. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB : public RuntimeObject
  142. {
  143. intptr_t ___m_Ptr;
  144. };
  145. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_pinvoke
  146. {
  147. intptr_t ___m_Ptr;
  148. };
  149. struct DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com
  150. {
  151. intptr_t ___m_Ptr;
  152. };
  153. struct RegexOptions_tE9DA9C4DF8FB26DD1C7E0F8AA022C1164A423F6B
  154. {
  155. int32_t ___value__;
  156. };
  157. struct UriIdnScope_t001CC97A6F977E9BB7DB855CC6BA415A7F47491F
  158. {
  159. int32_t ___value__;
  160. };
  161. struct UriKind_t6597BD6BF48C695D63244DF8541B5EA48FF7F9E7
  162. {
  163. int32_t ___value__;
  164. };
  165. struct Flags_t47CF4DB4036A6A539AFA6EE39C75F772E865E897
  166. {
  167. uint64_t ___value__;
  168. };
  169. struct Regex_tE773142C2BE45C5D362B0F815AFF831707A51772 : public RuntimeObject
  170. {
  171. TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A ___internalMatchTimeout;
  172. String_t* ___pattern;
  173. int32_t ___roptions;
  174. RegexRunnerFactory_t72373B672C7D8785F63516DDD88834F286AF41E7* ___factory;
  175. Hashtable_tEFC3B6496E6747787D8BB761B51F2AE3A8CFFE2D* ___caps;
  176. Hashtable_tEFC3B6496E6747787D8BB761B51F2AE3A8CFFE2D* ___capnames;
  177. StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___capslist;
  178. int32_t ___capsize;
  179. ExclusiveReference_t411F04D4CC440EB7399290027E1BBABEF4C28837* ____runnerref;
  180. WeakReference_1_tDC6E83496181D1BAFA3B89CBC00BCD0B64450257* ____replref;
  181. RegexCode_tA23175D9DA02AD6A79B073E10EC5D225372ED6C7* ____code;
  182. bool ____refsInitialized;
  183. };
  184. struct Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E : public RuntimeObject
  185. {
  186. String_t* ___m_String;
  187. String_t* ___m_originalUnicodeString;
  188. UriParser_t920B0868286118827C08B08A15A9456AF6C19D81* ___m_Syntax;
  189. String_t* ___m_DnsSafeHost;
  190. uint64_t ___m_Flags;
  191. UriInfo_t5F91F77A93545DDDA6BB24A609BAF5E232CC1A09* ___m_Info;
  192. bool ___m_iriParsing;
  193. };
  194. struct String_t_StaticFields
  195. {
  196. String_t* ___Empty;
  197. };
  198. struct WebRequestUtils_t23F1FB533DBFDA3BE5624D901D535B4C6EFAD443_StaticFields
  199. {
  200. Regex_tE773142C2BE45C5D362B0F815AFF831707A51772* ___domainRegex;
  201. };
  202. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  203. {
  204. String_t* ___TrueString;
  205. String_t* ___FalseString;
  206. };
  207. struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17_StaticFields
  208. {
  209. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___s_categoryForLatin1;
  210. };
  211. struct Regex_tE773142C2BE45C5D362B0F815AFF831707A51772_StaticFields
  212. {
  213. int32_t ___s_cacheSize;
  214. Dictionary_2_t5B5B38BB06341F50E1C75FB53208A2A66CAE57F7* ___s_cache;
  215. int32_t ___s_cacheCount;
  216. CachedCodeEntry_tE201C3AD65C234AD9ED7A78C95025824A7A9FF39* ___s_cacheFirst;
  217. CachedCodeEntry_tE201C3AD65C234AD9ED7A78C95025824A7A9FF39* ___s_cacheLast;
  218. TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A ___s_maximumMatchTimeout;
  219. TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A ___s_defaultMatchTimeout;
  220. TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A ___InfiniteMatchTimeout;
  221. };
  222. struct Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E_StaticFields
  223. {
  224. String_t* ___UriSchemeFile;
  225. String_t* ___UriSchemeFtp;
  226. String_t* ___UriSchemeGopher;
  227. String_t* ___UriSchemeHttp;
  228. String_t* ___UriSchemeHttps;
  229. String_t* ___UriSchemeWs;
  230. String_t* ___UriSchemeWss;
  231. String_t* ___UriSchemeMailto;
  232. String_t* ___UriSchemeNews;
  233. String_t* ___UriSchemeNntp;
  234. String_t* ___UriSchemeNetTcp;
  235. String_t* ___UriSchemeNetPipe;
  236. String_t* ___SchemeDelimiter;
  237. bool ___s_ConfigInitialized;
  238. bool ___s_ConfigInitializing;
  239. int32_t ___s_IdnScope;
  240. bool ___s_IriParsing;
  241. bool ___useDotNetRelativeOrAbsolute;
  242. bool ___IsWindowsFileSystem;
  243. RuntimeObject* ___s_initLock;
  244. CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___HexLowerChars;
  245. CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ____WSchars;
  246. };
  247. #ifdef __clang__
  248. #pragma clang diagnostic pop
  249. #endif
  250. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031 : public RuntimeArray
  251. {
  252. ALIGN_FIELD (8) uint8_t m_Items[1];
  253. inline uint8_t GetAt(il2cpp_array_size_t index) const
  254. {
  255. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  256. return m_Items[index];
  257. }
  258. inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
  259. {
  260. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  261. return m_Items + index;
  262. }
  263. inline void SetAt(il2cpp_array_size_t index, uint8_t value)
  264. {
  265. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  266. m_Items[index] = value;
  267. }
  268. inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
  269. {
  270. return m_Items[index];
  271. }
  272. inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  273. {
  274. return m_Items + index;
  275. }
  276. inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
  277. {
  278. m_Items[index] = value;
  279. }
  280. };
  281. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3 (String_t* __this, int32_t ___0_index, const RuntimeMethod* method) ;
  282. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Uri__ctor_m24549041BC5661EAC10BA8CB35B60AD6512AF69B (Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* __this, String_t* ___0_uriString, int32_t ___1_uriKind, const RuntimeMethod* method) ;
  283. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Uri_get_IsAbsoluteUri_m2F9B759B85D295639D7959A616E1FBC203D756DF (Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* __this, const RuntimeMethod* method) ;
  284. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Uri_get_AbsoluteUri_m080934F4F2E2160EBEABDF00F8B6D59888EA63AE (Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* __this, const RuntimeMethod* method) ;
  285. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Uri__ctor_m5AA91BCDE21E8AD62B9A48948CF3661B2F00E38F (Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* __this, Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___0_baseUri, Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* ___1_relativeUri, const RuntimeMethod* method) ;
  286. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Regex__ctor_m082970AA73B8236360F0CA651FA24A8D1EBF89CD (Regex_tE773142C2BE45C5D362B0F815AFF831707A51772* __this, String_t* ___0_pattern, const RuntimeMethod* method) ;
  287. #ifdef __clang__
  288. #pragma clang diagnostic push
  289. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  290. #pragma clang diagnostic ignored "-Wunused-variable"
  291. #endif
  292. #ifdef __clang__
  293. #pragma clang diagnostic pop
  294. #endif
  295. #ifdef __clang__
  296. #pragma clang diagnostic push
  297. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  298. #pragma clang diagnostic ignored "-Wunused-variable"
  299. #endif
  300. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebRequestUtils_RedirectTo_m63855E63B6B6EAFD4BCE65395BB744AAF5BD6AB4 (String_t* ___0_baseUri, String_t* ___1_redirectUri, const RuntimeMethod* method)
  301. {
  302. static bool s_Il2CppMethodInitialized;
  303. if (!s_Il2CppMethodInitialized)
  304. {
  305. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E_il2cpp_TypeInfo_var);
  306. s_Il2CppMethodInitialized = true;
  307. }
  308. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* V_0 = NULL;
  309. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* V_1 = NULL;
  310. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* V_2 = NULL;
  311. bool V_3 = false;
  312. bool V_4 = false;
  313. String_t* V_5 = NULL;
  314. {
  315. String_t* L_0 = ___1_redirectUri;
  316. NullCheck(L_0);
  317. Il2CppChar L_1;
  318. L_1 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_0, 0, NULL);
  319. V_3 = (bool)((((int32_t)L_1) == ((int32_t)((int32_t)47)))? 1 : 0);
  320. bool L_2 = V_3;
  321. if (!L_2)
  322. {
  323. goto IL_001a;
  324. }
  325. }
  326. {
  327. String_t* L_3 = ___1_redirectUri;
  328. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* L_4 = (Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E*)il2cpp_codegen_object_new(Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E_il2cpp_TypeInfo_var);
  329. Uri__ctor_m24549041BC5661EAC10BA8CB35B60AD6512AF69B(L_4, L_3, 2, NULL);
  330. V_0 = L_4;
  331. goto IL_0022;
  332. }
  333. IL_001a:
  334. {
  335. String_t* L_5 = ___1_redirectUri;
  336. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* L_6 = (Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E*)il2cpp_codegen_object_new(Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E_il2cpp_TypeInfo_var);
  337. Uri__ctor_m24549041BC5661EAC10BA8CB35B60AD6512AF69B(L_6, L_5, 0, NULL);
  338. V_0 = L_6;
  339. }
  340. IL_0022:
  341. {
  342. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* L_7 = V_0;
  343. NullCheck(L_7);
  344. bool L_8;
  345. L_8 = Uri_get_IsAbsoluteUri_m2F9B759B85D295639D7959A616E1FBC203D756DF(L_7, NULL);
  346. V_4 = L_8;
  347. bool L_9 = V_4;
  348. if (!L_9)
  349. {
  350. goto IL_0038;
  351. }
  352. }
  353. {
  354. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* L_10 = V_0;
  355. NullCheck(L_10);
  356. String_t* L_11;
  357. L_11 = Uri_get_AbsoluteUri_m080934F4F2E2160EBEABDF00F8B6D59888EA63AE(L_10, NULL);
  358. V_5 = L_11;
  359. goto IL_0052;
  360. }
  361. IL_0038:
  362. {
  363. String_t* L_12 = ___0_baseUri;
  364. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* L_13 = (Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E*)il2cpp_codegen_object_new(Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E_il2cpp_TypeInfo_var);
  365. Uri__ctor_m24549041BC5661EAC10BA8CB35B60AD6512AF69B(L_13, L_12, 1, NULL);
  366. V_1 = L_13;
  367. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* L_14 = V_1;
  368. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* L_15 = V_0;
  369. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* L_16 = (Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E*)il2cpp_codegen_object_new(Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E_il2cpp_TypeInfo_var);
  370. Uri__ctor_m5AA91BCDE21E8AD62B9A48948CF3661B2F00E38F(L_16, L_14, L_15, NULL);
  371. V_2 = L_16;
  372. Uri_t1500A52B5F71A04F5D05C0852D0F2A0941842A0E* L_17 = V_2;
  373. NullCheck(L_17);
  374. String_t* L_18;
  375. L_18 = Uri_get_AbsoluteUri_m080934F4F2E2160EBEABDF00F8B6D59888EA63AE(L_17, NULL);
  376. V_5 = L_18;
  377. goto IL_0052;
  378. }
  379. IL_0052:
  380. {
  381. String_t* L_19 = V_5;
  382. return L_19;
  383. }
  384. }
  385. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebRequestUtils__cctor_m31ADEB75E00368144C8F223647D81A3B5ADD3D69 (const RuntimeMethod* method)
  386. {
  387. static bool s_Il2CppMethodInitialized;
  388. if (!s_Il2CppMethodInitialized)
  389. {
  390. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Regex_tE773142C2BE45C5D362B0F815AFF831707A51772_il2cpp_TypeInfo_var);
  391. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WebRequestUtils_t23F1FB533DBFDA3BE5624D901D535B4C6EFAD443_il2cpp_TypeInfo_var);
  392. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral665437E312D2053C5919723E2E7EA49D0A2ADE1F);
  393. s_Il2CppMethodInitialized = true;
  394. }
  395. {
  396. Regex_tE773142C2BE45C5D362B0F815AFF831707A51772* L_0 = (Regex_tE773142C2BE45C5D362B0F815AFF831707A51772*)il2cpp_codegen_object_new(Regex_tE773142C2BE45C5D362B0F815AFF831707A51772_il2cpp_TypeInfo_var);
  397. Regex__ctor_m082970AA73B8236360F0CA651FA24A8D1EBF89CD(L_0, _stringLiteral665437E312D2053C5919723E2E7EA49D0A2ADE1F, NULL);
  398. ((WebRequestUtils_t23F1FB533DBFDA3BE5624D901D535B4C6EFAD443_StaticFields*)il2cpp_codegen_static_fields_for(WebRequestUtils_t23F1FB533DBFDA3BE5624D901D535B4C6EFAD443_il2cpp_TypeInfo_var))->___domainRegex = L_0;
  399. Il2CppCodeGenWriteBarrier((void**)(&((WebRequestUtils_t23F1FB533DBFDA3BE5624D901D535B4C6EFAD443_StaticFields*)il2cpp_codegen_static_fields_for(WebRequestUtils_t23F1FB533DBFDA3BE5624D901D535B4C6EFAD443_il2cpp_TypeInfo_var))->___domainRegex), (void*)L_0);
  400. return;
  401. }
  402. }
  403. #ifdef __clang__
  404. #pragma clang diagnostic pop
  405. #endif
  406. #ifdef __clang__
  407. #pragma clang diagnostic push
  408. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  409. #pragma clang diagnostic ignored "-Wunused-variable"
  410. #endif
  411. IL2CPP_EXTERN_C void CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshal_pinvoke(const CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804& unmarshaled, CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_pinvoke& marshaled)
  412. {
  413. marshaled.___m_Ptr = unmarshaled.___m_Ptr;
  414. }
  415. IL2CPP_EXTERN_C void CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshal_pinvoke_back(const CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_pinvoke& marshaled, CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804& unmarshaled)
  416. {
  417. intptr_t unmarshaledm_Ptr_temp_0;
  418. memset((&unmarshaledm_Ptr_temp_0), 0, sizeof(unmarshaledm_Ptr_temp_0));
  419. unmarshaledm_Ptr_temp_0 = marshaled.___m_Ptr;
  420. unmarshaled.___m_Ptr = unmarshaledm_Ptr_temp_0;
  421. }
  422. IL2CPP_EXTERN_C void CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshal_pinvoke_cleanup(CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_pinvoke& marshaled)
  423. {
  424. }
  425. IL2CPP_EXTERN_C void CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshal_com(const CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804& unmarshaled, CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com& marshaled)
  426. {
  427. marshaled.___m_Ptr = unmarshaled.___m_Ptr;
  428. }
  429. IL2CPP_EXTERN_C void CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshal_com_back(const CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com& marshaled, CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804& unmarshaled)
  430. {
  431. intptr_t unmarshaledm_Ptr_temp_0;
  432. memset((&unmarshaledm_Ptr_temp_0), 0, sizeof(unmarshaledm_Ptr_temp_0));
  433. unmarshaledm_Ptr_temp_0 = marshaled.___m_Ptr;
  434. unmarshaled.___m_Ptr = unmarshaledm_Ptr_temp_0;
  435. }
  436. IL2CPP_EXTERN_C void CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshal_com_cleanup(CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804_marshaled_com& marshaled)
  437. {
  438. }
  439. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CertificateHandler_ValidateCertificate_m81E194684391CA512FFC7C3A9172B56D6A1E2752 (CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804* __this, ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___0_certificateData, const RuntimeMethod* method)
  440. {
  441. bool V_0 = false;
  442. {
  443. V_0 = (bool)0;
  444. goto IL_0005;
  445. }
  446. IL_0005:
  447. {
  448. bool L_0 = V_0;
  449. return L_0;
  450. }
  451. }
  452. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CertificateHandler_ValidateCertificateNative_m73467B32D9B40F6897951F71F80CDDA92F5FD785 (CertificateHandler_t148B524FA5DB39F3ABADB181CD420FC505C33804* __this, ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___0_certificateData, const RuntimeMethod* method)
  453. {
  454. bool V_0 = false;
  455. {
  456. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_0 = ___0_certificateData;
  457. bool L_1;
  458. L_1 = VirtualFuncInvoker1< bool, ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* >::Invoke(4, __this, L_0);
  459. V_0 = L_1;
  460. goto IL_000b;
  461. }
  462. IL_000b:
  463. {
  464. bool L_2 = V_0;
  465. return L_2;
  466. }
  467. }
  468. #ifdef __clang__
  469. #pragma clang diagnostic pop
  470. #endif
  471. #ifdef __clang__
  472. #pragma clang diagnostic push
  473. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  474. #pragma clang diagnostic ignored "-Wunused-variable"
  475. #endif
  476. IL2CPP_EXTERN_C void DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshal_pinvoke(const DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB& unmarshaled, DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_pinvoke& marshaled)
  477. {
  478. marshaled.___m_Ptr = unmarshaled.___m_Ptr;
  479. }
  480. IL2CPP_EXTERN_C void DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshal_pinvoke_back(const DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_pinvoke& marshaled, DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB& unmarshaled)
  481. {
  482. intptr_t unmarshaledm_Ptr_temp_0;
  483. memset((&unmarshaledm_Ptr_temp_0), 0, sizeof(unmarshaledm_Ptr_temp_0));
  484. unmarshaledm_Ptr_temp_0 = marshaled.___m_Ptr;
  485. unmarshaled.___m_Ptr = unmarshaledm_Ptr_temp_0;
  486. }
  487. IL2CPP_EXTERN_C void DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshal_pinvoke_cleanup(DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_pinvoke& marshaled)
  488. {
  489. }
  490. IL2CPP_EXTERN_C void DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshal_com(const DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB& unmarshaled, DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com& marshaled)
  491. {
  492. marshaled.___m_Ptr = unmarshaled.___m_Ptr;
  493. }
  494. IL2CPP_EXTERN_C void DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshal_com_back(const DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com& marshaled, DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB& unmarshaled)
  495. {
  496. intptr_t unmarshaledm_Ptr_temp_0;
  497. memset((&unmarshaledm_Ptr_temp_0), 0, sizeof(unmarshaledm_Ptr_temp_0));
  498. unmarshaledm_Ptr_temp_0 = marshaled.___m_Ptr;
  499. unmarshaled.___m_Ptr = unmarshaledm_Ptr_temp_0;
  500. }
  501. IL2CPP_EXTERN_C void DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshal_com_cleanup(DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB_marshaled_com& marshaled)
  502. {
  503. }
  504. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool DownloadHandler_ReceiveData_mF892EB77524A60DF1F82A2DA00F17BECB480CD93 (DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* __this, ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___0_data, int32_t ___1_dataLength, const RuntimeMethod* method)
  505. {
  506. bool V_0 = false;
  507. {
  508. V_0 = (bool)1;
  509. goto IL_0005;
  510. }
  511. IL_0005:
  512. {
  513. bool L_0 = V_0;
  514. return L_0;
  515. }
  516. }
  517. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandler_ReceiveContentLengthHeader_m545073C4FB5AB9BB6640D24FC2F32070E5FE3F17 (DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* __this, uint64_t ___0_contentLength, const RuntimeMethod* method)
  518. {
  519. {
  520. uint64_t L_0 = ___0_contentLength;
  521. VirtualActionInvoker1< int32_t >::Invoke(6, __this, ((int32_t)L_0));
  522. return;
  523. }
  524. }
  525. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandler_ReceiveContentLength_m058DE0B56C3EBE8ECE3F9570852024EE2A84DE4F (DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* __this, int32_t ___0_contentLength, const RuntimeMethod* method)
  526. {
  527. {
  528. return;
  529. }
  530. }
  531. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DownloadHandler_CompleteContent_m0FFC337906FF9BF8BDD546906D48DA57F52F81CA (DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* __this, const RuntimeMethod* method)
  532. {
  533. {
  534. return;
  535. }
  536. }
  537. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float DownloadHandler_GetProgress_mB440AC38C72F2E14DD53259E1D0C9D7612F0791F (DownloadHandler_t1B56C7D3F65D97A1E4B566A14A1E783EA8AE4EBB* __this, const RuntimeMethod* method)
  538. {
  539. float V_0 = 0.0f;
  540. {
  541. V_0 = (0.0f);
  542. goto IL_0009;
  543. }
  544. IL_0009:
  545. {
  546. float L_0 = V_0;
  547. return L_0;
  548. }
  549. }
  550. #ifdef __clang__
  551. #pragma clang diagnostic pop
  552. #endif