UnityEngine.IMGUIModule__2.cpp 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  9. struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
  10. struct String_t;
  11. IL2CPP_EXTERN_C_BEGIN
  12. IL2CPP_EXTERN_C_END
  13. #ifdef __clang__
  14. #pragma clang diagnostic push
  15. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  16. #pragma clang diagnostic ignored "-Wunused-variable"
  17. #endif
  18. struct U3CPrivateImplementationDetailsU3E_tCA0A4120E1B13462A402E739CE2DD9CA72BAC713 : public RuntimeObject
  19. {
  20. };
  21. struct String_t : public RuntimeObject
  22. {
  23. int32_t ____stringLength;
  24. Il2CppChar ____firstChar;
  25. };
  26. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  27. {
  28. };
  29. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  30. {
  31. };
  32. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  33. {
  34. };
  35. struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17
  36. {
  37. Il2CppChar ___m_value;
  38. };
  39. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
  40. {
  41. };
  42. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
  43. {
  44. };
  45. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
  46. {
  47. };
  48. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  49. {
  50. int32_t ___m_value;
  51. };
  52. struct UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B
  53. {
  54. uint32_t ___m_value;
  55. };
  56. struct CharacterType_tA5537D2CAC701C90819571E9AEBE3D038EB92744
  57. {
  58. int32_t ___value__;
  59. };
  60. struct Direction_t45077BAAE21B4351F02B52132135851E2610799C
  61. {
  62. int32_t ___value__;
  63. };
  64. struct String_t_StaticFields
  65. {
  66. String_t* ___Empty;
  67. };
  68. struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17_StaticFields
  69. {
  70. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___s_categoryForLatin1;
  71. };
  72. #ifdef __clang__
  73. #pragma clang diagnostic pop
  74. #endif
  75. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3 (String_t* __this, int32_t ___0_index, const RuntimeMethod* method) ;
  76. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method) ;
  77. #ifdef __clang__
  78. #pragma clang diagnostic push
  79. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  80. #pragma clang diagnostic ignored "-Wunused-variable"
  81. #endif
  82. #ifdef __clang__
  83. #pragma clang diagnostic pop
  84. #endif
  85. #ifdef __clang__
  86. #pragma clang diagnostic push
  87. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  88. #pragma clang diagnostic ignored "-Wunused-variable"
  89. #endif
  90. #ifdef __clang__
  91. #pragma clang diagnostic pop
  92. #endif
  93. #ifdef __clang__
  94. #pragma clang diagnostic push
  95. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  96. #pragma clang diagnostic ignored "-Wunused-variable"
  97. #endif
  98. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t U3CPrivateImplementationDetailsU3E_ComputeStringHash_m3791FADF6D0284BCC1AF6156A077038C2AA23055 (String_t* ___0_s, const RuntimeMethod* method)
  99. {
  100. uint32_t V_0 = 0;
  101. int32_t V_1 = 0;
  102. {
  103. String_t* L_0 = ___0_s;
  104. if (!L_0)
  105. {
  106. goto IL_002c;
  107. }
  108. }
  109. {
  110. V_0 = ((int32_t)-2128831035);
  111. V_1 = 0;
  112. goto IL_0021;
  113. }
  114. IL_000d:
  115. {
  116. String_t* L_1 = ___0_s;
  117. int32_t L_2 = V_1;
  118. NullCheck(L_1);
  119. Il2CppChar L_3;
  120. L_3 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_1, L_2, NULL);
  121. uint32_t L_4 = V_0;
  122. V_0 = ((int32_t)il2cpp_codegen_multiply(((int32_t)((int32_t)L_3^(int32_t)L_4)), ((int32_t)16777619)));
  123. int32_t L_5 = V_1;
  124. V_1 = ((int32_t)il2cpp_codegen_add(L_5, 1));
  125. }
  126. IL_0021:
  127. {
  128. int32_t L_6 = V_1;
  129. String_t* L_7 = ___0_s;
  130. NullCheck(L_7);
  131. int32_t L_8;
  132. L_8 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_7, NULL);
  133. if ((((int32_t)L_6) >= ((int32_t)L_8)))
  134. {
  135. goto IL_002c;
  136. }
  137. }
  138. {
  139. goto IL_000d;
  140. }
  141. IL_002c:
  142. {
  143. uint32_t L_9 = V_0;
  144. return L_9;
  145. }
  146. }
  147. #ifdef __clang__
  148. #pragma clang diagnostic pop
  149. #endif
  150. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method)
  151. {
  152. {
  153. int32_t L_0 = __this->____stringLength;
  154. return L_0;
  155. }
  156. }