namespace PixelSecurity.Core.Encryption
{

	// [TypeInfo RVA: 0x0]
	public class xxHash : Object
	{
		private static PixelSecurity.Core.Encryption.xxHash.EncryptionOptions _encryptor; // 0x0

		// RVA: 0x32B26F0 VA: 0x781899D6F0
		public void .ctor(PixelSecurity.Core.Encryption.xxHash.EncryptionOptions options);
		/*
		 *   undefined *puVar1;
		 *   long lVar2;
		 *
		 *   puVar1 = PTR_DAT_070c6900;
		 *   if ((bRam000000000754afb3 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c6900);
		 *     bRam000000000754afb3 = 1;
		 *   }
		 *   System.Object..ctor(param_1);
		 *   lVar2 = *(long *)puVar1;
		 *   if (*(int *)(lVar2 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     lVar2 = *(long *)puVar1;
		 *   }
		 *   **(undefined8 **)(lVar2 + 0xb8) = param_2;
		 *   if (iRam00000000077785f0 != 0) {
		 *     func_0x032ed0c0(1L << (*(ulong *)(*(long *)puVar1 + 0xb8) >> 0xc & 0x3f),
		 *                     (*(ulong *)(*(long *)puVar1 + 0xb8) >> 0x12 & 0x7fff) * 8 + 0x75ac5c8);
		 *   }
		 *   return;
		 */
		// RVA: 0x32B2770 VA: 0x781899D770
		public string EncodeString(string plane);
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   long *plVar3;
		 *   void *pvVar4;
		 *   long *plVar5;
		 *   undefined8 *puVar6;
		 *   long lVar7;
		 *   void *methodInfo_00;
		 *   long lVar8;
		 *   ulong uVar9;
		 *   int *piVar10;
		 *
		 *   if ((bRam000000000754afb4 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_Convert_6FC0CA8);
		 *     bRam000000000754afb4 = 1;
		 *   }
		 *   plVar3 = System.Text.Encoding.get_UTF8();
		 *   puVar1 = typeinfo_ptr_mscorlib_Convert_6FC0CA8;
		 *   if (plVar3 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   methodInfo_00 = *(void **)(*plVar3 + 0x270);
		 *   pvVar4 = (void *)(**(code **)(*plVar3 + 0x268))(plVar3,plane);
		 *   plVar3 = xxHash.EncodeBinary(pvVar4,pvVar4);
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar1);
		 *   }
		 *   puVar1 = typeinfo_ptr_mscorlib_Convert_6FC0CA8;
		 *   if ((bRam00000000075511f4 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_Convert_6FC0CA8,0);
		 *     bRam00000000075511f4 = 1;
		 *   }
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   puVar1 = typeinfo_ptr_mscorlib_IConvertible_6FD2620;
		 *   if ((bRam00000000075511f5 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_IConvertible_6FD2620);
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_IFormattable_6FCB4C8);
		 *     bRam00000000075511f5 = 1;
		 *   }
		 *   plVar5 = (long *)func_0x031fde0c(plVar3,*(undefined8 *)puVar1);
		 *   puVar2 = typeinfo_ptr_mscorlib_IFormattable_6FCB4C8;
		 *   if (plVar5 == null) {
		 *     plVar5 = (long *)func_0x031fde0c(plVar3,*(undefined8 *)
		 *                                              typeinfo_ptr_mscorlib_IFormattable_6FCB4C8);
		 *     if (plVar5 == null) {
		 *       if (plVar3 != null) {
		 *         pvVar4 = (void *)(**(code **)(*plVar3 + 0x168))(plVar3,*(undefined8 *)(*plVar3 + 0x170));
		 *         return pvVar4;
		 *       }
		 *       return (void *)**(undefined8 **)(*(long *)(PTR_DAT_070c0840 + 0x90) + 0xb8);
		 *     }
		 *     lVar7 = *plVar5;
		 *     uVar9 = (ulong)*(ushort *)(lVar7 + 0x12e);
		 *     if (uVar9 != 0) {
		 *       piVar10 = (int *)(*(long *)(lVar7 + 0xb0) + 8);
		 *       do {
		 *         if (*(long *)(piVar10 + -2) == *(long *)puVar2) {
		 *           puVar6 = (undefined8 *)(lVar7 + (long)*piVar10 * 0x10 + 0x138);
		 *           goto LAB_05679ca8;
		 *         }
		 *         uVar9 = uVar9 - 1;
		 *         piVar10 = piVar10 + 4;
		 *       } while (uVar9 != 0);
		 *     }
		 *     puVar6 = (undefined8 *)func_0x03237558(plVar5,*(long *)puVar2,0);
		 * LAB_05679ca8:
		 *     pvVar4 = (void *)(*(code *)*puVar6)(plVar5,0,0,puVar6[1]);
		 *     return pvVar4;
		 *   }
		 *   lVar8 = *plVar5;
		 *   lVar7 = *(long *)puVar1;
		 *   uVar9 = (ulong)*(ushort *)(lVar8 + 0x12e);
		 *   if (uVar9 != 0) {
		 *     piVar10 = (int *)(*(long *)(lVar8 + 0xb0) + 8);
		 *     do {
		 *       if (*(long *)(piVar10 + -2) == lVar7) {
		 *         puVar6 = (undefined8 *)(lVar8 + (long)(*piVar10 + 0xf) * 0x10 + 0x138);
		 *         goto LAB_05679c60;
		 *       }
		 *       uVar9 = uVar9 - 1;
		 *       piVar10 = piVar10 + 4;
		 *     } while (uVar9 != 0);
		 *   }
		 *   puVar6 = (undefined8 *)func_0x03237558(plVar5,lVar7,0xf);
		 * LAB_05679c60:
		 *   pvVar4 = (void *)(*(code *)*puVar6)(plVar5,0,puVar6[1]);
		 *   return pvVar4;
		 */
		// RVA: 0x32B27FC VA: 0x781899D7FC
		public System.Byte[] EncodeBinary(System.Byte[] buf);
		/*
		 *   int iVar1;
		 *   uint uVar2;
		 *   undefined1 uVar3;
		 *   undefined1 uVar4;
		 *   undefined1 uVar5;
		 *   undefined1 uVar6;
		 *   byte bVar7;
		 *   undefined *puVar8;
		 *   long lVar9;
		 *   void *pvVar10;
		 *   uint uVar11;
		 *   int iVar12;
		 *   long lVar13;
		 *   undefined8 uVar14;
		 *   long lVar15;
		 *   int iVar16;
		 *   uint uVar17;
		 *   uint uVar18;
		 *   uint uVar19;
		 *   uint uVar20;
		 *   long *plVar21;
		 *
		 *   plVar21 = (long *)PTR_DAT_070c6900;
		 *   if ((bRam000000000754afb5 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c6900);
		 *     bRam000000000754afb5 = 1;
		 *   }
		 *   lVar9 = *plVar21;
		 *   if (*(int *)(lVar9 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     lVar9 = *plVar21;
		 *   }
		 *   lVar13 = **(long **)(lVar9 + 0xb8);
		 *   if (lVar13 != 0) {
		 *     if (*(int *)(lVar13 + 0x24) < 0x10) {
		 *       if (*(int *)(lVar9 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *         lVar9 = *plVar21;
		 *         lVar13 = **(long **)(lVar9 + 0xb8);
		 *         if (lVar13 == 0) goto LAB_033b2cdc;
		 *       }
		 *       iVar16 = *(int *)(lVar13 + 0x28);
		 *       iVar12 = *(int *)(lVar13 + 0x20);
		 *       uVar17 = 0;
		 *     }
		 *     else {
		 *       if (*(int *)(lVar9 + 0xe4) == 0) {
		 *         func_0x031fde08();
		 *         lVar9 = *plVar21;
		 *         lVar13 = **(long **)(lVar9 + 0xb8);
		 *         if (lVar13 == 0) goto LAB_033b2cdc;
		 *       }
		 *       if (buf == null) goto LAB_033b2cdc;
		 *       iVar12 = *(int *)(lVar13 + 0x24);
		 *       uVar19 = *(uint *)(lVar13 + 0x28);
		 *       uVar14 = *(undefined8 *)((long)buf + 0x18);
		 *       uVar20 = *(int *)(lVar13 + 0x14) + uVar19;
		 *       uVar18 = uVar19 - *(int *)(lVar13 + 0x10);
		 *       uVar2 = uVar20 + *(int *)(lVar13 + 0x10);
		 *       uVar11 = 7;
		 *       do {
		 *         uVar17 = uVar11;
		 *         uVar11 = (uint)uVar14;
		 *         if ((((uVar11 <= uVar17 - 7) || (uVar11 <= uVar17 - 6)) || (uVar11 <= uVar17 - 5)) ||
		 *            (uVar11 <= uVar17 - 4)) goto LAB_033b2cd8;
		 *         uVar3 = *(undefined1 *)((long)buf + (long)(int)(uVar17 - 7) + 0x20);
		 *         uVar5 = *(undefined1 *)((long)buf + (long)(int)(uVar17 - 5) + 0x20);
		 *         uVar4 = *(undefined1 *)((long)buf + (long)(int)(uVar17 - 6) + 0x20);
		 *         uVar6 = *(undefined1 *)((long)buf + (long)(int)(uVar17 - 4) + 0x20);
		 *         if (*(int *)(lVar9 + 0xe4) == 0) {
		 *           func_0x031fde08();
		 *           lVar9 = *(long *)PTR_DAT_070c6900;
		 *         }
		 *         lVar13 = **(long **)(lVar9 + 0xb8);
		 *         if (lVar13 == 0) goto LAB_033b2cdc;
		 *         uVar14 = *(undefined8 *)((long)buf + 0x18);
		 *         uVar11 = (uint)uVar14;
		 *         if ((((((uVar11 <= uVar17 - 3) || (uVar11 <= uVar17 - 2)) ||
		 *               ((uVar11 <= uVar17 - 1 || ((uVar11 <= uVar17 || (uVar11 <= uVar17 + 1)))))) ||
		 *              (uVar11 <= uVar17 + 2)) ||
		 *             (((uVar11 <= uVar17 + 3 || (uVar11 <= uVar17 + 4)) || (uVar11 <= uVar17 + 5)))) ||
		 *            (((uVar11 <= uVar17 + 6 || (uVar11 <= uVar17 + 7)) || (uVar11 <= uVar17 + 8))))
		 *         goto LAB_033b2cd8;
		 *         iVar16 = *(int *)(lVar13 + 0x10);
		 *         iVar1 = *(int *)(lVar13 + 0x14);
		 *         uVar2 = uVar2 + iVar1 * CONCAT13(uVar6,CONCAT12(uVar5,CONCAT11(uVar4,uVar3)));
		 *         uVar20 = uVar20 + CONCAT13(*(undefined1 *)((long)buf + (long)(int)uVar17 + 0x20),
		 *                                    CONCAT12(*(undefined1 *)
		 *                                              ((long)buf + (long)(int)(uVar17 - 1) + 0x20),
		 *                                             CONCAT11(*(undefined1 *)
		 *                                                       ((long)buf + (long)(int)(uVar17 - 2) + 0x20),
		 *                                                      *(undefined1 *)
		 *                                                       ((long)buf + (long)(int)(uVar17 - 3) + 0x20)))
		 *                                   ) * iVar1;
		 *         uVar19 = uVar19 + CONCAT13(*(undefined1 *)((long)buf + (long)(int)(uVar17 + 4) + 0x20),
		 *                                    CONCAT12(*(undefined1 *)
		 *                                              ((long)buf + (long)(int)(uVar17 + 3) + 0x20),
		 *                                             CONCAT11(*(undefined1 *)
		 *                                                       ((long)buf + (long)(int)(uVar17 + 2) + 0x20),
		 *                                                      *(undefined1 *)
		 *                                                       ((long)buf + (long)(int)(uVar17 + 1) + 0x20)))
		 *                                   ) * iVar1;
		 *         uVar18 = uVar18 + CONCAT13(*(undefined1 *)((long)buf + (long)(int)(uVar17 + 8) + 0x20),
		 *                                    CONCAT12(*(undefined1 *)
		 *                                              ((long)buf + (long)(int)(uVar17 + 7) + 0x20),
		 *                                             CONCAT11(*(undefined1 *)
		 *                                                       ((long)buf + (long)(int)(uVar17 + 6) + 0x20),
		 *                                                      *(undefined1 *)
		 *                                                       ((long)buf + (long)(int)(uVar17 + 5) + 0x20)))
		 *                                   ) * iVar1;
		 *         uVar2 = (uVar2 >> 0x13 | uVar2 * 0x2000) * iVar16;
		 *         uVar20 = (uVar20 >> 0x13 | uVar20 * 0x2000) * iVar16;
		 *         uVar19 = (uVar19 >> 0x13 | uVar19 * 0x2000) * iVar16;
		 *         uVar18 = (uVar18 >> 0x13 | uVar18 * 0x2000) * iVar16;
		 *         uVar11 = uVar17 + 0x10;
		 *       } while ((int)(uVar17 + 9) <= iVar12 + -0x10);
		 *       uVar17 = uVar17 + 9;
		 *       iVar12 = (uVar20 >> 0x19 | uVar20 * 0x80) + (uVar2 >> 0x1f | uVar2 * 2);
		 *       iVar16 = (uVar19 >> 0x14 | uVar19 * 0x1000) + (uVar18 >> 0xe | uVar18 * 0x40000);
		 *       plVar21 = (long *)PTR_DAT_070c6900;
		 *     }
		 *     if (*(int *)(lVar9 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *       lVar9 = *plVar21;
		 *     }
		 *     if (**(long **)(lVar9 + 0xb8) != 0) {
		 *       uVar20 = *(int *)(**(long **)(lVar9 + 0xb8) + 0x24) + iVar12 + iVar16;
		 *       while( true ) {
		 *         if (*(int *)(lVar9 + 0xe4) == 0) {
		 *           func_0x031fde08();
		 *           lVar9 = *plVar21;
		 *         }
		 *         lVar13 = **(long **)(lVar9 + 0xb8);
		 *         if (lVar13 == 0) break;
		 *         if (*(int *)(lVar13 + 0x24) + -4 < (int)uVar17) {
		 *           lVar13 = (long)(int)uVar17;
		 *           goto LAB_033b2c0c;
		 *         }
		 *         if (buf == null) break;
		 *         uVar2 = *(uint *)((long)buf + 0x18);
		 *         if (((uVar2 <= uVar17) || (uVar2 <= uVar17 + 1)) ||
		 *            ((uVar2 <= uVar17 + 2 || (uVar2 <= uVar17 + 3)))) goto LAB_033b2cd8;
		 *         uVar3 = *(undefined1 *)((long)buf + (long)(int)uVar17 + 0x20);
		 *         uVar4 = *(undefined1 *)((long)buf + (long)(int)(uVar17 + 1) + 0x20);
		 *         uVar5 = *(undefined1 *)((long)buf + (long)(int)(uVar17 + 2) + 0x20);
		 *         uVar6 = *(undefined1 *)((long)buf + (long)(int)(uVar17 + 3) + 0x20);
		 *         if (*(int *)(lVar9 + 0xe4) == 0) {
		 *           func_0x031fde08();
		 *           lVar9 = *plVar21;
		 *           lVar13 = **(long **)(lVar9 + 0xb8);
		 *           if (lVar13 == 0) break;
		 *         }
		 *         uVar17 = uVar17 + 4;
		 *         uVar20 = uVar20 + *(int *)(lVar13 + 0x18) *
		 *                           CONCAT13(uVar6,CONCAT12(uVar5,CONCAT11(uVar4,uVar3)));
		 *         uVar20 = (uVar20 >> 0xf | uVar20 * 0x20000) * *(int *)(lVar13 + 0x1c);
		 *       }
		 *     }
		 *   }
		 * LAB_033b2cdc:
		 *   IL2CPP.ThrowNullReferenceException();
		 * LAB_033b2c0c:
		 *   if (*(int *)(lVar9 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     lVar9 = *plVar21;
		 *   }
		 *   lVar15 = **(long **)(lVar9 + 0xb8);
		 *   if (lVar15 == 0) goto LAB_033b2cdc;
		 *   if (*(int *)(lVar15 + 0x24) <= lVar13) {
		 *     if (*(int *)(lVar9 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *       lVar15 = **(long **)(*plVar21 + 0xb8);
		 *       if (lVar15 == 0) goto LAB_033b2cdc;
		 *     }
		 *     puVar8 = PTR_DAT_070c2588;
		 *     uVar20 = *(int *)(lVar15 + 0x14) * (uVar20 ^ uVar20 >> 0xf);
		 *     uVar20 = (uVar20 ^ uVar20 >> 0xd) * *(int *)(lVar15 + 0x18);
		 *     if ((bRam000000000755113e & 1) == 0) {
		 *       func_0x031fdc8c(PTR_DAT_070c2588,0);
		 *       bRam000000000755113e = 1;
		 *     }
		 *     pvVar10 = (void *)func_0x031fdd78(*(undefined8 *)puVar8,4);
		 *     if (pvVar10 != null) {
		 *       if (*(int *)((long)pvVar10 + 0x18) != 0) {
		 *         *(uint *)((long)pvVar10 + 0x20) = uVar20 ^ uVar20 >> 0x10;
		 *         return pvVar10;
		 *       }
		 *       IL2CPP.ThrowIndexOutOfRangeException();
		 *     }
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   if (buf == null) goto LAB_033b2cdc;
		 *   if (*(uint *)((long)buf + 0x18) <= (uint)lVar13) {
		 * LAB_033b2cd8:
		 *     IL2CPP.ThrowIndexOutOfRangeException();
		 *   }
		 *   bVar7 = *(byte *)((long)buf + lVar13 + 0x20);
		 *   if (*(int *)(lVar9 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     lVar9 = *plVar21;
		 *     lVar15 = **(long **)(lVar9 + 0xb8);
		 *     if (lVar15 == 0) goto LAB_033b2cdc;
		 *   }
		 *   lVar13 = lVar13 + 1;
		 *   uVar20 = uVar20 + *(int *)(lVar15 + 0x20) * (uint)bVar7;
		 *   uVar20 = (uVar20 >> 0x15 | uVar20 * 0x800) * *(int *)(lVar15 + 0x10);
		 *   goto LAB_033b2c0c;
		 */
		// RVA: 0x32B2CE0 VA: 0x781899DCE0
		public string DecodeString(string encrypted);
		/*
		 *   void *this_00;
		 *   void *message;
		 *   undefined8 uVar1;
		 *
		 *   func_0x031fdca0(typeinfo_ptr_mscorlib_Exception_6FC0B50);
		 *   this_00 = (void *)func_0x031fdf24();
		 *   message = (void *)func_0x031fdca0(PTR_DAT_070c6840);
		 *   System.Exception..ctor(this_00,message);
		 *   uVar1 = func_0x031fdca0(PTR_DAT_070c6908);
		 *   IL2CPP.ThrowManagedException();
		 */
		// RVA: 0x32B2D2C VA: 0x781899DD2C
		public System.Byte[] DecodeBinary(System.Byte[] src);
		/*
		 *   void *this_00;
		 *   void *message;
		 *   undefined8 uVar1;
		 *
		 *   func_0x031fdca0(typeinfo_ptr_mscorlib_Exception_6FC0B50);
		 *   this_00 = (void *)func_0x031fdf24();
		 *   message = (void *)func_0x031fdca0(PTR_DAT_070c6840);
		 *   System.Exception..ctor(this_00,message);
		 *   uVar1 = func_0x031fdca0(PTR_DAT_070c6910);
		 *   IL2CPP.ThrowManagedException();
		 */
		// RVA: 0x32B2D78 VA: 0x781899DD78
		private static void .cctor();
		/*
		 *   undefined8 uVar1;
		 *   undefined8 uVar2;
		 *   undefined *puVar3;
		 *   undefined *puVar4;
		 *   void *this;
		 *   ulong uVar5;
		 *
		 *   puVar4 = PTR_DAT_070c6918;
		 *   puVar3 = PTR_DAT_070c6900;
		 *   if ((bRam000000000754afb6 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c6918);
		 *     func_0x031fdc8c(PTR_DAT_070c6900);
		 *     bRam000000000754afb6 = 1;
		 *   }
		 *   this = (void *)func_0x031fdf24(*(undefined8 *)puVar4);
		 *   uVar2 = _UNK_0134ded8;
		 *   uVar1 = _UNK_0134bf30;
		 *   *(undefined8 *)((long)this + 0x18) = _UNK_0134bf38;
		 *   *(undefined8 *)((long)this + 0x10) = uVar1;
		 *   *(undefined8 *)((long)this + 0x20) = uVar2;
		 *   System.Object..ctor(this);
		 *   **(undefined8 **)(*(long *)puVar3 + 0xb8) = this;
		 *   uVar5 = *(ulong *)(*(long *)puVar3 + 0xb8);
		 *   if (iRam00000000077785f0 != 0) {
		 *     func_0x032ed0c0(1L << (uVar5 >> 0xc & 0x3f),(uVar5 >> 0x12 & 0x7fff) * 8 + 0x75ac5c8);
		 *   }
		 *   return;
		 */
	}
}
