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

public class Class490 implements Iterable {
	Class507[] aClass507Array6628;
	static Class279 aClass279_6629;

	public Class507 method11116(int i, int i_0_) {
		return ((Class490) this).aClass507Array6628[i];
	}

	void method11117(Class587_Sub4 class587_sub4, int i) {
		for (;;) {
			int i_1_ = class587_sub4.method14349(-1130636365);
			if (i_1_ == 0)
				break;
			if (i_1_ == 1) {
				int i_2_ = class587_sub4.method14349(-1130636365);
				int i_3_ = 0;
				LinkedList linkedlist = new LinkedList();
				for (int i_4_ = 0; i_4_ < i_2_; i_4_++) {
					int i_5_ = class587_sub4.method14349(-1130636365);
					int i_6_ = class587_sub4.method14191((byte) -55);
					int i_7_ = class587_sub4.method14349(-1130636365);
					boolean bool = (i_7_ & 0x1) != 0;
					int i_8_ = 0;
					if (0 != (i_7_ & 0x2))
						i_8_ = class587_sub4.method14349(-1130636365);
					boolean bool_9_ = class587_sub4.method14349(-1130636365) == 1;
					linkedlist.add(new Class507(i_5_, i_6_, bool, bool_9_, i_8_));
					if (i_5_ > i_3_)
						i_3_ = i_5_;
				}
				((Class490) this).aClass507Array6628 = new Class507[1 + i_3_];
				Iterator iterator = linkedlist.iterator();
				while (iterator.hasNext()) {
					Class507 class507 = (Class507) iterator.next();
					((Class490) this).aClass507Array6628[class507.method11482(1323908342)] = class507;
				}
			}
		}
	}

	public int method11118(int i) {
		return ((Class490) this).aClass507Array6628.length;
	}

	public Iterator method11119() {
		return new Class514(((Class490) this).aClass507Array6628);
	}

	public Iterator iterator() {
		return new Class514(((Class490) this).aClass507Array6628);
	}

	public Class507 method11120(int i) {
		return ((Class490) this).aClass507Array6628[i];
	}

	public Iterator method11121() {
		return new Class514(((Class490) this).aClass507Array6628);
	}

	public Class490(Class279 class279) {
		byte[] is = class279.method5587((Class489.aClass489_6625.anInt6626 * -168396725), 2028895127);
		if (null == is)
			((Class490) this).aClass507Array6628 = new Class507[0];
		else
			method11117(new Class587_Sub4(is), -311917431);
	}

	public Class507 method11122(int i) {
		return ((Class490) this).aClass507Array6628[i];
	}

	static final void method11123(Class35 class35, Class118 class118, Class477 class477, int i) {
		String string = (String) (((Class477) class477).anObjectArray6499[(((Class477) class477).anInt6500 -= 1803340247) * -443336217]);
		if (Class259.method5137(string, class477, 1044799676) != null)
			string = string.substring(0, string.length() - 1);
		class35.anObjectArray563 = Class188.method3960(string, class477, (byte) 4);
		class35.aBool448 = true;
	}

	static final void method11124(Class477 class477, byte i) {
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub32_8630.method14117(-575443319) ? 1 : 0;
	}

	public static String[] method11125(String string, char c, int i) {
		int i_10_ = Class241.method4980(string, c, (byte) 108);
		String[] strings = new String[1 + i_10_];
		int i_11_ = 0;
		int i_12_ = 0;
		for (int i_13_ = 0; i_13_ < i_10_; i_13_++) {
			int i_14_;
			for (i_14_ = i_12_; string.charAt(i_14_) != c; i_14_++) {
				/* empty */
			}
			strings[i_11_++] = string.substring(i_12_, i_14_);
			i_12_ = i_14_ + 1;
		}
		strings[i_10_] = string.substring(i_12_);
		return strings;
	}

	public static Class307 method11126(Class587_Sub4 class587_sub4, byte i) {
		Class307 class307 = Class497_Sub1_Sub3_Sub5.method17464(class587_sub4, (short) 26579);
		int i_15_ = class587_sub4.method14408(1097722201);
		int i_16_ = class587_sub4.method14408(1097722201);
		int i_17_ = class587_sub4.method14227(-1702569312);
		return new Class307_Sub1(class307.aClass387_4623, class307.aClass390_4620, 1692985189 * class307.anInt4621, -1643264885 * class307.anInt4619, class307.anInt4622 * -1625577375, class307.anInt4624 * -827947683, class307.anInt4627 * -172735191, -1299627293 * class307.anInt4626, 3864871 * class307.anInt4625, i_15_, i_16_, i_17_);
	}

	static void method11127(int i, int i_18_, int i_19_, byte i_20_) {
		Class587_Sub34_Sub2 class587_sub34_sub2 = Class488_Sub1.method14158(11, (long) i);
		class587_sub34_sub2.method16879((byte) -31);
		((Class587_Sub34_Sub2) class587_sub34_sub2).anInt10660 = i_18_ * 889228231;
		((Class587_Sub34_Sub2) class587_sub34_sub2).anInt10646 = i_19_ * 849630399;
	}
}
