Beispiel #1
0
        // Token: 0x060001FB RID: 507 RVA: 0x00008470 File Offset: 0x00006670
        private static object parseBinary(int objRef)
        {
            byte b   = Plist.objectTable[Plist.offsetTable[objRef]];
            int  num = (int)(b & 240);

            if (num == 0)
            {
                if (true)
                {
                    return(Plist.objectTable[Plist.offsetTable[objRef]] != 0 && Plist.objectTable[Plist.offsetTable[objRef]] == 9);
                }
            }
            else if (num == 16)
            {
                if (true)
                {
                    return(Plist.parseBinaryInt(Plist.offsetTable[objRef]));
                }
            }
            else if (num == 32)
            {
                if (true)
                {
                    return(Plist.parseBinaryReal(Plist.offsetTable[objRef]));
                }
            }
            else if (num == 48)
            {
                if (true)
                {
                    return(Plist.parseBinaryDate(Plist.offsetTable[objRef]));
                }
            }
            else if (num == 64)
            {
                if (true)
                {
                    return(Plist.parseBinaryByteArray(Plist.offsetTable[objRef]));
                }
            }
            else if (num == 80)
            {
                if (true)
                {
                    return(Plist.parseBinaryAsciiString(Plist.offsetTable[objRef]));
                }
            }
            else if (num == 96)
            {
                if (true)
                {
                    return(Plist.parseBinaryUnicodeString(Plist.offsetTable[objRef]));
                }
            }
            else if (num == 208)
            {
                if (true)
                {
                    return(Plist.parseBinaryDictionary(objRef));
                }
            }
            else if (num == 160 && true)
            {
                return(Plist.parseBinaryArray(objRef));
            }
            throw new Exception("This type is not supported");
        }