/* Class501 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.Iterator;
import java.util.LinkedList;

public class Class501 implements Iterable
{
    Class507[] aClass507Array6671;
    public static Class243_Sub38 aClass243_Sub38_6672;
    
    public int method11379() {
	return ((Class501) this).aClass507Array6671.length;
    }
    
    public Class507 method11380(int i) {
	return ((Class501) this).aClass507Array6671[i];
    }
    
    public int method11381() {
	return ((Class501) this).aClass507Array6671.length;
    }
    
    public Class507 method11382(int i, byte i_0_) {
	return ((Class501) this).aClass507Array6671[i];
    }
    
    public Iterator method11383() {
	return new Class502(((Class501) this).aClass507Array6671);
    }
    
    public int method11384(int i) {
	return ((Class501) this).aClass507Array6671.length;
    }
    
    public Iterator method11385() {
	return new Class502(((Class501) this).aClass507Array6671);
    }
    
    void method11386(Class243_Sub10 class243_sub10) {
	for (;;) {
	    int i = class243_sub10.method14878((byte) -3);
	    if (0 == i)
		break;
	    if (1 == i) {
		int i_1_ = class243_sub10.method14878((byte) -55);
		int i_2_ = 0;
		LinkedList linkedlist = new LinkedList();
		for (int i_3_ = 0; i_3_ < i_1_; i_3_++) {
		    int i_4_ = class243_sub10.method14878((byte) -91);
		    int i_5_ = class243_sub10.method14908((byte) -76);
		    int i_6_ = class243_sub10.method14878((byte) -32);
		    boolean bool = 0 != (i_6_ & 0x1);
		    int i_7_ = 0;
		    if (0 != (i_6_ & 0x2))
			i_7_ = class243_sub10.method14878((byte) 24);
		    boolean bool_8_
			= class243_sub10.method14878((byte) -5) == 1;
		    linkedlist.add(new Class507(i_4_, i_5_, bool, bool_8_,
						i_7_));
		    if (i_4_ > i_2_)
			i_2_ = i_4_;
		}
		((Class501) this).aClass507Array6671 = new Class507[i_2_ + 1];
		Iterator iterator = linkedlist.iterator();
		while (iterator.hasNext()) {
		    Class507 class507 = (Class507) iterator.next();
		    ((Class501) this).aClass507Array6671
			[class507.method11487(2044858629)]
			= class507;
		}
	    }
	}
    }
    
    public Iterator iterator() {
	return new Class502(((Class501) this).aClass507Array6671);
    }
    
    public int method11387() {
	return ((Class501) this).aClass507Array6671.length;
    }
    
    public Class507 method11388(int i) {
	return ((Class501) this).aClass507Array6671[i];
    }
    
    void method11389(Class243_Sub10 class243_sub10, short i) {
	for (;;) {
	    int i_9_ = class243_sub10.method14878((byte) 43);
	    if (0 == i_9_)
		break;
	    if (1 == i_9_) {
		int i_10_ = class243_sub10.method14878((byte) -62);
		int i_11_ = 0;
		LinkedList linkedlist = new LinkedList();
		for (int i_12_ = 0; i_12_ < i_10_; i_12_++) {
		    int i_13_ = class243_sub10.method14878((byte) 14);
		    int i_14_ = class243_sub10.method14908((byte) -102);
		    int i_15_ = class243_sub10.method14878((byte) 36);
		    boolean bool = 0 != (i_15_ & 0x1);
		    int i_16_ = 0;
		    if (0 != (i_15_ & 0x2))
			i_16_ = class243_sub10.method14878((byte) 34);
		    boolean bool_17_
			= class243_sub10.method14878((byte) 8) == 1;
		    linkedlist.add(new Class507(i_13_, i_14_, bool, bool_17_,
						i_16_));
		    if (i_13_ > i_11_)
			i_11_ = i_13_;
		}
		((Class501) this).aClass507Array6671 = new Class507[i_11_ + 1];
		Iterator iterator = linkedlist.iterator();
		while (iterator.hasNext()) {
		    Class507 class507 = (Class507) iterator.next();
		    ((Class501) this).aClass507Array6671
			[class507.method11487(2044858629)]
			= class507;
		}
	    }
	}
    }
    
    public Class507 method11390(int i) {
	return ((Class501) this).aClass507Array6671[i];
    }
    
    public Class501(Class272 class272) {
	byte[] is = class272.method5258((Class488.aClass488_6514.anInt6507
					 * -1253961745),
					-153638612);
	if (null == is)
	    ((Class501) this).aClass507Array6671 = new Class507[0];
	else
	    method11389(new Class243_Sub10(is), (short) -8560);
    }
    
    static final void method11391(Class479 class479, int i) {
	int i_18_ = (((Class479) class479).anIntArray6435
		     [((((Class479) class479).anInt6442 -= -1158629699)
		       * -117934955)]);
	Class117 class117 = Class70.method1756(i_18_, (byte) 12);
	Class116 class116 = Class211.aClass116Array2498[i_18_ >> 16];
	Class318.method6206(class117, class116, class479, -30870405);
    }
    
    static final void method11392(Class479 class479, byte i) {
	Class465 class465;
	if (((Class479) class479).aBool6460) {
	    if (i != -1) {
		/* empty */
	    }
	    class465 = ((Class479) class479).aClass465_6445;
	} else
	    class465 = ((Class479) class479).aClass465_6443;
	Class465 class465_19_ = class465;
	Class117 class117 = ((Class465) class465_19_).aClass117_6364;
	Class116 class116 = ((Class465) class465_19_).aClass116_6363;
	Class209.method4309(class117, class116, class479, -126379201);
    }
    
    static final void method11393(Class479 class479, short i) {
	Class465 class465 = (((Class479) class479).aBool6460
			     ? ((Class479) class479).aClass465_6445
			     : ((Class479) class479).aClass465_6443);
	Class117 class117 = ((Class465) class465).aClass117_6364;
	((Class479) class479).anObjectArray6437
	    [(((Class479) class479).anInt6432 += -1049632545) * -611591393 - 1]
	    = class117.aString1443;
    }
    
    public static final void method11394(boolean bool, int i, int i_20_) {
	Class243_Sub38 class243_sub38
	    = bool ? Class42.aClass243_Sub38_612 : aClass243_Sub38_6672;
	if (null != class243_sub38 && i >= 0
	    && i < class243_sub38.anInt9938 * 1685253077) {
	    Class63 class63 = class243_sub38.aClass63Array9935[i];
	    if (-1 == class63.aByte802) {
		String string = class63.aString804;
		Class194 class194 = Class489.method11175(1749689597);
		Class243_Sub43 class243_sub43
		    = Class529.method11818(Class326.aClass326_4922,
					   class194.aClass432_2312,
					   (short) 255);
		class243_sub43.aClass243_Sub10_Sub1_9988.method14800
		    (3 + Class601.method13120(string, 1916269746), -434552226);
		class243_sub43.aClass243_Sub10_Sub1_9988
		    .method14800(bool ? 1 : 0, -76580267);
		class243_sub43.aClass243_Sub10_Sub1_9988
		    .method14643(i, (short) -4279);
		class243_sub43.aClass243_Sub10_Sub1_9988
		    .method14652(string, (byte) -6);
		class194.method4175(class243_sub43, (byte) 52);
	    }
	}
    }
    
    static final String method11395(String string, String string_21_,
				    String string_22_, int i) {
	for (int i_23_ = string.indexOf(string_21_); -1 != i_23_;
	     i_23_ = string.indexOf(string_21_, i_23_ + string_22_.length()))
	    string
		= new StringBuilder().append(string.substring(0, i_23_)).append
		      (string_22_).append
		      (string.substring(i_23_ + string_21_.length()))
		      .toString();
	return string;
    }
}
