/* Class508 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.Random;

public class Class508
{
    static Class424 aClass424_6750;
    public int anInt6751;
    
    public Class508(int i) {
	anInt6751 = i * -1914291129;
    }
    
    static final void method11522(Class479 class479, int i) {
	int i_0_ = (((Class479) class479).anIntArray6435
		    [((((Class479) class479).anInt6442 -= -1158629699)
		      * -117934955)]);
	Class117 class117 = Class70.method1756(i_0_, (byte) 6);
	Class116 class116 = Class211.aClass116Array2498[i_0_ >> 16];
	Class549.method12075(class117, class116, class479, (byte) -21);
    }
    
    static final void method11523(Class479 class479, int i) {
	Class465 class465 = (((Class479) class479).aBool6460
			     ? ((Class479) class479).aClass465_6445
			     : ((Class479) class479).aClass465_6443);
	Class117 class117 = ((Class465) class465).aClass117_6364;
	Class116 class116 = ((Class465) class465).aClass116_6363;
	Class177.method3911(class117, class116, class479, -1285815303);
    }
    
    static int method11524(byte i) {
	return 13;
    }
    
    public static int method11525(Random random, int i, byte i_1_) {
	if (null == random) {
	    random = Class629.aRandom8097;
	    if (null == random) {
		synchronized (Class629.anObject8096) {
		    if (null == Class629.aRandom8097)
			Class629.aRandom8097 = new Random();
		    random = Class629.aRandom8097;
		}
	    }
	}
	if (i <= 0)
	    throw new IllegalArgumentException();
	if (Class192.method4113(i, 3816494))
	    return (int) (((long) random.nextInt() & 0xffffffffL) * (long) i
			  >> 32);
	int i_2_ = -2147483648 - (int) (4294967296L % (long) i);
	int i_3_;
	do
	    i_3_ = random.nextInt();
	while (i_3_ >= i_2_);
	return Class586.method12846(i_3_, i, 2038372770);
    }
}
