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

class Class130 implements Runnable
{
    Class341_Sub2 this$0;
    public static Class274 aClass274_1539;
    
    Class130(Class341_Sub2 class341_sub2) {
	((Class130) this).this$0 = class341_sub2;
    }
    
    public void run() {
	try {
	    while (!((Class341_Sub2) ((Class130) this).this$0).aBool10025) {
		HashMap hashmap
		    = ((Class130) this).this$0.method9024(-457331872);
		Iterator iterator = hashmap.keySet().iterator();
		while (iterator.hasNext()) {
		    Class447 class447 = (Class447) iterator.next();
		    if (!class447.aBool5155) {
			Class444[] class444s
			    = (Class444[]) hashmap.get(class447);
			for (int i = 0; i < class444s.length; i++)
			    class444s[i].method5455(-1112786543);
		    }
		}
		Class118.method1565(50L);
	    }
	} catch (Exception exception) {
	    Class430_Sub3.method8950(null, exception, -581084906);
	}
    }
    
    public void method1667() {
	try {
	    while (!((Class341_Sub2) ((Class130) this).this$0).aBool10025) {
		HashMap hashmap
		    = ((Class130) this).this$0.method9024(-1316435809);
		Iterator iterator = hashmap.keySet().iterator();
		while (iterator.hasNext()) {
		    Class447 class447 = (Class447) iterator.next();
		    if (!class447.aBool5155) {
			Class444[] class444s
			    = (Class444[]) hashmap.get(class447);
			for (int i = 0; i < class444s.length; i++)
			    class444s[i].method5455(667479354);
		    }
		}
		Class118.method1565(50L);
	    }
	} catch (Exception exception) {
	    Class430_Sub3.method8950(null, exception, -1936405663);
	}
    }
    
    public void method1668() {
	try {
	    while (!((Class341_Sub2) ((Class130) this).this$0).aBool10025) {
		HashMap hashmap
		    = ((Class130) this).this$0.method9024(-440584448);
		Iterator iterator = hashmap.keySet().iterator();
		while (iterator.hasNext()) {
		    Class447 class447 = (Class447) iterator.next();
		    if (!class447.aBool5155) {
			Class444[] class444s
			    = (Class444[]) hashmap.get(class447);
			for (int i = 0; i < class444s.length; i++)
			    class444s[i].method5455(-723770010);
		    }
		}
		Class118.method1565(50L);
	    }
	} catch (Exception exception) {
	    Class430_Sub3.method8950(null, exception, -1293156617);
	}
    }
    
    static final void method1669(Class211 class211, Class203 class203,
				 Class612 class612, int i) {
	((Class612) class612).anInt8022 -= 402182018;
	class211.anInt2268
	    = (((Class612) class612).anIntArray8021
	       [-40654783 * ((Class612) class612).anInt8022]) * 1783458109;
	if (-1787185643 * class211.anInt2268
	    > class211.anInt2417 * 547576569 - 1280928277 * class211.anInt2258)
	    class211.anInt2268 = (class211.anInt2417 * 1042402901
				  - class211.anInt2258 * 2015486977);
	if (-1787185643 * class211.anInt2268 < 0)
	    class211.anInt2268 = 0;
	class211.anInt2269
	    = ((((Class612) class612).anIntArray8021
		[1 + -40654783 * ((Class612) class612).anInt8022])
	       * -1146230691);
	if (-1575146507 * class211.anInt2269
	    > (class211.anInt2271 * -2016080461
	       - class211.anInt2408 * 560325403))
	    class211.anInt2269 = (class211.anInt2271 * 1875325447
				  - -1441597233 * class211.anInt2408);
	if (-1575146507 * class211.anInt2269 < 0)
	    class211.anInt2269 = 0;
	Class67_Sub1_Sub2.method10127(class211, (short) 492);
	if (class211.anInt2245 * 741091239 == -1 && !class203.aBool2136)
	    Class279.method3815(class211.anInt2393 * -612115075, 901779687);
    }
    
    public static short method1670(int i, byte i_0_) {
	int i_1_ = i >> 10 & 0x3f;
	int i_2_ = i >> 3 & 0x70;
	int i_3_ = i & 0x7f;
	i_2_ = i_3_ <= 64 ? i_3_ * i_2_ >> 7 : i_2_ * (127 - i_3_) >> 7;
	int i_4_ = i_2_ + i_3_;
	int i_5_;
	if (0 != i_4_)
	    i_5_ = (i_2_ << 8) / i_4_;
	else
	    i_5_ = i_2_ << 1;
	int i_6_ = i_4_;
	return (short) (i_1_ << 10 | i_5_ >> 4 << 7 | i_6_);
    }
    
    public static TwitchWebcamDevice method1671(int i, int i_7_) {
	if (null == Class545.aTwitchWebcamDeviceArray7390)
	    return null;
	for (int i_8_ = 0; i_8_ < Class545.aTwitchWebcamDeviceArray7390.length;
	     i_8_++) {
	    if (i == (Class545.aTwitchWebcamDeviceArray7390[i_8_].anInt909
		      * 224756373))
		return Class545.aTwitchWebcamDeviceArray7390[i_8_];
	}
	return null;
    }
    
    static final void method1672(Class211 class211, Class203 class203,
				 Class612 class612, int i) {
	int i_9_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	int i_10_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	if (i_10_ >= 1 && i_10_ <= 10)
	    class211.method3060(i_10_ - 1, i_9_, -1535965140);
    }
}
