/* Class221 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

public abstract class Class221 implements Interface72
{
    Class178 aClass178_2569;
    Class411 aClass411_2570;
    static int anInt2571;
    
    Class221(Class411 class411, int i) {
	((Class221) this).aClass411_2570 = class411;
	((Class221) this).aClass178_2569 = new Class178(i);
    }
    
    public static int method3220(int i, int i_0_, int i_1_) {
	i_0_ = i_0_ * (i & 0x7f) >> 7;
	if (i_0_ < 2)
	    i_0_ = 2;
	else if (i_0_ > 126)
	    i_0_ = 126;
	return (i & 0xff80) + i_0_;
    }
    
    static final void method3221(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;
	Class372.method4556(class211, class203, class612, 121600061);
    }
    
    public static int method3222(int i, int i_2_, int i_3_, int i_4_) {
	int i_5_ = 255 - i_3_;
	i_2_ = (i_3_ * (i_2_ & 0xff00ff) & ~0xff00ff
		| i_3_ * (i_2_ & 0xff00) & 0xff0000) >>> 8;
	return ((((i & 0xff00ff) * i_5_ & ~0xff00ff
		  | (i & 0xff00) * i_5_ & 0xff0000)
		 >>> 8)
		+ i_2_);
    }
}
