예제 #1
0
        public override object vmethod_0(OggClass5 class490, OggClass3 class380)
        {
            var num    = 0;
            var @class = new Class40();

            @class.Int0 = class380.method_6(24);
            @class.Int1 = class380.method_6(24);
            @class.Int2 = class380.method_6(24) + 1;
            @class.Int3 = class380.method_6(6) + 1;
            @class.Int4 = class380.method_6(8);
            for (var i = 0; i < @class.Int3; i++)
            {
                var num2 = class380.method_6(3);
                if (class380.method_6(1) != 0)
                {
                    num2 |= class380.method_6(5) << 3;
                }
                @class.Int5[i] = num2;
                num           += smethod_3(num2);
            }
            for (var j = 0; j < num; j++)
            {
                @class.Int6[j] = class380.method_6(8);
            }
            if (@class.Int4 >= class490.Int19)
            {
                vmethod_2(@class);
                return(null);
            }
            for (var k = 0; k < num; k++)
            {
                if (@class.Int6[k] >= class490.Int19)
                {
                    vmethod_2(@class);
                    return(null);
                }
            }
            return(@class);
        }
예제 #2
0
        public override object vmethod_0(OggClass5 class490, OggClass3 class380)
        {
            var @class = new Class36();

            @class.Int0 = class380.method_6(8);
            @class.Int1 = class380.method_6(16);
            @class.Int2 = class380.method_6(16);
            @class.Int3 = class380.method_6(6);
            @class.Int4 = class380.method_6(8);
            @class.Int5 = class380.method_6(4) + 1;
            if (@class.Int0 >= 1 && @class.Int1 >= 1 && @class.Int2 >= 1 && @class.Int5 >= 1)
            {
                for (var i = 0; i < @class.Int5; i++)
                {
                    @class.Int6[i] = class380.method_6(8);
                    if (@class.Int6[i] < 0 || @class.Int6[i] >= class490.Int19)
                    {
                        return(null);
                    }
                }
                return(@class);
            }
            return(null);
        }
예제 #3
0
파일: Class29.cs 프로젝트: uwx/Open-GHTCP
        public override object vmethod_0(OggClass5 class490, OggClass3 class380)
        {
            var num    = 0;
            var num2   = -1;
            var @class = new Class31();

            @class.Int0 = class380.method_6(5);
            for (var i = 0; i < @class.Int0; i++)
            {
                @class.Int1[i] = class380.method_6(4);
                if (num2 < @class.Int1[i])
                {
                    num2 = @class.Int1[i];
                }
            }
            for (var j = 0; j < num2 + 1; j++)
            {
                @class.Int2[j] = class380.method_6(3) + 1;
                @class.Int3[j] = class380.method_6(2);
                if (@class.Int3[j] < 0)
                {
                    @class.method_0();
                    return(null);
                }
                if (@class.Int3[j] != 0)
                {
                    @class.Int4[j] = class380.method_6(8);
                }
                if (@class.Int4[j] < 0 || @class.Int4[j] >= class490.Int19)
                {
                    @class.method_0();
                    return(null);
                }
                for (var k = 0; k < 1 << @class.Int3[j]; k++)
                {
                    @class.Int5[j][k] = class380.method_6(8) - 1;
                    if (@class.Int5[j][k] < -1 || @class.Int5[j][k] >= class490.Int19)
                    {
                        @class.method_0();
                        return(null);
                    }
                }
            }
            @class.Int6 = class380.method_6(2) + 1;
            var num3 = class380.method_6(4);
            var l    = 0;
            var m    = 0;

            while (l < @class.Int0)
            {
                num += @class.Int2[@class.Int1[l]];
                while (m < num)
                {
                    var num4 = @class.Int7[m + 2] = class380.method_6(num3);
                    if (num4 < 0 || num4 >= 1 << num3)
                    {
                        @class.method_0();
                        return(null);
                    }
                    m++;
                }
                l++;
            }
            @class.Int7[0] = 0;
            @class.Int7[1] = 1 << num3;
            return(@class);
        }