QFramework.Log.cpp 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
  1. #include "il2cpp-config.h"
  2. #ifndef _MSC_VER
  3. # include <alloca.h>
  4. #else
  5. # include <malloc.h>
  6. #endif
  7. #include <cstring>
  8. #include <string.h>
  9. #include <stdio.h>
  10. #include <cmath>
  11. #include <limits>
  12. #include <assert.h>
  13. #include <stdint.h>
  14. #include "codegen/il2cpp-codegen.h"
  15. #include "il2cpp-object-internals.h"
  16. template <typename R>
  17. struct VirtFuncInvoker0
  18. {
  19. typedef R (*Func)(void*, const RuntimeMethod*);
  20. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
  21. {
  22. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  23. return ((Func)invokeData.methodPtr)(obj, invokeData.method);
  24. }
  25. };
  26. // System.Char[]
  27. struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2;
  28. // System.Object[]
  29. struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
  30. // System.String
  31. struct String_t;
  32. IL2CPP_EXTERN_C RuntimeClass* Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var;
  33. IL2CPP_EXTERN_C RuntimeClass* Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_il2cpp_TypeInfo_var;
  34. IL2CPP_EXTERN_C RuntimeClass* ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var;
  35. IL2CPP_EXTERN_C const uint32_t Log_E_m29D47134C08FEF644DBB34B35B900FFAFF7689B7_MetadataUsageId;
  36. IL2CPP_EXTERN_C const uint32_t Log_I_mF2BF9A16ACF9A6FD8A65ABC318FE1205676C3C0C_MetadataUsageId;
  37. IL2CPP_EXTERN_C const uint32_t Log_LogInfo_m892D8DDEF69EDD9CCBB272EA43CB8B093FFCC801_MetadataUsageId;
  38. IL2CPP_EXTERN_C const uint32_t Log_W_mFA8D1AE93732E3142EE576A184615FE0C95BAB7A_MetadataUsageId;
  39. IL2CPP_EXTERN_C const uint32_t Log__cctor_m1ECF5BBC00CF8FB90D6CD2D8A5F351BC087E76B0_MetadataUsageId;
  40. struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
  41. IL2CPP_EXTERN_C_BEGIN
  42. IL2CPP_EXTERN_C_END
  43. #ifdef __clang__
  44. #pragma clang diagnostic push
  45. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  46. #pragma clang diagnostic ignored "-Wunused-variable"
  47. #endif
  48. // <Module>
  49. struct U3CModuleU3E_tCE47FFD9404C2064D0AD49B5138991F297BFCB41
  50. {
  51. public:
  52. public:
  53. };
  54. // System.Object
  55. struct Il2CppArrayBounds;
  56. // System.Array
  57. // System.String
  58. struct String_t : public RuntimeObject
  59. {
  60. public:
  61. // System.Int32 System.String::m_stringLength
  62. int32_t ___m_stringLength_0;
  63. // System.Char System.String::m_firstChar
  64. Il2CppChar ___m_firstChar_1;
  65. public:
  66. inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); }
  67. inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; }
  68. inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; }
  69. inline void set_m_stringLength_0(int32_t value)
  70. {
  71. ___m_stringLength_0 = value;
  72. }
  73. inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); }
  74. inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; }
  75. inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; }
  76. inline void set_m_firstChar_1(Il2CppChar value)
  77. {
  78. ___m_firstChar_1 = value;
  79. }
  80. };
  81. struct String_t_StaticFields
  82. {
  83. public:
  84. // System.String System.String::Empty
  85. String_t* ___Empty_5;
  86. public:
  87. inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); }
  88. inline String_t* get_Empty_5() const { return ___Empty_5; }
  89. inline String_t** get_address_of_Empty_5() { return &___Empty_5; }
  90. inline void set_Empty_5(String_t* value)
  91. {
  92. ___Empty_5 = value;
  93. Il2CppCodeGenWriteBarrier((void**)(&___Empty_5), (void*)value);
  94. }
  95. };
  96. // System.ValueType
  97. struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF : public RuntimeObject
  98. {
  99. public:
  100. public:
  101. };
  102. // Native definition for P/Invoke marshalling of System.ValueType
  103. struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_pinvoke
  104. {
  105. };
  106. // Native definition for COM marshalling of System.ValueType
  107. struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_com
  108. {
  109. };
  110. // System.Boolean
  111. struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C
  112. {
  113. public:
  114. // System.Boolean System.Boolean::m_value
  115. bool ___m_value_0;
  116. public:
  117. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C, ___m_value_0)); }
  118. inline bool get_m_value_0() const { return ___m_value_0; }
  119. inline bool* get_address_of_m_value_0() { return &___m_value_0; }
  120. inline void set_m_value_0(bool value)
  121. {
  122. ___m_value_0 = value;
  123. }
  124. };
  125. struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields
  126. {
  127. public:
  128. // System.String System.Boolean::TrueString
  129. String_t* ___TrueString_5;
  130. // System.String System.Boolean::FalseString
  131. String_t* ___FalseString_6;
  132. public:
  133. inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___TrueString_5)); }
  134. inline String_t* get_TrueString_5() const { return ___TrueString_5; }
  135. inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
  136. inline void set_TrueString_5(String_t* value)
  137. {
  138. ___TrueString_5 = value;
  139. Il2CppCodeGenWriteBarrier((void**)(&___TrueString_5), (void*)value);
  140. }
  141. inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___FalseString_6)); }
  142. inline String_t* get_FalseString_6() const { return ___FalseString_6; }
  143. inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
  144. inline void set_FalseString_6(String_t* value)
  145. {
  146. ___FalseString_6 = value;
  147. Il2CppCodeGenWriteBarrier((void**)(&___FalseString_6), (void*)value);
  148. }
  149. };
  150. // System.Enum
  151. struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521 : public ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF
  152. {
  153. public:
  154. public:
  155. };
  156. struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields
  157. {
  158. public:
  159. // System.Char[] System.Enum::enumSeperatorCharArray
  160. CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___enumSeperatorCharArray_0;
  161. public:
  162. inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields, ___enumSeperatorCharArray_0)); }
  163. inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
  164. inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
  165. inline void set_enumSeperatorCharArray_0(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value)
  166. {
  167. ___enumSeperatorCharArray_0 = value;
  168. Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value);
  169. }
  170. };
  171. // Native definition for P/Invoke marshalling of System.Enum
  172. struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_pinvoke
  173. {
  174. };
  175. // Native definition for COM marshalling of System.Enum
  176. struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_com
  177. {
  178. };
  179. // System.Void
  180. struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017
  181. {
  182. public:
  183. union
  184. {
  185. struct
  186. {
  187. };
  188. uint8_t Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017__padding[1];
  189. };
  190. public:
  191. };
  192. // QFramework.LogLevel
  193. struct LogLevel_tEF36720C84C4D7CFBA3E2FB3486E49ADBB820BA4
  194. {
  195. public:
  196. // System.Int32 QFramework.LogLevel::value__
  197. int32_t ___value___2;
  198. public:
  199. inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(LogLevel_tEF36720C84C4D7CFBA3E2FB3486E49ADBB820BA4, ___value___2)); }
  200. inline int32_t get_value___2() const { return ___value___2; }
  201. inline int32_t* get_address_of_value___2() { return &___value___2; }
  202. inline void set_value___2(int32_t value)
  203. {
  204. ___value___2 = value;
  205. }
  206. };
  207. // QFramework.Log
  208. struct Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B : public RuntimeObject
  209. {
  210. public:
  211. public:
  212. };
  213. struct Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_StaticFields
  214. {
  215. public:
  216. // QFramework.LogLevel QFramework.Log::mLogLevel
  217. int32_t ___mLogLevel_0;
  218. public:
  219. inline static int32_t get_offset_of_mLogLevel_0() { return static_cast<int32_t>(offsetof(Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_StaticFields, ___mLogLevel_0)); }
  220. inline int32_t get_mLogLevel_0() const { return ___mLogLevel_0; }
  221. inline int32_t* get_address_of_mLogLevel_0() { return &___mLogLevel_0; }
  222. inline void set_mLogLevel_0(int32_t value)
  223. {
  224. ___mLogLevel_0 = value;
  225. }
  226. };
  227. #ifdef __clang__
  228. #pragma clang diagnostic pop
  229. #endif
  230. // System.Object[]
  231. struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A : public RuntimeArray
  232. {
  233. public:
  234. ALIGN_FIELD (8) RuntimeObject * m_Items[1];
  235. public:
  236. inline RuntimeObject * GetAt(il2cpp_array_size_t index) const
  237. {
  238. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  239. return m_Items[index];
  240. }
  241. inline RuntimeObject ** GetAddressAt(il2cpp_array_size_t index)
  242. {
  243. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  244. return m_Items + index;
  245. }
  246. inline void SetAt(il2cpp_array_size_t index, RuntimeObject * value)
  247. {
  248. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  249. m_Items[index] = value;
  250. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  251. }
  252. inline RuntimeObject * GetAtUnchecked(il2cpp_array_size_t index) const
  253. {
  254. return m_Items[index];
  255. }
  256. inline RuntimeObject ** GetAddressAtUnchecked(il2cpp_array_size_t index)
  257. {
  258. return m_Items + index;
  259. }
  260. inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject * value)
  261. {
  262. m_Items[index] = value;
  263. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  264. }
  265. };
  266. // System.Void QFramework.Log::I(System.Object,System.Object[])
  267. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Log_I_mF2BF9A16ACF9A6FD8A65ABC318FE1205676C3C0C (RuntimeObject * ___msg0, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args1, const RuntimeMethod* method);
  268. // System.Void UnityEngine.Debug::Log(System.Object)
  269. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_Log_m4B7C70BAFD477C6BDB59C88A0934F0B018D03708 (RuntimeObject * ___message0, const RuntimeMethod* method);
  270. // System.Void UnityEngine.Debug::LogFormat(System.String,System.Object[])
  271. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogFormat_mB23DDD2CD05B2E66F9CF8CA72ECA66C02DCC209E (String_t* ___format0, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args1, const RuntimeMethod* method);
  272. // System.Void UnityEngine.Debug::LogError(System.Object)
  273. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_m3BCF9B78263152261565DCA9DB7D55F0C391ED29 (RuntimeObject * ___message0, const RuntimeMethod* method);
  274. // System.String System.String::Format(System.String,System.Object[])
  275. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_mA3AC3FE7B23D97F3A5BAA082D25B0E01B341A865 (String_t* ___format0, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args1, const RuntimeMethod* method);
  276. // System.Void UnityEngine.Debug::LogWarning(System.Object)
  277. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m37338644DC81F640CCDFEAE35A223F0E965F0568 (RuntimeObject * ___message0, const RuntimeMethod* method);
  278. #ifdef __clang__
  279. #pragma clang diagnostic push
  280. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  281. #pragma clang diagnostic ignored "-Wunused-variable"
  282. #endif
  283. #ifdef __clang__
  284. #pragma clang diagnostic pop
  285. #endif
  286. #ifdef __clang__
  287. #pragma clang diagnostic push
  288. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  289. #pragma clang diagnostic ignored "-Wunused-variable"
  290. #endif
  291. // System.Void QFramework.Log::LogInfo(System.Object)
  292. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Log_LogInfo_m892D8DDEF69EDD9CCBB272EA43CB8B093FFCC801 (RuntimeObject * ___selfMsg0, const RuntimeMethod* method)
  293. {
  294. static bool s_Il2CppMethodInitialized;
  295. if (!s_Il2CppMethodInitialized)
  296. {
  297. il2cpp_codegen_initialize_method (Log_LogInfo_m892D8DDEF69EDD9CCBB272EA43CB8B093FFCC801_MetadataUsageId);
  298. s_Il2CppMethodInitialized = true;
  299. }
  300. {
  301. RuntimeObject * L_0 = ___selfMsg0;
  302. ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_1 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)0);
  303. IL2CPP_RUNTIME_CLASS_INIT(Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_il2cpp_TypeInfo_var);
  304. Log_I_mF2BF9A16ACF9A6FD8A65ABC318FE1205676C3C0C(L_0, L_1, /*hidden argument*/NULL);
  305. return;
  306. }
  307. }
  308. // System.Void QFramework.Log::I(System.Object,System.Object[])
  309. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Log_I_mF2BF9A16ACF9A6FD8A65ABC318FE1205676C3C0C (RuntimeObject * ___msg0, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args1, const RuntimeMethod* method)
  310. {
  311. static bool s_Il2CppMethodInitialized;
  312. if (!s_Il2CppMethodInitialized)
  313. {
  314. il2cpp_codegen_initialize_method (Log_I_mF2BF9A16ACF9A6FD8A65ABC318FE1205676C3C0C_MetadataUsageId);
  315. s_Il2CppMethodInitialized = true;
  316. }
  317. bool V_0 = false;
  318. bool V_1 = false;
  319. int32_t G_B5_0 = 0;
  320. {
  321. IL2CPP_RUNTIME_CLASS_INIT(Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_il2cpp_TypeInfo_var);
  322. int32_t L_0 = ((Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_StaticFields*)il2cpp_codegen_static_fields_for(Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_il2cpp_TypeInfo_var))->get_mLogLevel_0();
  323. V_0 = (bool)((((int32_t)L_0) < ((int32_t)4))? 1 : 0);
  324. bool L_1 = V_0;
  325. if (!L_1)
  326. {
  327. goto IL_0010;
  328. }
  329. }
  330. {
  331. goto IL_0039;
  332. }
  333. IL_0010:
  334. {
  335. ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_2 = ___args1;
  336. if (!L_2)
  337. {
  338. goto IL_001a;
  339. }
  340. }
  341. {
  342. ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = ___args1;
  343. NullCheck(L_3);
  344. G_B5_0 = ((((int32_t)(((RuntimeArray*)L_3)->max_length)) == ((int32_t)0))? 1 : 0);
  345. goto IL_001b;
  346. }
  347. IL_001a:
  348. {
  349. G_B5_0 = 1;
  350. }
  351. IL_001b:
  352. {
  353. V_1 = (bool)G_B5_0;
  354. bool L_4 = V_1;
  355. if (!L_4)
  356. {
  357. goto IL_002a;
  358. }
  359. }
  360. {
  361. RuntimeObject * L_5 = ___msg0;
  362. IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
  363. Debug_Log_m4B7C70BAFD477C6BDB59C88A0934F0B018D03708(L_5, /*hidden argument*/NULL);
  364. goto IL_0039;
  365. }
  366. IL_002a:
  367. {
  368. RuntimeObject * L_6 = ___msg0;
  369. NullCheck(L_6);
  370. String_t* L_7 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_6);
  371. ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_8 = ___args1;
  372. IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
  373. Debug_LogFormat_mB23DDD2CD05B2E66F9CF8CA72ECA66C02DCC209E(L_7, L_8, /*hidden argument*/NULL);
  374. }
  375. IL_0039:
  376. {
  377. return;
  378. }
  379. }
  380. // System.Void QFramework.Log::E(System.Object,System.Object[])
  381. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Log_E_m29D47134C08FEF644DBB34B35B900FFAFF7689B7 (RuntimeObject * ___msg0, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args1, const RuntimeMethod* method)
  382. {
  383. static bool s_Il2CppMethodInitialized;
  384. if (!s_Il2CppMethodInitialized)
  385. {
  386. il2cpp_codegen_initialize_method (Log_E_m29D47134C08FEF644DBB34B35B900FFAFF7689B7_MetadataUsageId);
  387. s_Il2CppMethodInitialized = true;
  388. }
  389. bool V_0 = false;
  390. bool V_1 = false;
  391. int32_t G_B5_0 = 0;
  392. {
  393. IL2CPP_RUNTIME_CLASS_INIT(Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_il2cpp_TypeInfo_var);
  394. int32_t L_0 = ((Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_StaticFields*)il2cpp_codegen_static_fields_for(Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_il2cpp_TypeInfo_var))->get_mLogLevel_0();
  395. V_0 = (bool)((((int32_t)L_0) < ((int32_t)2))? 1 : 0);
  396. bool L_1 = V_0;
  397. if (!L_1)
  398. {
  399. goto IL_0010;
  400. }
  401. }
  402. {
  403. goto IL_003e;
  404. }
  405. IL_0010:
  406. {
  407. ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_2 = ___args1;
  408. if (!L_2)
  409. {
  410. goto IL_001a;
  411. }
  412. }
  413. {
  414. ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = ___args1;
  415. NullCheck(L_3);
  416. G_B5_0 = ((((int32_t)(((RuntimeArray*)L_3)->max_length)) == ((int32_t)0))? 1 : 0);
  417. goto IL_001b;
  418. }
  419. IL_001a:
  420. {
  421. G_B5_0 = 1;
  422. }
  423. IL_001b:
  424. {
  425. V_1 = (bool)G_B5_0;
  426. bool L_4 = V_1;
  427. if (!L_4)
  428. {
  429. goto IL_002a;
  430. }
  431. }
  432. {
  433. RuntimeObject * L_5 = ___msg0;
  434. IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
  435. Debug_LogError_m3BCF9B78263152261565DCA9DB7D55F0C391ED29(L_5, /*hidden argument*/NULL);
  436. goto IL_003e;
  437. }
  438. IL_002a:
  439. {
  440. RuntimeObject * L_6 = ___msg0;
  441. NullCheck(L_6);
  442. String_t* L_7 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_6);
  443. ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_8 = ___args1;
  444. String_t* L_9 = String_Format_mA3AC3FE7B23D97F3A5BAA082D25B0E01B341A865(L_7, L_8, /*hidden argument*/NULL);
  445. IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
  446. Debug_LogError_m3BCF9B78263152261565DCA9DB7D55F0C391ED29(L_9, /*hidden argument*/NULL);
  447. }
  448. IL_003e:
  449. {
  450. return;
  451. }
  452. }
  453. // System.Void QFramework.Log::W(System.String,System.Object[])
  454. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Log_W_mFA8D1AE93732E3142EE576A184615FE0C95BAB7A (String_t* ___msg0, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args1, const RuntimeMethod* method)
  455. {
  456. static bool s_Il2CppMethodInitialized;
  457. if (!s_Il2CppMethodInitialized)
  458. {
  459. il2cpp_codegen_initialize_method (Log_W_mFA8D1AE93732E3142EE576A184615FE0C95BAB7A_MetadataUsageId);
  460. s_Il2CppMethodInitialized = true;
  461. }
  462. bool V_0 = false;
  463. {
  464. IL2CPP_RUNTIME_CLASS_INIT(Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_il2cpp_TypeInfo_var);
  465. int32_t L_0 = ((Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_StaticFields*)il2cpp_codegen_static_fields_for(Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_il2cpp_TypeInfo_var))->get_mLogLevel_0();
  466. V_0 = (bool)((((int32_t)L_0) < ((int32_t)3))? 1 : 0);
  467. bool L_1 = V_0;
  468. if (!L_1)
  469. {
  470. goto IL_0010;
  471. }
  472. }
  473. {
  474. goto IL_001d;
  475. }
  476. IL_0010:
  477. {
  478. String_t* L_2 = ___msg0;
  479. ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = ___args1;
  480. String_t* L_4 = String_Format_mA3AC3FE7B23D97F3A5BAA082D25B0E01B341A865(L_2, L_3, /*hidden argument*/NULL);
  481. IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
  482. Debug_LogWarning_m37338644DC81F640CCDFEAE35A223F0E965F0568(L_4, /*hidden argument*/NULL);
  483. }
  484. IL_001d:
  485. {
  486. return;
  487. }
  488. }
  489. // System.Void QFramework.Log::.cctor()
  490. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Log__cctor_m1ECF5BBC00CF8FB90D6CD2D8A5F351BC087E76B0 (const RuntimeMethod* method)
  491. {
  492. static bool s_Il2CppMethodInitialized;
  493. if (!s_Il2CppMethodInitialized)
  494. {
  495. il2cpp_codegen_initialize_method (Log__cctor_m1ECF5BBC00CF8FB90D6CD2D8A5F351BC087E76B0_MetadataUsageId);
  496. s_Il2CppMethodInitialized = true;
  497. }
  498. {
  499. ((Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_StaticFields*)il2cpp_codegen_static_fields_for(Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_il2cpp_TypeInfo_var))->set_mLogLevel_0(4);
  500. return;
  501. }
  502. }
  503. #ifdef __clang__
  504. #pragma clang diagnostic pop
  505. #endif
  506. #ifdef __clang__
  507. #pragma clang diagnostic push
  508. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  509. #pragma clang diagnostic ignored "-Wunused-variable"
  510. #endif
  511. #ifdef __clang__
  512. #pragma clang diagnostic pop
  513. #endif