/* Class341 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Image;
import java.awt.MediaTracker;
import java.awt.Toolkit;
import java.awt.image.PixelGrabber;

public abstract class Class341
{
    public static TwitchEventLiveStreams aTwitchEventLiveStreams3639;
    
    abstract Object method4324(Class347 class347);
    
    public abstract void method4325(short i);
    
    public abstract Object method4326(int i, int i_0_, Class339 class339,
				      Class346 class346, int i_1_, float f,
				      int i_2_);
    
    public abstract void method4327(Object object, int i);
    
    Class341() {
	/* empty */
    }
    
    public abstract int method4328(Object object, int i);
    
    public abstract Class444 method4329(Class447 class447, int i);
    
    abstract Object method4330(Class347 class347, byte i);
    
    public abstract void method4331(Object object);
    
    public abstract Object method4332(int i, int i_3_, Class339 class339,
				      Class346 class346, int i_4_, float f);
    
    public abstract void method4333();
    
    public abstract int method4334(Object object);
    
    public abstract int method4335(Object object);
    
    public abstract Class334 method4336(byte i);
    
    public abstract Object method4337(int i, int i_5_, Class339 class339,
				      Class346 class346, int i_6_, float f);
    
    public abstract Object method4338(int i, int i_7_, Class339 class339,
				      Class346 class346, int i_8_, float f);
    
    public abstract Object method4339(int i, int i_9_, Class339 class339,
				      Class346 class346, int i_10_, float f);
    
    public abstract void method4340(Object object, byte[] is, int i, int i_11_,
				    int i_12_);
    
    public abstract void method4341(Object object);
    
    public abstract void method4342(Object object);
    
    public abstract void method4343(Object object, byte[] is, int i,
				    int i_13_);
    
    public abstract void method4344(Object object, byte[] is, int i,
				    int i_14_);
    
    public abstract Class444 method4345(Class447 class447);
    
    abstract Object method4346(Class347 class347);
    
    public abstract Class334 method4347();
    
    public abstract void method4348();
    
    public abstract void method4349(int i);
    
    public abstract Class334 method4350();
    
    public abstract Class334 method4351();
    
    static final void method4352(Class612 class612, int i) {
	Class625 class625 = (((Class612) class612).aBool8038
			     ? ((Class612) class612).aClass625_8045
			     : ((Class612) class612).aClass625_8029);
	Class211 class211 = ((Class625) class625).aClass211_8099;
	Class203 class203 = ((Class625) class625).aClass203_8100;
	Class330.method4307(class211, class203, class612, 1224650786);
    }
    
    static final void method4353(Class612 class612, int i) {
	if (null != Class662_Sub6.aClass290_10621) {
	    ((Class612) class612).anIntArray8021
		[((((Class612) class612).anInt8022 += 201091009) * -40654783
		  - 1)]
		= 1;
	    ((Class612) class612).aClass290_8032
		= Class662_Sub6.aClass290_10621;
	    ((Class612) class612).aMap8037.put
		(Class430.aClass430_5009,
		 Class602.method7332(((Class612) class612).aClass290_8032,
				     (byte) -51));
	} else
	    ((Class612) class612).anIntArray8021
		[((((Class612) class612).anInt8022 += 201091009) * -40654783
		  - 1)]
		= 0;
    }
    
    static final void method4354(Class612 class612, int i) {
	Class277.method3800(1688049417);
    }
    
    public static final int method4355(int i, int i_15_, int i_16_,
				       int i_17_) {
	if (client.aClass452_10749.method5545((byte) 0) == null)
	    return 0;
	int i_18_ = i >> 9;
	int i_19_ = i_15_ >> 9;
	if (i_18_ < 0 || i_19_ < 0
	    || i_18_ > client.aClass452_10749.method5543(-236151402) - 1
	    || i_19_ > client.aClass452_10749.method5501(47639270) - 1)
	    return 0;
	int i_20_ = i_16_;
	if (i_20_ < 3 && ((client.aClass452_10749.method5576((byte) 12)
			   .aByteArrayArrayArray5035[1][i_18_][i_19_])
			  & 0x2) != 0)
	    i_20_++;
	return client.aClass452_10749.method5545((byte) 0)
		   .aClass132Array6865[i_20_].method1684(i, i_15_, 2087090647);
    }
    
    static Class114 method4356(byte[] is, byte i) {
	if (null == is)
	    throw new RuntimeException("");
	Class114 class114;
	for (;;) {
	    try {
		Image image = Toolkit.getDefaultToolkit().createImage(is);
		MediaTracker mediatracker
		    = new MediaTracker(Class659.anApplet8402);
		mediatracker.addImage(image, 0);
		mediatracker.waitForAll();
		int i_21_ = image.getWidth(Class659.anApplet8402);
		int i_22_ = image.getHeight(Class659.anApplet8402);
		if (mediatracker.isErrorAny() || i_21_ < 0 || i_22_ < 0)
		    throw new RuntimeException("");
		int[] is_23_ = new int[i_21_ * i_22_];
		PixelGrabber pixelgrabber
		    = new PixelGrabber(image, 0, 0, i_21_, i_22_, is_23_, 0,
				       i_21_);
		pixelgrabber.grabPixels();
		class114 = Class463.aClass151_5283.method2067(is_23_, 0, i_21_,
							      i_21_, i_22_,
							      16711680);
		break;
	    } catch (InterruptedException interruptedexception) {
		/* empty */
	    }
	}
	return class114;
    }
    
    public static void method4357(int i, int i_24_) {
	Class487_Sub35_Sub7 class487_sub35_sub7
	    = Exception_Sub3.method10133(15, (long) i);
	class487_sub35_sub7.method10341((short) -8121);
    }
}
