173 lines
4.1 KiB
C++
173 lines
4.1 KiB
C++
#include "pch-cpp.hpp"
|
|
|
|
#ifndef _MSC_VER
|
|
# include <alloca.h>
|
|
#else
|
|
# include <malloc.h>
|
|
#endif
|
|
|
|
|
|
#include <limits>
|
|
|
|
|
|
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
|
|
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
|
|
struct String_t;
|
|
|
|
|
|
|
|
IL2CPP_EXTERN_C_BEGIN
|
|
IL2CPP_EXTERN_C_END
|
|
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
struct U3CPrivateImplementationDetailsU3E_tCA0A4120E1B13462A402E739CE2DD9CA72BAC713 : public RuntimeObject
|
|
{
|
|
};
|
|
struct String_t : public RuntimeObject
|
|
{
|
|
int32_t ____stringLength;
|
|
Il2CppChar ____firstChar;
|
|
};
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
|
|
{
|
|
};
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
|
|
{
|
|
};
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
|
|
{
|
|
};
|
|
struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17
|
|
{
|
|
Il2CppChar ___m_value;
|
|
};
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
|
|
{
|
|
};
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
|
|
{
|
|
};
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
|
|
{
|
|
};
|
|
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
|
|
{
|
|
int32_t ___m_value;
|
|
};
|
|
struct UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B
|
|
{
|
|
uint32_t ___m_value;
|
|
};
|
|
struct CharacterType_tA5537D2CAC701C90819571E9AEBE3D038EB92744
|
|
{
|
|
int32_t ___value__;
|
|
};
|
|
struct Direction_t45077BAAE21B4351F02B52132135851E2610799C
|
|
{
|
|
int32_t ___value__;
|
|
};
|
|
struct String_t_StaticFields
|
|
{
|
|
String_t* ___Empty;
|
|
};
|
|
struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17_StaticFields
|
|
{
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___s_categoryForLatin1;
|
|
};
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
|
|
|
|
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3 (String_t* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method) ;
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t U3CPrivateImplementationDetailsU3E_ComputeStringHash_m3791FADF6D0284BCC1AF6156A077038C2AA23055 (String_t* ___0_s, const RuntimeMethod* method)
|
|
{
|
|
uint32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
String_t* L_0 = ___0_s;
|
|
if (!L_0)
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
V_0 = ((int32_t)-2128831035);
|
|
V_1 = 0;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
String_t* L_1 = ___0_s;
|
|
int32_t L_2 = V_1;
|
|
NullCheck(L_1);
|
|
Il2CppChar L_3;
|
|
L_3 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_1, L_2, NULL);
|
|
uint32_t L_4 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_multiply(((int32_t)((int32_t)L_3^(int32_t)L_4)), ((int32_t)16777619)));
|
|
int32_t L_5 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
int32_t L_6 = V_1;
|
|
String_t* L_7 = ___0_s;
|
|
NullCheck(L_7);
|
|
int32_t L_8;
|
|
L_8 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_7, NULL);
|
|
if ((((int32_t)L_6) >= ((int32_t)L_8)))
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
uint32_t L_9 = V_0;
|
|
return L_9;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->____stringLength;
|
|
return L_0;
|
|
}
|
|
}
|