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

public class Class346
{
    public static Class346 aClass346_3674;
    public static Class346 aClass346_3675 = new Class346();
    
    Class346() {
	/* empty */
    }
    
    static {
	aClass346_3674 = new Class346();
    }
    
    public static Class368[] method4372(byte i) {
	return (new Class368[]
		{ Class368.aClass368_4077, Class368.aClass368_4078,
		  Class368.aClass368_4079 });
    }
    
    public static int method4373(CharSequence charsequence, int i) {
	int i_0_ = charsequence.length();
	int i_1_ = 0;
	for (int i_2_ = 0; i_2_ < i_0_; i_2_++) {
	    char c = charsequence.charAt(i_2_);
	    if (c <= '\u007f')
		i_1_++;
	    else if (c <= '\u07ff')
		i_1_ += 2;
	    else
		i_1_ += 3;
	}
	return i_1_;
    }
    
    static final void method4374(Class612 class612, int i) {
	int i_3_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	Class211 class211 = Class156.method2513(i_3_, (short) -9490);
	Class203 class203 = Class163_Sub20.aClass203Array9719[i_3_ >> 16];
	Class537.method6570(class211, class203, class612, (short) 1008);
    }
    
    static final void method4375(Class612 class612, int i) {
	((Class612) class612).anIntArray8021
	    [(((Class612) class612).anInt8022 += 201091009) * -40654783 - 1]
	    = Class447.aClass487_Sub42_5156.aClass637_Sub17_10489
		  .method9748(447909109) ? 1 : 0;
    }
    
    static final void method4376(Class612 class612, byte i) {
	int i_4_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	((Class612) class612).anIntArray8021
	    [(((Class612) class612).anInt8022 += 201091009) * -40654783 - 1]
	    = (int) (Math.random() * (double) i_4_);
    }
    
    public static Class487_Sub34 method4377(byte i) {
	if (Class497_Sub1.aClass656_6788 == null
	    || null == Class497_Sub1.aClass647_10466)
	    return null;
	for (Class487_Sub34 class487_sub34
		 = (Class487_Sub34) Class497_Sub1.aClass647_10466.next();
	     class487_sub34 != null;
	     class487_sub34
		 = (Class487_Sub34) Class497_Sub1.aClass647_10466.next()) {
	    Class210 class210
		= ((Class210)
		   (Class497_Sub1.aClass662_Sub9_6770.method31
		    (923654319 * class487_sub34.anInt10313, 1378556846)));
	    if (null != class210 && class210.aBool2213
		&& class210.method3039(Class497_Sub1.anInterface14_6773,
				       Class497_Sub1.anInterface13_6772,
				       1378135942))
		return class487_sub34;
	}
	return null;
    }
    
    public static void method4378(int i, int i_5_) {
	Class487_Sub35_Sub7 class487_sub35_sub7
	    = Exception_Sub3.method10133(9, (long) i);
	class487_sub35_sub7.method10341((short) -5077);
    }
}
