// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

import sign.signlink;

public class Class31_Sub3_Sub3_Sub4_Sub1 extends Class31_Sub3_Sub3_Sub4
{

    public Class31_Sub3_Sub3_Sub2 method499(boolean flag)
    {
        if(super.anInt1674 >= 0 && super.anInt1677 == 0)
        {
            int i = Class8.aClass8Array140[super.anInt1674].anIntArray142[super.anInt1675];
            int k = -1;
            if(super.anInt1661 >= 0 && super.anInt1661 != super.anInt1647)
                k = Class8.aClass8Array140[super.anInt1661].anIntArray142[super.anInt1662];
            return aClass45_1711.method592(k, (byte)0, i, Class8.aClass8Array140[super.anInt1674].anIntArray146);
        }
        int j = -1;
        if(!flag)
            aBoolean1710 = !aBoolean1710;
        if(super.anInt1661 >= 0)
            j = Class8.aClass8Array140[super.anInt1661].anIntArray142[super.anInt1662];
        return aClass45_1711.method592(-1, (byte)0, j, null);
    }

    public Class31_Sub3_Sub3_Sub2 method461(byte byte0)
    {
        if(aClass45_1711 == null)
            return null;
        Class31_Sub3_Sub3_Sub2 class31_sub3_sub3_sub2 = method499(true);
        if(byte0 != -99)
            throw new NullPointerException();
        if(class31_sub3_sub3_sub2 == null)
            return null;
        super.anInt1652 = ((Class31_Sub3_Sub3) (class31_sub3_sub3_sub2)).anInt1454;
        if(super.anInt1627 != -1 && super.anInt1628 != -1)
        {
            Class3 class3 = Class3.aClass3Array73[super.anInt1627];
            Class31_Sub3_Sub3_Sub2 class31_sub3_sub3_sub2_1 = class3.method159();
            if(class31_sub3_sub3_sub2_1 != null)
            {
                int i = class3.aClass8_77.anIntArray142[super.anInt1628];
                Class31_Sub3_Sub3_Sub2 class31_sub3_sub3_sub2_2 = new Class31_Sub3_Sub3_Sub2(Class32.method509(i, true), class31_sub3_sub3_sub2_1, false, false, true);
                class31_sub3_sub3_sub2_2.method480(0, -super.anInt1631, false, 0);
                class31_sub3_sub3_sub2_2.method474(166);
                class31_sub3_sub3_sub2_2.method475(257, i);
                class31_sub3_sub3_sub2_2.anIntArrayArray1575 = null;
                class31_sub3_sub3_sub2_2.anIntArrayArray1574 = null;
                if(class3.anInt80 != 128 || class3.anInt81 != 128)
                    class31_sub3_sub3_sub2_2.method483(class3.anInt80, -39776, class3.anInt81, class3.anInt80);
                class31_sub3_sub3_sub2_2.method484(64 + class3.anInt83, 850 + class3.anInt84, -30, -50, -30, true);
                Class31_Sub3_Sub3_Sub2 aclass31_sub3_sub3_sub2[] = {
                    class31_sub3_sub3_sub2, class31_sub3_sub3_sub2_2
                };
                class31_sub3_sub3_sub2 = new Class31_Sub3_Sub3_Sub2(153, true, 2, aclass31_sub3_sub3_sub2);
            }
        }
        if(aClass45_1711.aByte706 == 1)
            class31_sub3_sub3_sub2.aBoolean1576 = true;
        return class31_sub3_sub3_sub2;
    }

    public boolean method496(int i)
    {
        if(i != 21781)
        {
            for(int j = 1; j > 0; j++);
        }
        return aClass45_1711 != null;
    }

    public Class31_Sub3_Sub3_Sub4_Sub1()
    {
        aBoolean1710 = true;
    }

    public boolean aBoolean1710;
    public Class45 aClass45_1711;
}
