120 lines
4.2 KiB
C#
120 lines
4.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace UnityEngine
|
|
{
|
|
// Token: 0x020000C4 RID: 196
|
|
[Token(Token = "0x20000C4")]
|
|
internal static class SpookyHash
|
|
{
|
|
// Token: 0x060007E8 RID: 2024 RVA: 0x00005A90 File Offset: 0x00003C90
|
|
[Token(Token = "0x60007E8")]
|
|
[Address(RVA = "0x2CCB320", Offset = "0x2CCA120", VA = "0x182CCB320")]
|
|
private static bool AttemptDetectAllowUnalignedRead()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x060007E9 RID: 2025 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60007E9")]
|
|
[Address(RVA = "0x2CCB810", Offset = "0x2CCA610", VA = "0x182CCB810")]
|
|
public unsafe static void Hash(void* message, ulong length, ulong* hash1, ulong* hash2)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060007EA RID: 2026 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60007EA")]
|
|
[Address(RVA = "0x2CCB5C0", Offset = "0x2CCA3C0", VA = "0x182CCB5C0")]
|
|
private unsafe static void End(ulong* data, ref ulong h0, ref ulong h1, ref ulong h2, ref ulong h3, ref ulong h4, ref ulong h5, ref ulong h6, ref ulong h7, ref ulong h8, ref ulong h9, ref ulong h10, ref ulong h11)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060007EB RID: 2027 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60007EB")]
|
|
[Address(RVA = "0x2CCB390", Offset = "0x2CCA190", VA = "0x182CCB390")]
|
|
private static void EndPartial(ref ulong h0, ref ulong h1, ref ulong h2, ref ulong h3, ref ulong h4, ref ulong h5, ref ulong h6, ref ulong h7, ref ulong h8, ref ulong h9, ref ulong h10, ref ulong h11)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060007EC RID: 2028 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60007EC")]
|
|
[Address(RVA = "0x2CCC350", Offset = "0x2CCB150", VA = "0x182CCC350")]
|
|
private static void Rot64(ref ulong x, int k)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060007ED RID: 2029 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60007ED")]
|
|
[Address(RVA = "0x2CCC700", Offset = "0x2CCB500", VA = "0x182CCC700")]
|
|
private unsafe static void Short(void* message, ulong length, ulong* hash1, ulong* hash2)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060007EE RID: 2030 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60007EE")]
|
|
[Address(RVA = "0x2CCC530", Offset = "0x2CCB330", VA = "0x182CCC530")]
|
|
private static void ShortMix(ref ulong h0, ref ulong h1, ref ulong h2, ref ulong h3)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060007EF RID: 2031 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60007EF")]
|
|
[Address(RVA = "0x2CCC380", Offset = "0x2CCB180", VA = "0x182CCC380")]
|
|
private static void ShortEnd(ref ulong h0, ref ulong h1, ref ulong h2, ref ulong h3)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060007F0 RID: 2032 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60007F0")]
|
|
[Address(RVA = "0x2CCC070", Offset = "0x2CCAE70", VA = "0x182CCC070")]
|
|
private unsafe static void Mix(ulong* data, ref ulong s0, ref ulong s1, ref ulong s2, ref ulong s3, ref ulong s4, ref ulong s5, ref ulong s6, ref ulong s7, ref ulong s8, ref ulong s9, ref ulong s10, ref ulong s11)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060007F1 RID: 2033 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60007F1")]
|
|
[Address(RVA = "0x2CCCB50", Offset = "0x2CCB950", VA = "0x182CCCB50")]
|
|
private unsafe static void memset(void* dst, int value, ulong numberOfBytes)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000278 RID: 632
|
|
[Token(Token = "0x4000278")]
|
|
private static readonly bool AllowUnalignedRead;
|
|
|
|
// Token: 0x020000C5 RID: 197
|
|
[Token(Token = "0x20000C5")]
|
|
[StructLayout(2)]
|
|
private struct U
|
|
{
|
|
// Token: 0x060007F3 RID: 2035 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60007F3")]
|
|
[Address(RVA = "0x461A30", Offset = "0x460830", VA = "0x180461A30")]
|
|
public unsafe U(ushort* p8)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000279 RID: 633
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4000279")]
|
|
public unsafe ushort* p8;
|
|
|
|
// Token: 0x0400027A RID: 634
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x400027A")]
|
|
public unsafe uint* p32;
|
|
|
|
// Token: 0x0400027B RID: 635
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x400027B")]
|
|
public unsafe ulong* p64;
|
|
|
|
// Token: 0x0400027C RID: 636
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x400027C")]
|
|
public ulong i;
|
|
}
|
|
}
|
|
}
|