Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Commit

Permalink
Changed names, fixed buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Kade-github committed Feb 6, 2020
1 parent b6ecef5 commit 4a08e94
Show file tree
Hide file tree
Showing 14 changed files with 1,031 additions and 1,031 deletions.
Original file line number Diff line number Diff line change
@@ -1,129 +1,129 @@
using System;
using System.Collections.Generic;

// Token: 0x0200000B RID: 11
public static class GClass0
{
// Token: 0x06000032 RID: 50 RVA: 0x00003348 File Offset: 0x00001548
private static int[] smethod_0(byte[] byte_0)
{
int[] array = new int[256];
for (int i = 0; i < array.Length; i++)
{
array[i] = byte_0.Length;
}
for (int j = 0; j < byte_0.Length - 1; j++)
{
array[Convert.ToInt32(byte_0[j])] = byte_0.Length - j - 1;
}
return array;
}

// Token: 0x06000033 RID: 51 RVA: 0x00003398 File Offset: 0x00001598
public static bool smethod_1(byte[] byte_0, byte[] byte_1, int int_0)
{
if (int_0 + byte_1.Length > byte_0.Length)
{
return false;
}
for (int i = 0; i < byte_1.Length; i++)
{
if (byte_0[i + int_0] != byte_1[i])
{
return false;
}
}
return true;
}

// Token: 0x06000034 RID: 52 RVA: 0x00002265 File Offset: 0x00000465
public static bool smethod_2(byte[] byte_0, byte[] byte_1)
{
return GClass0.smethod_3(byte_0, byte_1) != -1;
}

// Token: 0x06000035 RID: 53 RVA: 0x000033D0 File Offset: 0x000015D0
public static int smethod_3(byte[] byte_0, byte[] byte_1)
{
int[] array = GClass0.smethod_0(byte_1);
int num;
for (int i = byte_1.Length - 1; i < byte_0.Length; i += array[Convert.ToInt32(byte_0[i - num])])
{
num = 0;
while (num < byte_1.Length && byte_1[byte_1.Length - 1 - num] == byte_0[i - num])
{
if (num == byte_1.Length - 1)
{
return i - num;
}
num++;
}
}
return -1;
}

// Token: 0x06000036 RID: 54 RVA: 0x00003430 File Offset: 0x00001630
public static int smethod_4(byte[] byte_0, byte[] byte_1)
{
int result = -1;
int[] array = GClass0.smethod_0(byte_1);
int i = byte_1.Length - 1;
while (i < byte_0.Length)
{
bool flag = false;
int j;
for (j = 0; j < byte_1.Length; j++)
{
if (byte_1[byte_1.Length - 1 - j] != byte_0[i - j])
{
break;
}
if (j == byte_1.Length - 1)
{
result = i - j;
flag = true;
}
}
if (!flag)
{
i += array[Convert.ToInt32(byte_0[i - j])];
}
else
{
i++;
}
}
return result;
}

// Token: 0x06000037 RID: 55 RVA: 0x000034A8 File Offset: 0x000016A8
public static int[] smethod_5(byte[] byte_0, byte[] byte_1)
{
List<int> list = new List<int>();
int[] array = GClass0.smethod_0(byte_1);
int i = byte_1.Length - 1;
while (i < byte_0.Length)
{
bool flag = false;
int num = 0;
while (num < byte_1.Length && byte_1[byte_1.Length - 1 - num] == byte_0[i - num])
{
if (num == byte_1.Length - 1)
{
list.Add(i - num);
flag = true;
}
num++;
}
if (flag)
{
i++;
}
else
{
i += array[Convert.ToInt32(byte_0[i - num])];
}
}
return list.ToArray();
}
}
using System;
using System.Collections.Generic;

// Token: 0x0200000B RID: 11
public static class GClass0
{
// Token: 0x06000032 RID: 50 RVA: 0x00003348 File Offset: 0x00001548
private static int[] smethod_0(byte[] byte_0)
{
int[] array = new int[256];
for (int i = 0; i < array.Length; i++)
{
array[i] = byte_0.Length;
}
for (int j = 0; j < byte_0.Length - 1; j++)
{
array[Convert.ToInt32(byte_0[j])] = byte_0.Length - j - 1;
}
return array;
}

// Token: 0x06000033 RID: 51 RVA: 0x00003398 File Offset: 0x00001598
public static bool smethod_1(byte[] byte_0, byte[] byte_1, int int_0)
{
if (int_0 + byte_1.Length > byte_0.Length)
{
return false;
}
for (int i = 0; i < byte_1.Length; i++)
{
if (byte_0[i + int_0] != byte_1[i])
{
return false;
}
}
return true;
}

// Token: 0x06000034 RID: 52 RVA: 0x00002265 File Offset: 0x00000465
public static bool smethod_2(byte[] byte_0, byte[] byte_1)
{
return GClass0.smethod_3(byte_0, byte_1) != -1;
}

// Token: 0x06000035 RID: 53 RVA: 0x000033D0 File Offset: 0x000015D0
public static int smethod_3(byte[] byte_0, byte[] byte_1)
{
int[] array = GClass0.smethod_0(byte_1);
int num;
for (int i = byte_1.Length - 1; i < byte_0.Length; i += array[Convert.ToInt32(byte_0[i - num])])
{
num = 0;
while (num < byte_1.Length && byte_1[byte_1.Length - 1 - num] == byte_0[i - num])
{
if (num == byte_1.Length - 1)
{
return i - num;
}
num++;
}
}
return -1;
}

// Token: 0x06000036 RID: 54 RVA: 0x00003430 File Offset: 0x00001630
public static int smethod_4(byte[] byte_0, byte[] byte_1)
{
int result = -1;
int[] array = GClass0.smethod_0(byte_1);
int i = byte_1.Length - 1;
while (i < byte_0.Length)
{
bool flag = false;
int j;
for (j = 0; j < byte_1.Length; j++)
{
if (byte_1[byte_1.Length - 1 - j] != byte_0[i - j])
{
break;
}
if (j == byte_1.Length - 1)
{
result = i - j;
flag = true;
}
}
if (!flag)
{
i += array[Convert.ToInt32(byte_0[i - j])];
}
else
{
i++;
}
}
return result;
}

// Token: 0x06000037 RID: 55 RVA: 0x000034A8 File Offset: 0x000016A8
public static int[] smethod_5(byte[] byte_0, byte[] byte_1)
{
List<int> list = new List<int>();
int[] array = GClass0.smethod_0(byte_1);
int i = byte_1.Length - 1;
while (i < byte_0.Length)
{
bool flag = false;
int num = 0;
while (num < byte_1.Length && byte_1[byte_1.Length - 1 - num] == byte_0[i - num])
{
if (num == byte_1.Length - 1)
{
list.Add(i - num);
flag = true;
}
num++;
}
if (flag)
{
i++;
}
else
{
i += array[Convert.ToInt32(byte_0[i - num])];
}
}
return list.ToArray();
}
}
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
using System;

// Token: 0x02000028 RID: 40
public struct GStruct7
{
// Token: 0x040001FB RID: 507
public GEnum2 genum2_0;

// Token: 0x040001FC RID: 508
public uint uint_0;

// Token: 0x040001FD RID: 509
public IntPtr intptr_0;

// Token: 0x040001FE RID: 510
public IntPtr intptr_1;

// Token: 0x040001FF RID: 511
public IntPtr intptr_2;

// Token: 0x04000200 RID: 512
public uint uint_1;

// Token: 0x04000201 RID: 513
public uint uint_2;

// Token: 0x04000202 RID: 514
public uint uint_3;

// Token: 0x04000203 RID: 515
public ushort ushort_0;

// Token: 0x04000204 RID: 516
public ushort ushort_1;
}
using System;

// Token: 0x02000028 RID: 40
public struct GStruct7
{
// Token: 0x040001FB RID: 507
public GEnum2 genum2_0;

// Token: 0x040001FC RID: 508
public uint uint_0;

// Token: 0x040001FD RID: 509
public IntPtr intptr_0;

// Token: 0x040001FE RID: 510
public IntPtr intptr_1;

// Token: 0x040001FF RID: 511
public IntPtr intptr_2;

// Token: 0x04000200 RID: 512
public uint uint_1;

// Token: 0x04000201 RID: 513
public uint uint_2;

// Token: 0x04000202 RID: 514
public uint uint_3;

// Token: 0x04000203 RID: 515
public ushort ushort_0;

// Token: 0x04000204 RID: 516
public ushort ushort_1;
}
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
using System;

// Token: 0x02000029 RID: 41
public struct GStruct8
{
// Token: 0x04000205 RID: 517
public ulong ulong_0;

// Token: 0x04000206 RID: 518
public ulong ulong_1;

// Token: 0x04000207 RID: 519
public int int_0;

// Token: 0x04000208 RID: 520
public int int_1;

// Token: 0x04000209 RID: 521
public ulong ulong_2;

// Token: 0x0400020A RID: 522
public int int_2;

// Token: 0x0400020B RID: 523
public int int_3;

// Token: 0x0400020C RID: 524
public int int_4;

// Token: 0x0400020D RID: 525
public int int_5;
}
using System;

// Token: 0x02000029 RID: 41
public struct GStruct8
{
// Token: 0x04000205 RID: 517
public ulong ulong_0;

// Token: 0x04000206 RID: 518
public ulong ulong_1;

// Token: 0x04000207 RID: 519
public int int_0;

// Token: 0x04000208 RID: 520
public int int_1;

// Token: 0x04000209 RID: 521
public ulong ulong_2;

// Token: 0x0400020A RID: 522
public int int_2;

// Token: 0x0400020B RID: 523
public int int_3;

// Token: 0x0400020C RID: 524
public int int_4;

// Token: 0x0400020D RID: 525
public int int_5;
}
Loading

0 comments on commit 4a08e94

Please sign in to comment.