/* Class217 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
package com.jagex;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;

public class Class217 {
	boolean aBool2272;
	static final int anInt2273 = 8192;
	Interface58 anInterface58_2274;
	static final int anInt2275 = 8192;
	Class209 aClass209_2276;
	static final int anInt2277 = 4096;
	static final int anInt2278 = 4096;
	HashMap aHashMap2279;
	List aList2280 = new ArrayList();
	List aList2281 = new ArrayList();
	Class489 aClass489_2282;
	static final int anInt2283 = 0;
	Class437 aClass437_2284;
	Class209 aClass209_2285;
	Class209 aClass209_2286;
	boolean aBool2287;
	int anInt2288;
	static final int anInt2289 = 16384;
	Interface58 anInterface58_2290;
	int anInt2291;
	Class489 aClass489_2292;
	List aList2293;
	HashMap aHashMap2294;
	int anInt2295;
	int anInt2296;
	boolean aBool2297;
	Interface58 anInterface58_2298;
	static final int anInt2299 = 16384;
	HashMap aHashMap2300;
	Interface58 anInterface58_2301;
	public static Class472 aClass472_2302;

	void method3852() {
		Class203 class203 = new Class203(this);
		Class201 class201 = new Class201(this);
		Class221 class221 = new Class221(this);
		Class214 class214 = new Class214(this);
		Class216 class216 = new Class216(this);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2180.method3639(-1595948721), Class193.aClass193_2184.method3639(-1569139093), 0.2F, class203, (byte) -123);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2181.method3639(-1552544506), Class193.aClass193_2184.method3639(460710849), 1.0F, class201, (byte) -51);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2185.method3639(320199369), Class193.aClass193_2184.method3639(-1961529271), 1.0F, class221, (byte) -54);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2183.method3639(-1654259858), Class193.aClass193_2184.method3639(-870323355), 0.8F, class214, (byte) -30);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2179.method3639(-168671114), Class193.aClass193_2184.method3639(-429654909), 1.0F, class216, (byte) -4);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2199.method3672((byte) 64), Class193.aClass193_2181.method3639(-1332390218), 1.0F, null, (byte) -78);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2194.method3672((byte) 16), Class193.aClass193_2179.method3639(-321317946), 1.0F, null, (byte) -47);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2195.method3672((byte) 47), Class193.aClass193_2180.method3639(-1377226839), 1.0F, null, (byte) -55);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2196.method3672((byte) 52), Class193.aClass193_2180.method3639(-1360933746), 1.0F, null, (byte) -98);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2203.method3672((byte) 107), Class193.aClass193_2180.method3639(675467564), 1.0F, null, (byte) -3);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2198.method3672((byte) 121), Class193.aClass193_2180.method3639(-311240094), 1.0F, null, (byte) -13);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2197.method3672((byte) 115), Class193.aClass193_2180.method3639(-1546108243), 1.0F, null, (byte) -36);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2193.method3672((byte) 106), Class193.aClass193_2183.method3639(-884726034), 1.0F, null, (byte) -110);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2202.method3672((byte) 84), Class198.aClass198_2193.method3672((byte) 49), 1.0F, null, (byte) -55);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2201.method3672((byte) 88), Class198.aClass198_2193.method3672((byte) 71), 1.0F, null, (byte) -21);
		Class668.method13671(Class198.aClass198_2199.method3672((byte) 37), -1034692953).method6316(0.75F, (byte) 66);
	}

	public void method3853() {
		Iterator iterator = aList2281.iterator();
		while (iterator.hasNext()) {
			Class489 class489 = (Class489) iterator.next();
			if (class489.method7969(974654588) == Class189.aClass189_2145) {
				class489.method7960(500, (byte) 95);
				if (class489.method7973(737791588).method455((byte) 64) == -134435587 * anInt2291) {
					method3888(anInt2291 * -134435587, -1258633824);
					break;
				}
			}
		}
		aClass489_2292 = null;
		anInt2291 = -1255264341;
	}

	public void method3854(Class189 class189, int i, int i_0_, int i_1_, int i_2_, Class186 class186, float f, float f_3_, Class437 class437, int i_4_, int i_5_, int i_6_, int i_7_) {
		if (aBool2287) {
			Class489 class489 = method3877(class189, this, i, i_0_, i_1_, i_2_, class186, f, f_3_, class437, i_4_, i_5_, false, (short) -21199);
			if (null != class489) {
				if (0 == i_6_)
					class489.method8032(1556310587);
				else
					class489.method7980(i_6_, false, (byte) -76);
				method3864(class489, (byte) 24);
			}
		}
	}

	Class209 method3855(int i) {
		return aClass209_2286;
	}

	Class437 method3856(int i) {
		return aClass437_2284;
	}

	public Class217() {
		aHashMap2279 = new HashMap();
		aHashMap2294 = new HashMap();
		aList2293 = new ArrayList();
		aHashMap2300 = new HashMap();
		aClass489_2282 = null;
		aBool2272 = false;
		anInterface58_2298 = new Class196(this);
		anInterface58_2290 = new Class197(this);
		anInterface58_2274 = new Class188(this);
		anInterface58_2301 = new Class200(this);
	}

	public void method3857(int i, int i_8_, int i_9_) {
		if (!aBool2287) {
			anInt2288 = -1400262057 * i;
			aClass209_2285 = new Class209(i_8_, 100);
			aClass209_2286 = new Class209(10);
			aClass209_2285.method3803(new Class199(this), -1774321366);
			Class652 class652 = new Class652(Class379.aClass379_3931);
			Class268.method4902(class652, (byte) 63);
			method3904(-685081861);
			anInt2291 = -1255264341;
			aBool2287 = true;
		}
	}

	public void method3858(AnimationDefinitions class205, int i, Class647_Sub1 class647_sub1) {
		if (class205 != null && class205.handledSounds != null && i < class205.handledSounds.length && null != class205.handledSounds[i] && (class647_sub1.aByte10821 == Class241.player.aByte10821) && class647_sub1.method16710(2019846161)) {
			int i_10_ = class205.handledSounds[i][0];
			int i_11_ = i_10_ >> 8;
			int i_12_ = i_10_ >> 5 & 0x7;
			int i_13_ = i_10_ & 0x1f;
			if (class205.handledSounds[i].length > 1) {
				int i_14_ = (int) (Math.random() * (double) (class205.handledSounds[i]).length);
				if (i_14_ > 0)
					i_11_ = class205.handledSounds[i][i_14_];
			}
			int i_15_ = 256;
			if (null != class205.soundMaxDelay && null != class205.soundMinDelay)
				i_15_ = ((int) (Math.random() * (double) (class205.soundMinDelay[i] - class205.soundMaxDelay[i])) + class205.soundMaxDelay[i]);
			int i_16_ = (null == class205.anIntArray2234 ? 255 : class205.anIntArray2234[i]);
			if (i_13_ == 0) {
				if (Class241.player == class647_sub1)
					method3854(Class189.aClass189_2140, i_11_, i_12_, i_16_, Class198.aClass198_2196.method3672((byte) 58), Class186.aClass186_2131, 0.0F, 0.0F, null, class647_sub1.aByte10821, i_15_, 0, 1084366544);
			} else {
				if (class647_sub1 == Class241.player) {
					if (Class449.aClass523_Sub33_4946.aClass687_Sub22_10631.method16930(1223270307) == 0)
						return;
				} else if (Class449.aClass523_Sub33_4946.aClass687_Sub22_10650.method16930(1158916908) == 0)
					return;
				if (-1903160879 * class205.anInt2214 != -1) {
					int i_17_ = 0;
					if (class647_sub1 instanceof Class647_Sub1_Sub3_Sub1)
						i_17_ = ((Class647_Sub1_Sub3_Sub1) class647_sub1).method18403((byte) -21);
					else if (class647_sub1 instanceof Class647_Sub1_Sub3_Sub4)
						i_17_ = ((Class647_Sub1_Sub3_Sub4) class647_sub1).method18574(-336505610);
					else if (class647_sub1 instanceof Class647_Sub1_Sub3_Sub6)
						i_17_ = ((Class647_Sub1_Sub3_Sub6) class647_sub1).method18610(194968850);
					if (0 != i_17_ && i_17_ != Class241.player.method18403((byte) 43) && 1372123713 * client.anInt10999 != i_17_) {
						i_16_ = -1903160879 * class205.anInt2214 * i_16_ / 100;
						if (i_16_ < 0)
							i_16_ = 0;
						else if (i_16_ > 255)
							i_16_ = 255;
					}
				}
				Class437 class437 = class647_sub1.method10569().aClass437_4862;
				int i_18_ = (int) class437.aFloat4903 - 256 >> 9;
				int i_19_ = (int) class437.aFloat4905 - 256 >> 9;
				Class437 class437_20_ = new Class437((float) (i_18_ << 9), 0.0F, (float) (i_19_ << 9));
				int i_21_ = class647_sub1.aByte10821 << 24;
				method3854(Class189.aClass189_2136, i_11_, i_12_, i_16_, Class198.aClass198_2203.method3672((byte) 73), ((Class241.player != class647_sub1) ? Class186.aClass186_2130 : Class186.aClass186_2131), 0.0F, (float) (i_13_ << 9), class437_20_, i_21_, i_15_, 0, -420649064);
			}
		}
	}

	public void method3859(int i) {
		Class238.method4307((byte) -16);
	}

	public void method3860(Class489 class489, int i, int i_22_, int i_23_) {
		if (null != class489) {
			Class231 class231 = (Class231) aHashMap2300.get(Integer.valueOf(i));
			if (class231 == null) {
				class231 = new Class231(this);
				aHashMap2300.put(Integer.valueOf(i), class231);
			}
			if (!class231.method4237(class489, -1076411623)) {
				class489.method7980(i_22_, true, (byte) -62);
				class231.method4246(class489, -327289161);
			}
		}
	}

	public void method3861(int i, byte i_24_) {
		Class231 class231 = (Class231) aHashMap2300.get(Integer.valueOf(i));
		if (null != class231) {
			List list = class231.method4236((byte) -10);
			Iterator iterator = list.iterator();
			while (iterator.hasNext()) {
				Class489 class489 = (Class489) iterator.next();
				if (!class489.method7981(1595423511))
					class489.method8032(753467723);
			}
		}
	}

	List method3862(int i) {
		return aList2281;
	}

	public void method3863(int i, byte i_25_) {
		Class231 class231 = (Class231) aHashMap2300.get(Integer.valueOf(i));
		if (null != class231) {
			List list = class231.method4236((byte) -117);
			Iterator iterator = list.iterator();
			while (iterator.hasNext()) {
				Class489 class489 = (Class489) iterator.next();
				class489.method7960(50, (byte) 55);
			}
		}
	}

	public void method3864(Class489 class489, byte i) {
		class489.method7966(this, 1069821372);
		aList2281.add(class489);
	}

	public void method3865(int i, int i_26_, int i_27_, byte i_28_) {
		int i_29_ = Class193.aClass193_2184.method3639(439689302);
		if (Class668.method13671(i, -1034692953) == null && (i_29_ == i_26_ || Class668.method13671(i_26_, -1034692953) != null)) {
			float f = 1.5258789E-5F * (float) i_27_;
			Class647_Sub1_Sub3_Sub3.method18447(i, i_29_ == i_26_ ? -1 : i_26_, f, null, (byte) -19);
		}
	}

	public void method3866(int i, int i_30_, byte i_31_) {
		Class366 class366 = Class668.method13671(i, -1034692953);
		if (null != class366) {
			float f = 1.5258789E-5F * (float) i_30_;
			class366.method6316(f, (byte) 54);
		}
	}

	public int method3867() {
		return anInt2295 * -930893213;
	}

	public void method3868(int i, int i_32_) {
		Iterator iterator = aList2281.iterator();
		while (iterator.hasNext()) {
			Class489 class489 = (Class489) iterator.next();
			int i_33_ = class489.method7977(2138772399);
			boolean bool = Class586.method9713(i_33_, i, -729375963);
			if (bool)
				class489.method7960(50, (byte) 111);
		}
	}

	void method3869(int[] is, int i) {
		if (aBool2287 && null != is) {
			int[] is_34_ = is;
			for (int i_35_ = 0; i_35_ < is_34_.length; i_35_++) {
				int i_36_ = is_34_[i_35_];
				method3870(i_36_, 1174210064);
			}
		}
	}

	public void method3870(int i, int i_37_) {
		if (aBool2287 && i >= 0)
			method3872(i, false, -2000448867);
	}

	Interface71 method3871(int i, boolean bool, int i_38_) {
		if (!aBool2287)
			return null;
		Interface71 interface71 = (Interface71) (bool ? aClass209_2286.method3767((long) i) : aClass209_2285.method3767((long) i));
		if (null == interface71) {
			if (bool)
				interface71 = (Interface71) aHashMap2294.get(Integer.valueOf(i));
			else
				interface71 = (Interface71) aHashMap2279.get(Integer.valueOf(i));
		}
		return interface71;
	}

	Interface71 method3872(int i, boolean bool, int i_39_) {
		if (!aBool2287)
			return null;
		Interface71 interface71 = method3871(i, bool, 120755055);
		if (null == interface71) {
			Class213 class213 = new Class213(this);
			interface71 = Class687_Sub28.method16968((bool ? Class616.aClass472_8039 : Class328.aClass472_3473), i, class213, bool, aClass209_2276, -622596505);
			if (bool)
				aHashMap2294.put(Integer.valueOf(i), interface71);
			else
				aHashMap2279.put(Integer.valueOf(i), interface71);
		}
		return interface71;
	}

	Class489 method3873(Interface71 interface71, int i) {
		if (!aBool2287)
			return null;
		int i_40_ = 0;
		Iterator iterator = aList2280.iterator();
		while (iterator.hasNext()) {
			Class489 class489 = (Class489) iterator.next();
			i_40_++;
			if (class489.method8004((short) 24954) == Class488.aClass488_5498) {
				class489.method7956(interface71, 1939022271);
				return class489;
			}
		}
		if (i_40_ >= 1099913575 * anInt2288)
			return null;
		Class489 class489 = interface71.method466(-2027477573);
		aList2280.add(class489);
		return class489;
	}

	public int method3874() {
		return anInt2295 * -930893213;
	}

	boolean method3875(Class437 class437, Class437 class437_41_, float f, int i) {
		Class437 class437_42_ = Class437.method6932(class437_41_, class437);
		if (class437_42_.method6958() >= f)
			return false;
		return true;
	}

	Class489 method3876(Interface71 interface71) {
		if (!aBool2287)
			return null;
		int i = 0;
		Iterator iterator = aList2280.iterator();
		while (iterator.hasNext()) {
			Class489 class489 = (Class489) iterator.next();
			i++;
			if (class489.method8004((short) 9577) == Class488.aClass488_5498) {
				class489.method7956(interface71, 1939022271);
				return class489;
			}
		}
		if (i >= 1099913575 * anInt2288)
			return null;
		Class489 class489 = interface71.method466(-2123837097);
		aList2280.add(class489);
		return class489;
	}

	public Class489 method3877(Class189 class189, Object object, int i, int i_43_, int i_44_, int i_45_, Class186 class186, float f, float f_46_, Class437 class437, int i_47_, int i_48_, boolean bool, short i_49_) {
		if (!aBool2287)
			return null;
		if (null == object)
			return null;
		i_44_ = Math.max(0, Math.min(i_44_, 255));
		i_48_ = Math.max(0, i_48_);
		if (class186 != Class186.aClass186_2131 && !method3875(aClass437_2284, class437, f_46_, -665135381))
			return null;
		if (i_48_ <= 0)
			i_48_ = 255;
		float f_50_ = (float) i_44_ / 255.0F;
		float f_51_ = (float) i_48_ / 255.0F;
		Interface71 interface71 = method3872(i, bool, -2095461426);
		Class489 class489 = method3873(interface71, -1534465069);
		if (null == class489)
			return null;
		class489.method7966(object, 1069821372);
		class489.method7971(i_45_, (byte) 0);
		if (Class186.aClass186_2131 != class186) {
			class489.method7972(true, 1090389404);
			class489.method8031(class437, 296585454);
			class489.method7978(f, -559512495);
			class489.method8014(f_46_, 2132150994);
			if (Class186.aClass186_2128 == class186)
				class489.method7963(anInterface58_2290, 1953840248);
			else if (class186 == Class186.aClass186_2127)
				class489.method7963(anInterface58_2301, 1375852389);
			else if (class186 == Class186.aClass186_2130)
				class489.method7963(anInterface58_2298, 2094571288);
			else if (Class186.aClass186_2129 == class186)
				class489.method7963(anInterface58_2274, 1854852340);
			else
				class489.method7972(false, -1999323499);
		}
		class489.method7983(f_50_, 0, -119286008);
		class489.method7984(i_43_ > 1 || i_43_ < 0, i_43_ > 0 ? i_43_ - 1 : i_43_, 2116660102);
		class489.method8002(f_51_, 1355878601);
		class489.method7968(class189, 2349011);
		return class489;
	}

	void method3878() {
		Class203 class203 = new Class203(this);
		Class201 class201 = new Class201(this);
		Class221 class221 = new Class221(this);
		Class214 class214 = new Class214(this);
		Class216 class216 = new Class216(this);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2180.method3639(-314925810), Class193.aClass193_2184.method3639(-846904565), 0.2F, class203, (byte) -95);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2181.method3639(-1468653304), Class193.aClass193_2184.method3639(-1234359835), 1.0F, class201, (byte) -123);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2185.method3639(-489101416), Class193.aClass193_2184.method3639(34095967), 1.0F, class221, (byte) -124);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2183.method3639(-1630180076), Class193.aClass193_2184.method3639(-575749848), 0.8F, class214, (byte) -94);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2179.method3639(617184872), Class193.aClass193_2184.method3639(-1823307513), 1.0F, class216, (byte) -116);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2199.method3672((byte) 28), Class193.aClass193_2181.method3639(-1080660790), 1.0F, null, (byte) -50);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2194.method3672((byte) 52), Class193.aClass193_2179.method3639(-1218156868), 1.0F, null, (byte) -92);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2195.method3672((byte) 83), Class193.aClass193_2180.method3639(-520478407), 1.0F, null, (byte) -105);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2196.method3672((byte) 91), Class193.aClass193_2180.method3639(274581258), 1.0F, null, (byte) -10);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2203.method3672((byte) 61), Class193.aClass193_2180.method3639(375388809), 1.0F, null, (byte) -76);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2198.method3672((byte) 16), Class193.aClass193_2180.method3639(727941294), 1.0F, null, (byte) -92);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2197.method3672((byte) 23), Class193.aClass193_2180.method3639(-926806189), 1.0F, null, (byte) -14);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2193.method3672((byte) 72), Class193.aClass193_2183.method3639(-1451767891), 1.0F, null, (byte) -66);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2202.method3672((byte) 87), Class198.aClass198_2193.method3672((byte) 53), 1.0F, null, (byte) -70);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2201.method3672((byte) 124), Class198.aClass198_2193.method3672((byte) 71), 1.0F, null, (byte) -16);
		Class668.method13671(Class198.aClass198_2199.method3672((byte) 100), -1034692953).method6316(0.75F, (byte) 23);
	}

	public void method3879() {
		if (aBool2287) {
			Class554.method9170(-866878567);
			if (null != Class241.player && (Class241.player.method10569() != null)) {
				if (aClass437_2284 == null)
					aClass437_2284 = new Class437();
				aClass437_2284.aFloat4903 = (Class241.player.method10569().aClass437_4862.aFloat4903);
				aClass437_2284.aFloat4904 = 0.0F;
				aClass437_2284.aFloat4905 = (Class241.player.method10569().aClass437_4862.aFloat4905);
			}
			Iterator iterator = aHashMap2279.values().iterator();
			while (iterator.hasNext()) {
				Interface71 interface71 = (Interface71) iterator.next();
				interface71.method210(1156420726);
			}
			iterator = aHashMap2294.values().iterator();
			while (iterator.hasNext()) {
				Interface71 interface71 = (Interface71) iterator.next();
				interface71.method210(-105980271);
			}
			iterator = aList2293.iterator();
			while (iterator.hasNext()) {
				Interface71 interface71 = (Interface71) iterator.next();
				if (interface71.method477((short) 8610))
					aHashMap2294.remove(Integer.valueOf(interface71.method455((byte) 38)));
				else
					aHashMap2279.remove(Integer.valueOf(interface71.method455((byte) 83)));
			}
			aList2293.clear();
			if (null != aClass489_2282 && (aClass489_2282.method8004((short) 16424) == Class488.aClass488_5489) && false == aBool2272 && client.aClass116_11058.aClass11_1413 != null && BaseVarType.method7761(client.anInt11136 * -2020118759, (byte) 113)) {
				Class523_Sub22 class523_sub22 = Class523_Sub18.method16042(OutgoingPacket.REQUEST_PLAY_MUSIC_PACKET, (client.aClass116_11058.aClass11_1413), 1370050649);
				class523_sub22.aClass523_Sub34_Sub2_10525.writeInt(aClass489_2282.method7973(1288630972).method455((byte) 77), -714648142);
				client.aClass116_11058.method1974(class523_sub22, (byte) 28);
				aBool2272 = true;
			}
			iterator = aList2280.iterator();
			while (iterator.hasNext()) {
				Class489 class489 = (Class489) iterator.next();
				class489.method7982(1496555663);
				class489.method7964((byte) -37);
				Class488 class488 = class489.method8004((short) 22178);
				if (class489.method7967((byte) 8) == this) {
					if (Class488.aClass488_5495 == class488 || Class488.aClass488_5493 == class488) {
						if ((class489.method7969(974654588) == Class189.aClass189_2145) || (class489.method7969(974654588) == Class189.aClass189_2146)) {
							if (aClass489_2282 == class489) {
								aBool2272 = false;
								aClass489_2282 = null;
								class489.method7957(1335524798);
								aList2281.remove(class489);
							} else {
								int i = class489.method7973(1094968597).method455((byte) 116);
								boolean bool = (method3906(Class198.aClass198_2199.method3672((byte) 103), (byte) 19) > 0.0F);
								if (!aBool2297 && bool) {
									if (anInt2291 * -134435587 == i) {
										method3888(i, -749005485);
										anInt2291 = -1255264341;
									}
									class489.method7957(1770755279);
									aList2281.remove(class489);
								} else if (-1382292097 * anInt2296 == i) {
									anInt2296 = -1027988095;
									aBool2297 = false;
									class489.method7957(1273004278);
									aList2281.remove(class489);
									Iterator iterator_52_ = aList2280.iterator();
									while (iterator_52_.hasNext()) {
										Class489 class489_53_ = (Class489) iterator_52_.next();
										if (class489_53_.method7969(974654588) == Class189.aClass189_2145) {
											int i_54_ = class489_53_.method7973(1045482242).method455((byte) 12);
											if (((anInt2291 * -134435587 == i_54_) && ((class489_53_.method8004((short) 25283)) == (Class488.aClass488_5495))) || ((class489_53_.method8004((short) 16160)) == Class488.aClass488_5496) || ((class489_53_.method8004((short) 3100)) == Class488.aClass488_5491) || ((class489_53_.method8004((short) 22219)) == (Class488.aClass488_5489))) {
												if ((class489_53_.method8004((short) 17806)) == Class488.aClass488_5495)
													class489_53_.method7988(-1789275147);
												else
													class489_53_.method8032(1215763446);
												break;
											}
										}
									}
								} else if (bool) {
									if (false == aBool2297 || i != -134435587 * anInt2291) {
										class489.method7957(2105790944);
										aList2281.remove(class489);
									}
									if (false == aBool2297 && -134435587 * anInt2291 == i) {
										anInt2291 = -1255264341;
										aClass489_2292 = null;
									}
								}
							}
						} else {
							Iterator iterator_55_ = aHashMap2300.keySet().iterator();
							while (iterator_55_.hasNext()) {
								int i = ((Integer) iterator_55_.next()).intValue();
								Class231 class231 = ((Class231) aHashMap2300.get(Integer.valueOf(i)));
								if (class231.method4236((byte) -85).contains(class489)) {
									class231.method4235(class489, (byte) 32);
									break;
								}
							}
							class489.method7957(1553801264);
							aList2281.remove(class489);
						}
					} else if ((class489.method8004((short) 31176) != Class488.aClass488_5494) && (class489.method7977(2138772399) == Class198.aClass198_2199.method3672((byte) 122))) {
						boolean bool = (method3906(Class198.aClass198_2199.method3672((byte) 86), (byte) 4) > 1.0E-4F);
						if (!bool)
							class489.method7960(150, (byte) 60);
					}
				}
			}
		}
	}

	public void method3880(int i) {
		if (aBool2287 && i >= 0)
			method3872(i, false, -2027488289);
	}

	public int method3881(short i) {
		return anInt2295 * -930893213;
	}

	public Class489 method3882(Class189 class189, Object object, int i, int i_56_, int i_57_, int i_58_, Class186 class186, float f, float f_59_, Class437 class437, int i_60_, int i_61_, boolean bool) {
		if (!aBool2287)
			return null;
		if (null == object)
			return null;
		i_57_ = Math.max(0, Math.min(i_57_, 255));
		i_61_ = Math.max(0, i_61_);
		if (class186 != Class186.aClass186_2131 && !method3875(aClass437_2284, class437, f_59_, -557873145))
			return null;
		if (i_61_ <= 0)
			i_61_ = 255;
		float f_62_ = (float) i_57_ / 255.0F;
		float f_63_ = (float) i_61_ / 255.0F;
		Interface71 interface71 = method3872(i, bool, -1956615483);
		Class489 class489 = method3873(interface71, 1875264502);
		if (null == class489)
			return null;
		class489.method7966(object, 1069821372);
		class489.method7971(i_58_, (byte) 0);
		if (Class186.aClass186_2131 != class186) {
			class489.method7972(true, 212717842);
			class489.method8031(class437, 1751090908);
			class489.method7978(f, -559512495);
			class489.method8014(f_59_, 2094788300);
			if (Class186.aClass186_2128 == class186)
				class489.method7963(anInterface58_2290, 1758027808);
			else if (class186 == Class186.aClass186_2127)
				class489.method7963(anInterface58_2301, 1846849864);
			else if (class186 == Class186.aClass186_2130)
				class489.method7963(anInterface58_2298, 1733122076);
			else if (Class186.aClass186_2129 == class186)
				class489.method7963(anInterface58_2274, 1366066868);
			else
				class489.method7972(false, -1839589930);
		}
		class489.method7983(f_62_, 0, 1856806288);
		class489.method7984(i_56_ > 1 || i_56_ < 0, i_56_ > 0 ? i_56_ - 1 : i_56_, 2074272649);
		class489.method8002(f_63_, 1355878601);
		class489.method7968(class189, 2349011);
		return class489;
	}

	public void method3883(int i, int i_64_) {
		sendMusic(i, 255, (byte) -4);
	}

	public void method3884(AnimationDefinitions class205, int i, Class647_Sub1 class647_sub1) {
		if (class205 != null && class205.handledSounds != null && i < class205.handledSounds.length && null != class205.handledSounds[i] && (class647_sub1.aByte10821 == Class241.player.aByte10821) && class647_sub1.method16710(2019846161)) {
			int i_65_ = class205.handledSounds[i][0];
			int i_66_ = i_65_ >> 8;
			int i_67_ = i_65_ >> 5 & 0x7;
			int i_68_ = i_65_ & 0x1f;
			if (class205.handledSounds[i].length > 1) {
				int i_69_ = (int) (Math.random() * (double) (class205.handledSounds[i]).length);
				if (i_69_ > 0)
					i_66_ = class205.handledSounds[i][i_69_];
			}
			int i_70_ = 256;
			if (null != class205.soundMaxDelay && null != class205.soundMinDelay)
				i_70_ = ((int) (Math.random() * (double) (class205.soundMinDelay[i] - class205.soundMaxDelay[i])) + class205.soundMaxDelay[i]);
			int i_71_ = (null == class205.anIntArray2234 ? 255 : class205.anIntArray2234[i]);
			if (i_68_ == 0) {
				if (Class241.player == class647_sub1)
					method3854(Class189.aClass189_2140, i_66_, i_67_, i_71_, Class198.aClass198_2196.method3672((byte) 67), Class186.aClass186_2131, 0.0F, 0.0F, null, class647_sub1.aByte10821, i_70_, 0, 681770933);
			} else {
				if (class647_sub1 == Class241.player) {
					if (Class449.aClass523_Sub33_4946.aClass687_Sub22_10631.method16930(1672230168) == 0)
						return;
				} else if (Class449.aClass523_Sub33_4946.aClass687_Sub22_10650.method16930(1944109038) == 0)
					return;
				if (-1903160879 * class205.anInt2214 != -1) {
					int i_72_ = 0;
					if (class647_sub1 instanceof Class647_Sub1_Sub3_Sub1)
						i_72_ = ((Class647_Sub1_Sub3_Sub1) class647_sub1).method18403((byte) 53);
					else if (class647_sub1 instanceof Class647_Sub1_Sub3_Sub4)
						i_72_ = ((Class647_Sub1_Sub3_Sub4) class647_sub1).method18574(539261121);
					else if (class647_sub1 instanceof Class647_Sub1_Sub3_Sub6)
						i_72_ = ((Class647_Sub1_Sub3_Sub6) class647_sub1).method18610(194968850);
					if (0 != i_72_ && i_72_ != Class241.player.method18403((byte) 17) && 1372123713 * client.anInt10999 != i_72_) {
						i_71_ = -1903160879 * class205.anInt2214 * i_71_ / 100;
						if (i_71_ < 0)
							i_71_ = 0;
						else if (i_71_ > 255)
							i_71_ = 255;
					}
				}
				Class437 class437 = class647_sub1.method10569().aClass437_4862;
				int i_73_ = (int) class437.aFloat4903 - 256 >> 9;
				int i_74_ = (int) class437.aFloat4905 - 256 >> 9;
				Class437 class437_75_ = new Class437((float) (i_73_ << 9), 0.0F, (float) (i_74_ << 9));
				int i_76_ = class647_sub1.aByte10821 << 24;
				method3854(Class189.aClass189_2136, i_66_, i_67_, i_71_, Class198.aClass198_2203.method3672((byte) 70), ((Class241.player != class647_sub1) ? Class186.aClass186_2130 : Class186.aClass186_2131), 0.0F, (float) (i_68_ << 9), class437_75_, i_76_, i_70_, 0, -1662948479);
			}
		}
	}

	public void method3885(int i, int i_77_, boolean bool, int i_78_, int i_79_, int i_80_, int i_81_, int i_82_, int i_83_) {
		if (aBool2287 && i != anInt2291 * -134435587) {
			if (aBool2297 && aClass489_2292 != null && -134435587 * anInt2291 != i) {
				aClass489_2292.method7988(-1896945676);
				aClass489_2292.method7957(1330348140);
				aList2281.remove(aClass489_2292);
			}
			Class489 class489 = method3886(1505992089);
			if (null != class489 && class489.method7973(928475831).method455((byte) 69) == i) {
				aClass489_2292 = class489;
				anInt2291 = (class489.method7973(1676812000).method455((byte) 56) * 1255264341);
			} else {
				boolean bool_84_ = false;
				if (anInt2291 * -134435587 >= 0) {
					Iterator iterator = aList2281.iterator();
					while (iterator.hasNext()) {
						Class489 class489_85_ = (Class489) iterator.next();
						if (class489_85_.method7969(974654588) == Class189.aClass189_2145) {
							class489_85_.method7960(2000, (byte) 17);
							bool_84_ = true;
						}
					}
				}
				aClass489_2292 = null;
				anInt2291 = -1255264341;
				Class489 class489_86_ = null;
				if (null != aClass489_2282 && aClass489_2282.method7973(1078647341) != null && aClass489_2282.method7973(569369967).method455((byte) 89) == i && (aClass489_2282.method8004((short) 24934) == Class488.aClass488_5489)) {
					class489_86_ = aClass489_2282;
					aClass489_2282 = null;
					aBool2272 = false;
				}
				if (null == class489_86_) {
					if (bool) {
						float f = (float) i_81_;
						float f_87_ = (float) i_82_;
						Class437 class437 = new Class437((float) i_79_, 0.0F, (float) i_80_);
						class489_86_ = method3877(Class189.aClass189_2145, this, i, 0, bool_84_ ? 0 : i_77_, (i == anInt2295 * -930893213 ? Class193.aClass193_2185.method3639(604167126) : Class198.aClass198_2199.method3672((byte) 122)), Class186.aClass186_2129, f, f_87_, class437, i_78_, 255, true, (short) -26190);
					} else
						class489_86_ = method3877(Class189.aClass189_2145, this, i, 0, bool_84_ ? 0 : i_77_, (anInt2295 * -930893213 == i ? Class193.aClass193_2185.method3639(-1710904989) : Class198.aClass198_2199.method3672((byte) 40)), Class186.aClass186_2131, 0.0F, 0.0F, null, 0, 255, true, (short) -5829);
				}
				if (class489_86_ != null) {
					if (bool_84_) {
						float f = (float) i_77_ / 255.0F;
						class489_86_.method7983(f, 2000, -308306255);
					}
					class489_86_.method8032(917303243);
					method3864(class489_86_, (byte) 24);
					aClass489_2292 = class489_86_;
					anInt2291 = 1255264341 * i;
					if (aBool2297)
						aClass489_2292.method7961(-412915765);
					if (client.aClass116_11058.aClass11_1413 != null && BaseVarType.method7761(-2020118759 * client.anInt11136, (byte) 119)) {
						Class523_Sub22 class523_sub22 = Class523_Sub18.method16042((OutgoingPacket.REQUEST_PLAY_MUSIC_PACKET), (client.aClass116_11058.aClass11_1413), 1370050649);
						class523_sub22.aClass523_Sub34_Sub2_10525.writeInt(-134435587 * anInt2291, -1095797148);
						client.aClass116_11058.method1974(class523_sub22, (byte) 95);
					}
				}
			}
		}
	}

	Class489 method3886(int i) {
		Iterator iterator = aList2281.iterator();
		while (iterator.hasNext()) {
			Class489 class489 = (Class489) iterator.next();
			if (class489.method7969(974654588) == Class189.aClass189_2145 && (class489.method8004((short) 3201) == Class488.aClass488_5492))
				return class489;
		}
		return null;
	}

	public void method3887(byte i) {
		Iterator iterator = aList2281.iterator();
		while (iterator.hasNext()) {
			Class489 class489 = (Class489) iterator.next();
			if (class489.method7969(974654588) == Class189.aClass189_2145) {
				class489.method7960(500, (byte) 66);
				if (class489.method7973(2068920889).method455((byte) 81) == -134435587 * anInt2291) {
					method3888(anInt2291 * -134435587, 51952430);
					break;
				}
			}
		}
		aClass489_2292 = null;
		anInt2291 = -1255264341;
	}

	void method3888(int i, int i_88_) {
		if (null != client.aClass116_11058.aClass11_1413 && BaseVarType.method7761(client.anInt11136 * -2020118759, (byte) 81)) {
			Class523_Sub22 class523_sub22 = Class523_Sub18.method16042(OutgoingPacket.MUSIC_PACKET, (client.aClass116_11058.aClass11_1413), 1370050649);
			class523_sub22.aClass523_Sub34_Sub2_10525.writeInt(i, -1291440907);
			client.aClass116_11058.method1974(class523_sub22, (byte) 113);
		}
	}

	boolean method3889(Class437 class437, Class437 class437_89_, float f) {
		Class437 class437_90_ = Class437.method6932(class437_89_, class437);
		if (class437_90_.method6958() >= f)
			return false;
		return true;
	}

	public void method3890(AnimationDefinitions class205, int i, byte i_91_) {
		if (class205 != null && class205.handledSounds != null && i < class205.handledSounds.length && class205.handledSounds[i] != null) {
			int i_92_ = class205.handledSounds[i][0];
			int i_93_ = i_92_ >> 8;
			int i_94_ = i_92_ >> 5 & 0x7;
			if (class205.handledSounds[i].length > 1) {
				int i_95_ = (int) (Math.random() * (double) (class205.handledSounds[i]).length);
				if (i_95_ > 0)
					i_93_ = class205.handledSounds[i][i_95_];
			}
			int i_96_ = 256;
			if (null != class205.soundMaxDelay && class205.soundMinDelay != null)
				i_96_ = (int) ((double) class205.soundMaxDelay[i] + (Math.random() * (double) (class205.soundMinDelay[i] - class205.soundMaxDelay[i])));
			int i_97_ = (class205.anIntArray2234 == null ? 255 : class205.anIntArray2234[i]);
			method3854(Class189.aClass189_2144, i_93_, i_94_, i_97_, Class198.aClass198_2203.method3672((byte) 100), Class186.aClass186_2131, 0.0F, 0.0F, null, 0, i_96_, 0, -424484473);
		}
	}

	List method3891() {
		return aList2281;
	}

	List method3892() {
		return aList2281;
	}

	public void method3893(int i, byte i_98_) {
		Class231 class231 = (Class231) aHashMap2300.get(Integer.valueOf(i));
		if (null != class231) {
			List list = class231.method4236((byte) -10);
			Iterator iterator = list.iterator();
			while (iterator.hasNext()) {
				Class489 class489 = (Class489) iterator.next();
				class489.method7958((byte) 0);
			}
		}
	}

	List method3894() {
		return aList2293;
	}

	public void method3895() {
		Class238.method4307((byte) -107);
	}

	public void method3896(int i, int i_99_, int i_100_) {
		if (anInt2291 * -134435587 != i) {
			if (aClass489_2282 != null) {
				aClass489_2282.method7960(0, (byte) 110);
				method3864(aClass489_2282, (byte) 24);
				aClass489_2282 = null;
			}
			Class489 class489 = method3877(Class189.aClass189_2145, this, i, 0, i_99_, Class198.aClass198_2199.method3672((byte) 33), Class186.aClass186_2131, 0.0F, 0.0F, null, 0, 255, true, (short) -4835);
			if (null != class489) {
				class489.method7958((byte) 0);
				aClass489_2282 = class489;
			}
			aBool2272 = false;
		}
	}

	Class437 method3897() {
		return aClass437_2284;
	}

	Class489 method3898(Interface71 interface71) {
		if (!aBool2287)
			return null;
		int i = 0;
		Iterator iterator = aList2280.iterator();
		while (iterator.hasNext()) {
			Class489 class489 = (Class489) iterator.next();
			i++;
			if (class489.method8004((short) 32442) == Class488.aClass488_5498) {
				class489.method7956(interface71, 1939022271);
				return class489;
			}
		}
		if (i >= 1099913575 * anInt2288)
			return null;
		Class489 class489 = interface71.method466(-2146155946);
		aList2280.add(class489);
		return class489;
	}

	public void method3899() {
		if (aBool2287) {
			Class554.method9170(-588348688);
			if (null != Class241.player && (Class241.player.method10569() != null)) {
				if (aClass437_2284 == null)
					aClass437_2284 = new Class437();
				aClass437_2284.aFloat4903 = (Class241.player.method10569().aClass437_4862.aFloat4903);
				aClass437_2284.aFloat4904 = 0.0F;
				aClass437_2284.aFloat4905 = (Class241.player.method10569().aClass437_4862.aFloat4905);
			}
			Iterator iterator = aHashMap2279.values().iterator();
			while (iterator.hasNext()) {
				Interface71 interface71 = (Interface71) iterator.next();
				interface71.method210(-18995600);
			}
			iterator = aHashMap2294.values().iterator();
			while (iterator.hasNext()) {
				Interface71 interface71 = (Interface71) iterator.next();
				interface71.method210(-1834905852);
			}
			iterator = aList2293.iterator();
			while (iterator.hasNext()) {
				Interface71 interface71 = (Interface71) iterator.next();
				if (interface71.method477((short) 11349))
					aHashMap2294.remove(Integer.valueOf(interface71.method455((byte) 107)));
				else
					aHashMap2279.remove(Integer.valueOf(interface71.method455((byte) 21)));
			}
			aList2293.clear();
			if (null != aClass489_2282 && (aClass489_2282.method8004((short) 21149) == Class488.aClass488_5489) && false == aBool2272 && client.aClass116_11058.aClass11_1413 != null && BaseVarType.method7761(client.anInt11136 * -2020118759, (byte) 22)) {
				Class523_Sub22 class523_sub22 = Class523_Sub18.method16042(OutgoingPacket.REQUEST_PLAY_MUSIC_PACKET, (client.aClass116_11058.aClass11_1413), 1370050649);
				class523_sub22.aClass523_Sub34_Sub2_10525.writeInt(aClass489_2282.method7973(1385466208).method455((byte) 30), -1107885547);
				client.aClass116_11058.method1974(class523_sub22, (byte) 95);
				aBool2272 = true;
			}
			iterator = aList2280.iterator();
			while (iterator.hasNext()) {
				Class489 class489 = (Class489) iterator.next();
				class489.method7982(462084925);
				class489.method7964((byte) -36);
				Class488 class488 = class489.method8004((short) 1467);
				if (class489.method7967((byte) 8) == this) {
					if (Class488.aClass488_5495 == class488 || Class488.aClass488_5493 == class488) {
						if ((class489.method7969(974654588) == Class189.aClass189_2145) || (class489.method7969(974654588) == Class189.aClass189_2146)) {
							if (aClass489_2282 == class489) {
								aBool2272 = false;
								aClass489_2282 = null;
								class489.method7957(1808955933);
								aList2281.remove(class489);
							} else {
								int i = class489.method7973(1173815661).method455((byte) 22);
								boolean bool = (method3906(Class198.aClass198_2199.method3672((byte) 121), (byte) 24) > 0.0F);
								if (!aBool2297 && bool) {
									if (anInt2291 * -134435587 == i) {
										method3888(i, -1920014500);
										anInt2291 = -1255264341;
									}
									class489.method7957(1624556788);
									aList2281.remove(class489);
								} else if (-1382292097 * anInt2296 == i) {
									anInt2296 = -1027988095;
									aBool2297 = false;
									class489.method7957(1455163288);
									aList2281.remove(class489);
									Iterator iterator_101_ = aList2280.iterator();
									while (iterator_101_.hasNext()) {
										Class489 class489_102_ = (Class489) iterator_101_.next();
										if (class489_102_.method7969(974654588) == Class189.aClass189_2145) {
											int i_103_ = class489_102_.method7973(1241875995).method455((byte) 68);
											if (((anInt2291 * -134435587 == i_103_) && ((class489_102_.method8004((short) 15451)) == (Class488.aClass488_5495))) || ((class489_102_.method8004((short) 28819)) == Class488.aClass488_5496) || ((class489_102_.method8004((short) 27775)) == Class488.aClass488_5491) || ((class489_102_.method8004((short) 5397)) == (Class488.aClass488_5489))) {
												if ((class489_102_.method8004((short) 546)) == Class488.aClass488_5495)
													class489_102_.method7988(-1707041531);
												else
													class489_102_.method8032(1899117685);
												break;
											}
										}
									}
								} else if (bool) {
									if (false == aBool2297 || i != -134435587 * anInt2291) {
										class489.method7957(1351835098);
										aList2281.remove(class489);
									}
									if (false == aBool2297 && -134435587 * anInt2291 == i) {
										anInt2291 = -1255264341;
										aClass489_2292 = null;
									}
								}
							}
						} else {
							Iterator iterator_104_ = aHashMap2300.keySet().iterator();
							while (iterator_104_.hasNext()) {
								int i = ((Integer) iterator_104_.next()).intValue();
								Class231 class231 = ((Class231) aHashMap2300.get(Integer.valueOf(i)));
								if (class231.method4236((byte) -80).contains(class489)) {
									class231.method4235(class489, (byte) 125);
									break;
								}
							}
							class489.method7957(1541197958);
							aList2281.remove(class489);
						}
					} else if ((class489.method8004((short) 26194) != Class488.aClass488_5494) && (class489.method7977(2138772399) == Class198.aClass198_2199.method3672((byte) 92))) {
						boolean bool = (method3906(Class198.aClass198_2199.method3672((byte) 94), (byte) 26) > 1.0E-4F);
						if (!bool)
							class489.method7960(150, (byte) 92);
					}
				}
			}
		}
	}

	float method3900(int i) {
		Class366 class366 = Class668.method13671(i, -1034692953);
		float f = 1.0F;
		for (/**/; null != class366; class366 = class366.method6319((byte) 14))
			f *= class366.method6314(-129586803);
		return f;
	}

	public void method3901() {
		Class238.method4307((byte) -56);
	}

	public void method3902(Class489 class489, int i, int i_105_) {
		if (null != class489) {
			Class231 class231 = (Class231) aHashMap2300.get(Integer.valueOf(i));
			if (class231 == null) {
				class231 = new Class231(this);
				aHashMap2300.put(Integer.valueOf(i), class231);
			}
			if (!class231.method4237(class489, -2086204522)) {
				class489.method7980(i_105_, true, (byte) -118);
				class231.method4246(class489, -1326871034);
			}
		}
	}

	public void method3903(Class489 class489, int i, int i_106_) {
		if (null != class489) {
			Class231 class231 = (Class231) aHashMap2300.get(Integer.valueOf(i));
			if (class231 == null) {
				class231 = new Class231(this);
				aHashMap2300.put(Integer.valueOf(i), class231);
			}
			if (!class231.method4237(class489, -1045099122)) {
				class489.method7980(i_106_, true, (byte) -35);
				class231.method4246(class489, -329877945);
			}
		}
	}

	void method3904(int i) {
		Class203 class203 = new Class203(this);
		Class201 class201 = new Class201(this);
		Class221 class221 = new Class221(this);
		Class214 class214 = new Class214(this);
		Class216 class216 = new Class216(this);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2180.method3639(-1591157454), Class193.aClass193_2184.method3639(-1740246854), 0.2F, class203, (byte) -106);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2181.method3639(-1377391061), Class193.aClass193_2184.method3639(330184334), 1.0F, class201, (byte) -116);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2185.method3639(-1929950856), Class193.aClass193_2184.method3639(-1799287795), 1.0F, class221, (byte) -27);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2183.method3639(419723797), Class193.aClass193_2184.method3639(170585246), 0.8F, class214, (byte) -76);
		Class647_Sub1_Sub3_Sub3.method18447(Class193.aClass193_2179.method3639(-1221992307), Class193.aClass193_2184.method3639(-120076489), 1.0F, class216, (byte) 0);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2199.method3672((byte) 89), Class193.aClass193_2181.method3639(-926028157), 1.0F, null, (byte) -97);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2194.method3672((byte) 103), Class193.aClass193_2179.method3639(-1747950516), 1.0F, null, (byte) -124);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2195.method3672((byte) 23), Class193.aClass193_2180.method3639(320159243), 1.0F, null, (byte) -39);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2196.method3672((byte) 85), Class193.aClass193_2180.method3639(-36756087), 1.0F, null, (byte) -88);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2203.method3672((byte) 62), Class193.aClass193_2180.method3639(-1846370639), 1.0F, null, (byte) -81);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2198.method3672((byte) 94), Class193.aClass193_2180.method3639(-88405752), 1.0F, null, (byte) -108);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2197.method3672((byte) 41), Class193.aClass193_2180.method3639(-435919455), 1.0F, null, (byte) -36);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2193.method3672((byte) 115), Class193.aClass193_2183.method3639(-1791270784), 1.0F, null, (byte) -5);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2202.method3672((byte) 90), Class198.aClass198_2193.method3672((byte) 127), 1.0F, null, (byte) 0);
		Class647_Sub1_Sub3_Sub3.method18447(Class198.aClass198_2201.method3672((byte) 63), Class198.aClass198_2193.method3672((byte) 37), 1.0F, null, (byte) -105);
		Class668.method13671(Class198.aClass198_2199.method3672((byte) 103), -1034692953).method6316(0.75F, (byte) 31);
	}

	public void method3905(int i) {
		Class231 class231 = (Class231) aHashMap2300.get(Integer.valueOf(i));
		if (null != class231) {
			List list = class231.method4236((byte) -56);
			Iterator iterator = list.iterator();
			while (iterator.hasNext()) {
				Class489 class489 = (Class489) iterator.next();
				class489.method7960(50, (byte) 79);
			}
		}
	}

	float method3906(int i, byte i_107_) {
		Class366 class366 = Class668.method13671(i, -1034692953);
		float f = 1.0F;
		for (/**/; null != class366; class366 = class366.method6319((byte) 14))
			f *= class366.method6314(-1487170073);
		return f;
	}

	public void method3907(int i) {
		Class231 class231 = (Class231) aHashMap2300.get(Integer.valueOf(i));
		if (null != class231) {
			List list = class231.method4236((byte) -83);
			Iterator iterator = list.iterator();
			while (iterator.hasNext()) {
				Class489 class489 = (Class489) iterator.next();
				class489.method7958((byte) 0);
			}
		}
	}

	public void method3908(int i) {
		Class231 class231 = (Class231) aHashMap2300.get(Integer.valueOf(i));
		if (null != class231) {
			List list = class231.method4236((byte) -54);
			Iterator iterator = list.iterator();
			while (iterator.hasNext()) {
				Class489 class489 = (Class489) iterator.next();
				class489.method7960(50, (byte) 60);
			}
		}
	}

	public void method3909(int i, int i_108_, int i_109_) {
		if (aBool2287 && (!aBool2297 || i != -1382292097 * anInt2296)) {
			if (aBool2297 && -1382292097 * anInt2296 != i) {
				Iterator iterator = aList2280.iterator();
				while (iterator.hasNext()) {
					Class489 class489 = (Class489) iterator.next();
					if (class489.method7969(974654588) == Class189.aClass189_2146) {
						class489.method7957(1983029482);
						aList2281.remove(class489);
						aBool2297 = false;
						break;
					}
				}
			}
			if (0 != i_108_ && i != -1) {
				if (!aBool2297 && aClass489_2292 != null)
					aClass489_2292.method7961(1976640827);
				Class489 class489 = method3877(Class189.aClass189_2146, this, i, 0, i_108_, Class198.aClass198_2199.method3672((byte) 26), Class186.aClass186_2131, 0.0F, 0.0F, null, 0, 255, true, (short) -23677);
				if (class489 != null) {
					class489.method8032(2047877327);
					method3864(class489, (byte) 24);
					aBool2297 = true;
					anInt2296 = i * 1027988095;
				}
			}
		}
	}

	public void method3910(int i, int i_110_) {
		Class366 class366 = Class668.method13671(i, -1034692953);
		if (null != class366) {
			float f = 1.5258789E-5F * (float) i_110_;
			class366.method6316(f, (byte) 56);
		}
	}

	public void method3911(int i, int i_111_) {
		Class366 class366 = Class668.method13671(i, -1034692953);
		if (null != class366) {
			float f = 1.5258789E-5F * (float) i_111_;
			class366.method6316(f, (byte) -65);
		}
	}

	public int method3912(int i) {
		return -134435587 * anInt2291;
	}

	float method3913(int i) {
		Class366 class366 = Class668.method13671(i, -1034692953);
		float f = 1.0F;
		for (/**/; null != class366; class366 = class366.method6319((byte) 14))
			f *= class366.method6314(-1477857821);
		return f;
	}

	public void method3914(int i) {
		Iterator iterator = aList2281.iterator();
		while (iterator.hasNext()) {
			Class489 class489 = (Class489) iterator.next();
			int i_112_ = class489.method7977(2138772399);
			boolean bool = Class586.method9713(i_112_, i, -1564208955);
			if (bool)
				class489.method7960(50, (byte) 60);
		}
	}

	void method3915(int[] is) {
		if (aBool2287 && null != is) {
			int[] is_113_ = is;
			for (int i = 0; i < is_113_.length; i++) {
				int i_114_ = is_113_[i];
				method3870(i_114_, 1156045045);
			}
		}
	}

	Class209 method3916(byte i) {
		return aClass209_2285;
	}

	public void method3917(int i) {
		if (aBool2287 && i >= 0)
			method3872(i, false, -2041271289);
	}

	public void method3918(AnimationDefinitions class205, int i, Class647_Sub1 class647_sub1, int i_115_) {
		if (class205 != null && class205.handledSounds != null && i < class205.handledSounds.length && null != class205.handledSounds[i] && (class647_sub1.aByte10821 == Class241.player.aByte10821) && class647_sub1.method16710(2019846161)) {
			int i_116_ = class205.handledSounds[i][0];
			int i_117_ = i_116_ >> 8;
			int i_118_ = i_116_ >> 5 & 0x7;
			int i_119_ = i_116_ & 0x1f;
			if (class205.handledSounds[i].length > 1) {
				int i_120_ = (int) (Math.random() * (double) (class205.handledSounds[i]).length);
				if (i_120_ > 0)
					i_117_ = class205.handledSounds[i][i_120_];
			}
			int i_121_ = 256;
			if (null != class205.soundMaxDelay && null != class205.soundMinDelay)
				i_121_ = ((int) (Math.random() * (double) (class205.soundMinDelay[i] - class205.soundMaxDelay[i])) + class205.soundMaxDelay[i]);
			int i_122_ = (null == class205.anIntArray2234 ? 255 : class205.anIntArray2234[i]);
			if (i_119_ == 0) {
				if (Class241.player == class647_sub1)
					method3854(Class189.aClass189_2140, i_117_, i_118_, i_122_, Class198.aClass198_2196.method3672((byte) 59), Class186.aClass186_2131, 0.0F, 0.0F, null, class647_sub1.aByte10821, i_121_, 0, -1523458662);
			} else {
				if (class647_sub1 == Class241.player) {
					if (Class449.aClass523_Sub33_4946.aClass687_Sub22_10631.method16930(1583752471) == 0)
						return;
				} else if (Class449.aClass523_Sub33_4946.aClass687_Sub22_10650.method16930(1271381796) == 0)
					return;
				if (-1903160879 * class205.anInt2214 != -1) {
					int i_123_ = 0;
					if (class647_sub1 instanceof Class647_Sub1_Sub3_Sub1)
						i_123_ = ((Class647_Sub1_Sub3_Sub1) class647_sub1).method18403((byte) -91);
					else if (class647_sub1 instanceof Class647_Sub1_Sub3_Sub4)
						i_123_ = ((Class647_Sub1_Sub3_Sub4) class647_sub1).method18574(-1595986494);
					else if (class647_sub1 instanceof Class647_Sub1_Sub3_Sub6)
						i_123_ = ((Class647_Sub1_Sub3_Sub6) class647_sub1).method18610(194968850);
					if (0 != i_123_ && i_123_ != Class241.player.method18403((byte) -30) && 1372123713 * client.anInt10999 != i_123_) {
						i_122_ = -1903160879 * class205.anInt2214 * i_122_ / 100;
						if (i_122_ < 0)
							i_122_ = 0;
						else if (i_122_ > 255)
							i_122_ = 255;
					}
				}
				Class437 class437 = class647_sub1.method10569().aClass437_4862;
				int i_124_ = (int) class437.aFloat4903 - 256 >> 9;
				int i_125_ = (int) class437.aFloat4905 - 256 >> 9;
				Class437 class437_126_ = new Class437((float) (i_124_ << 9), 0.0F, (float) (i_125_ << 9));
				int i_127_ = class647_sub1.aByte10821 << 24;
				method3854(Class189.aClass189_2136, i_117_, i_118_, i_122_, Class198.aClass198_2203.method3672((byte) 17), ((Class241.player != class647_sub1) ? Class186.aClass186_2130 : Class186.aClass186_2131), 0.0F, (float) (i_119_ << 9), class437_126_, i_127_, i_121_, 0, 1395441480);
			}
		}
	}

	public void method3919(int i) {
		if (aBool2287 && i >= 0)
			method3872(i, false, -2128408641);
	}

	List method3920(int i) {
		return aList2293;
	}

	Interface71 method3921(int i, boolean bool) {
		if (!aBool2287)
			return null;
		Interface71 interface71 = (Interface71) (bool ? aClass209_2286.method3767((long) i) : aClass209_2285.method3767((long) i));
		if (null == interface71) {
			if (bool)
				interface71 = (Interface71) aHashMap2294.get(Integer.valueOf(i));
			else
				interface71 = (Interface71) aHashMap2279.get(Integer.valueOf(i));
		}
		return interface71;
	}

	void method3922(int[] is) {
		if (aBool2287 && null != is) {
			int[] is_128_ = is;
			for (int i = 0; i < is_128_.length; i++) {
				int i_129_ = is_128_[i];
				method3870(i_129_, 1699045789);
			}
		}
	}

	public void method3923(int i) {
		Class231 class231 = (Class231) aHashMap2300.get(Integer.valueOf(i));
		if (null != class231) {
			List list = class231.method4236((byte) -59);
			Iterator iterator = list.iterator();
			while (iterator.hasNext()) {
				Class489 class489 = (Class489) iterator.next();
				if (!class489.method7981(1220424336))
					class489.method8032(622421193);
			}
		}
	}

	Class489 method3924(Interface71 interface71) {
		if (!aBool2287)
			return null;
		int i = 0;
		Iterator iterator = aList2280.iterator();
		while (iterator.hasNext()) {
			Class489 class489 = (Class489) iterator.next();
			i++;
			if (class489.method8004((short) 25453) == Class488.aClass488_5498) {
				class489.method7956(interface71, 1939022271);
				return class489;
			}
		}
		if (i >= 1099913575 * anInt2288)
			return null;
		Class489 class489 = interface71.method466(-2099713207);
		aList2280.add(class489);
		return class489;
	}

	Class489 method3925(Interface71 interface71) {
		if (!aBool2287)
			return null;
		int i = 0;
		Iterator iterator = aList2280.iterator();
		while (iterator.hasNext()) {
			Class489 class489 = (Class489) iterator.next();
			i++;
			if (class489.method8004((short) 11098) == Class488.aClass488_5498) {
				class489.method7956(interface71, 1939022271);
				return class489;
			}
		}
		if (i >= 1099913575 * anInt2288)
			return null;
		Class489 class489 = interface71.method466(-2025730857);
		aList2280.add(class489);
		return class489;
	}

	public void method3926(Class489 class489) {
		class489.method7966(this, 1069821372);
		aList2281.add(class489);
	}

	boolean method3927(Class437 class437, Class437 class437_130_, float f) {
		Class437 class437_131_ = Class437.method6932(class437_130_, class437);
		if (class437_131_.method6958() >= f)
			return false;
		return true;
	}

	boolean method3928(Class437 class437, Class437 class437_132_, float f) {
		Class437 class437_133_ = Class437.method6932(class437_132_, class437);
		if (class437_133_.method6958() >= f)
			return false;
		return true;
	}

	public int method3929() {
		return anInt2295 * -930893213;
	}

	public Class489 method3930(Class189 class189, Object object, int i, int i_134_, int i_135_, int i_136_, Class186 class186, float f, float f_137_, Class437 class437, int i_138_, int i_139_, boolean bool) {
		if (!aBool2287)
			return null;
		if (null == object)
			return null;
		i_135_ = Math.max(0, Math.min(i_135_, 255));
		i_139_ = Math.max(0, i_139_);
		if (class186 != Class186.aClass186_2131 && !method3875(aClass437_2284, class437, f_137_, 774074562))
			return null;
		if (i_139_ <= 0)
			i_139_ = 255;
		float f_140_ = (float) i_135_ / 255.0F;
		float f_141_ = (float) i_139_ / 255.0F;
		Interface71 interface71 = method3872(i, bool, -1968159351);
		Class489 class489 = method3873(interface71, -206070617);
		if (null == class489)
			return null;
		class489.method7966(object, 1069821372);
		class489.method7971(i_136_, (byte) 0);
		if (Class186.aClass186_2131 != class186) {
			class489.method7972(true, 1847950408);
			class489.method8031(class437, 656510332);
			class489.method7978(f, -559512495);
			class489.method8014(f_137_, 2115031998);
			if (Class186.aClass186_2128 == class186)
				class489.method7963(anInterface58_2290, 2127028973);
			else if (class186 == Class186.aClass186_2127)
				class489.method7963(anInterface58_2301, 1596123607);
			else if (class186 == Class186.aClass186_2130)
				class489.method7963(anInterface58_2298, 1781954076);
			else if (Class186.aClass186_2129 == class186)
				class489.method7963(anInterface58_2274, 1695974503);
			else
				class489.method7972(false, -56453991);
		}
		class489.method7983(f_140_, 0, -1645661677);
		class489.method7984(i_134_ > 1 || i_134_ < 0, i_134_ > 0 ? i_134_ - 1 : i_134_, 2033427882);
		class489.method8002(f_141_, 1355878601);
		class489.method7968(class189, 2349011);
		return class489;
	}

	public void method3931(int i, int i_142_) {
		if (anInt2291 * -134435587 != i) {
			if (aClass489_2282 != null) {
				aClass489_2282.method7960(0, (byte) 45);
				method3864(aClass489_2282, (byte) 24);
				aClass489_2282 = null;
			}
			Class489 class489 = method3877(Class189.aClass189_2145, this, i, 0, i_142_, Class198.aClass198_2199.method3672((byte) 83), Class186.aClass186_2131, 0.0F, 0.0F, null, 0, 255, true, (short) -8593);
			if (null != class489) {
				class489.method7958((byte) 0);
				aClass489_2282 = class489;
			}
			aBool2272 = false;
		}
	}

	public void method3932(int i, int i_143_) {
		if (anInt2291 * -134435587 != i) {
			if (aClass489_2282 != null) {
				aClass489_2282.method7960(0, (byte) 90);
				method3864(aClass489_2282, (byte) 24);
				aClass489_2282 = null;
			}
			Class489 class489 = method3877(Class189.aClass189_2145, this, i, 0, i_143_, Class198.aClass198_2199.method3672((byte) 48), Class186.aClass186_2131, 0.0F, 0.0F, null, 0, 255, true, (short) -8723);
			if (null != class489) {
				class489.method7958((byte) 0);
				aClass489_2282 = class489;
			}
			aBool2272 = false;
		}
	}

	public void method3933(int i, int i_144_) {
		if (anInt2291 * -134435587 != i) {
			if (aClass489_2282 != null) {
				aClass489_2282.method7960(0, (byte) 54);
				method3864(aClass489_2282, (byte) 24);
				aClass489_2282 = null;
			}
			Class489 class489 = method3877(Class189.aClass189_2145, this, i, 0, i_144_, Class198.aClass198_2199.method3672((byte) 44), Class186.aClass186_2131, 0.0F, 0.0F, null, 0, 255, true, (short) -7257);
			if (null != class489) {
				class489.method7958((byte) 0);
				aClass489_2282 = class489;
			}
			aBool2272 = false;
		}
	}

	Class209 method3934() {
		return aClass209_2286;
	}

	public void method3935(int i) {
		anInt2295 = -1905762485 * i;
	}

	public void method3936(int i) {
		anInt2295 = -1905762485 * i;
	}

	public void method3937(int i, int i_145_) {
		anInt2295 = -1905762485 * i;
	}

	public int method3938() {
		return anInt2295 * -930893213;
	}

	public void method3939(int i) {
		if (aBool2287) {
			Class554.method9170(-234169938);
			if (null != Class241.player && (Class241.player.method10569() != null)) {
				if (aClass437_2284 == null)
					aClass437_2284 = new Class437();
				aClass437_2284.aFloat4903 = (Class241.player.method10569().aClass437_4862.aFloat4903);
				aClass437_2284.aFloat4904 = 0.0F;
				aClass437_2284.aFloat4905 = (Class241.player.method10569().aClass437_4862.aFloat4905);
			}
			Iterator iterator = aHashMap2279.values().iterator();
			while (iterator.hasNext()) {
				Interface71 interface71 = (Interface71) iterator.next();
				interface71.method210(-1152841174);
			}
			iterator = aHashMap2294.values().iterator();
			while (iterator.hasNext()) {
				Interface71 interface71 = (Interface71) iterator.next();
				interface71.method210(-1866690526);
			}
			iterator = aList2293.iterator();
			while (iterator.hasNext()) {
				Interface71 interface71 = (Interface71) iterator.next();
				if (interface71.method477((short) 8637))
					aHashMap2294.remove(Integer.valueOf(interface71.method455((byte) 95)));
				else
					aHashMap2279.remove(Integer.valueOf(interface71.method455((byte) 33)));
			}
			aList2293.clear();
			if (null != aClass489_2282 && (aClass489_2282.method8004((short) 18592) == Class488.aClass488_5489) && false == aBool2272 && client.aClass116_11058.aClass11_1413 != null && BaseVarType.method7761(client.anInt11136 * -2020118759, (byte) 94)) {
				Class523_Sub22 class523_sub22 = Class523_Sub18.method16042(OutgoingPacket.REQUEST_PLAY_MUSIC_PACKET, (client.aClass116_11058.aClass11_1413), 1370050649);
				class523_sub22.aClass523_Sub34_Sub2_10525.writeInt(aClass489_2282.method7973(2039884553).method455((byte) 70), -1250925717);
				client.aClass116_11058.method1974(class523_sub22, (byte) 94);
				aBool2272 = true;
			}
			iterator = aList2280.iterator();
			while (iterator.hasNext()) {
				Class489 class489 = (Class489) iterator.next();
				class489.method7982(317286039);
				class489.method7964((byte) -121);
				Class488 class488 = class489.method8004((short) 5196);
				if (class489.method7967((byte) 8) == this) {
					if (Class488.aClass488_5495 == class488 || Class488.aClass488_5493 == class488) {
						if ((class489.method7969(974654588) == Class189.aClass189_2145) || (class489.method7969(974654588) == Class189.aClass189_2146)) {
							if (aClass489_2282 == class489) {
								aBool2272 = false;
								aClass489_2282 = null;
								class489.method7957(1556710592);
								aList2281.remove(class489);
							} else {
								int i_146_ = class489.method7973(1449135116).method455((byte) 125);
								boolean bool = (method3906(Class198.aClass198_2199.method3672((byte) 61), (byte) 49) > 0.0F);
								if (!aBool2297 && bool) {
									if (anInt2291 * -134435587 == i_146_) {
										method3888(i_146_, -1976693318);
										anInt2291 = -1255264341;
									}
									class489.method7957(1991738028);
									aList2281.remove(class489);
								} else if (-1382292097 * anInt2296 == i_146_) {
									anInt2296 = -1027988095;
									aBool2297 = false;
									class489.method7957(1951096360);
									aList2281.remove(class489);
									Iterator iterator_147_ = aList2280.iterator();
									while (iterator_147_.hasNext()) {
										Class489 class489_148_ = (Class489) iterator_147_.next();
										if (class489_148_.method7969(974654588) == Class189.aClass189_2145) {
											int i_149_ = class489_148_.method7973(1726926906).method455((byte) 48);
											if (((anInt2291 * -134435587 == i_149_) && ((class489_148_.method8004((short) 16004)) == (Class488.aClass488_5495))) || ((class489_148_.method8004((short) 19657)) == Class488.aClass488_5496) || ((class489_148_.method8004((short) 4955)) == Class488.aClass488_5491) || ((class489_148_.method8004((short) 4234)) == (Class488.aClass488_5489))) {
												if ((class489_148_.method8004((short) 4590)) == Class488.aClass488_5495)
													class489_148_.method7988(-825298751);
												else
													class489_148_.method8032(1410342341);
												break;
											}
										}
									}
								} else if (bool) {
									if (false == aBool2297 || i_146_ != -134435587 * anInt2291) {
										class489.method7957(2009574717);
										aList2281.remove(class489);
									}
									if (false == aBool2297 && -134435587 * anInt2291 == i_146_) {
										anInt2291 = -1255264341;
										aClass489_2292 = null;
									}
								}
							}
						} else {
							Iterator iterator_150_ = aHashMap2300.keySet().iterator();
							while (iterator_150_.hasNext()) {
								int i_151_ = ((Integer) iterator_150_.next()).intValue();
								Class231 class231 = ((Class231) aHashMap2300.get(Integer.valueOf(i_151_)));
								if (class231.method4236((byte) -123).contains(class489)) {
									class231.method4235(class489, (byte) 26);
									break;
								}
							}
							class489.method7957(1840290217);
							aList2281.remove(class489);
						}
					} else if ((class489.method8004((short) 12632) != Class488.aClass488_5494) && (class489.method7977(2138772399) == Class198.aClass198_2199.method3672((byte) 21))) {
						boolean bool = (method3906(Class198.aClass198_2199.method3672((byte) 66), (byte) 62) > 1.0E-4F);
						if (!bool)
							class489.method7960(150, (byte) 89);
					}
				}
			}
		}
	}

	Class209 method3940() {
		return aClass209_2285;
	}

	public void method3941(int i) {
		anInt2295 = -1905762485 * i;
	}

	void method3942(int i) {
		if (null != client.aClass116_11058.aClass11_1413 && BaseVarType.method7761(client.anInt11136 * -2020118759, (byte) 16)) {
			Class523_Sub22 class523_sub22 = Class523_Sub18.method16042(OutgoingPacket.MUSIC_PACKET, (client.aClass116_11058.aClass11_1413), 1370050649);
			class523_sub22.aClass523_Sub34_Sub2_10525.writeInt(i, -895536616);
			client.aClass116_11058.method1974(class523_sub22, (byte) 80);
		}
	}

	public void method3943(int i) {
		sendMusic(i, 255, (byte) -99);
	}

	public void method3944(int i, int i_152_) {
		method3885(i, i_152_, false, 0, 0, 0, 0, 0, -1009568892);
	}

	public void method3945(int i, int i_153_, boolean bool, int i_154_, int i_155_, int i_156_, int i_157_, int i_158_) {
		if (aBool2287 && i != anInt2291 * -134435587) {
			if (aBool2297 && aClass489_2292 != null && -134435587 * anInt2291 != i) {
				aClass489_2292.method7988(-619947181);
				aClass489_2292.method7957(1533767879);
				aList2281.remove(aClass489_2292);
			}
			Class489 class489 = method3886(1418068097);
			if (null != class489 && class489.method7973(1571782800).method455((byte) 93) == i) {
				aClass489_2292 = class489;
				anInt2291 = (class489.method7973(1207674508).method455((byte) 30) * 1255264341);
			} else {
				boolean bool_159_ = false;
				if (anInt2291 * -134435587 >= 0) {
					Iterator iterator = aList2281.iterator();
					while (iterator.hasNext()) {
						Class489 class489_160_ = (Class489) iterator.next();
						if (class489_160_.method7969(974654588) == Class189.aClass189_2145) {
							class489_160_.method7960(2000, (byte) 105);
							bool_159_ = true;
						}
					}
				}
				aClass489_2292 = null;
				anInt2291 = -1255264341;
				Class489 class489_161_ = null;
				if (null != aClass489_2282 && aClass489_2282.method7973(1641603112) != null && aClass489_2282.method7973(286648445).method455((byte) 46) == i && (aClass489_2282.method8004((short) 31303) == Class488.aClass488_5489)) {
					class489_161_ = aClass489_2282;
					aClass489_2282 = null;
					aBool2272 = false;
				}
				if (null == class489_161_) {
					if (bool) {
						float f = (float) i_157_;
						float f_162_ = (float) i_158_;
						Class437 class437 = new Class437((float) i_155_, 0.0F, (float) i_156_);
						class489_161_ = method3877(Class189.aClass189_2145, this, i, 0, bool_159_ ? 0 : i_153_, (i == anInt2295 * -930893213 ? Class193.aClass193_2185.method3639(-1348393388) : Class198.aClass198_2199.method3672((byte) 33)), Class186.aClass186_2129, f, f_162_, class437, i_154_, 255, true, (short) -12385);
					} else
						class489_161_ = method3877(Class189.aClass189_2145, this, i, 0, bool_159_ ? 0 : i_153_, (anInt2295 * -930893213 == i ? Class193.aClass193_2185.method3639(-1864266171) : Class198.aClass198_2199.method3672((byte) 34)), Class186.aClass186_2131, 0.0F, 0.0F, null, 0, 255, true, (short) -11597);
				}
				if (class489_161_ != null) {
					if (bool_159_) {
						float f = (float) i_153_ / 255.0F;
						class489_161_.method7983(f, 2000, 1670418998);
					}
					class489_161_.method8032(1760195554);
					method3864(class489_161_, (byte) 24);
					aClass489_2292 = class489_161_;
					anInt2291 = 1255264341 * i;
					if (aBool2297)
						aClass489_2292.method7961(992477717);
					if (client.aClass116_11058.aClass11_1413 != null && BaseVarType.method7761(-2020118759 * client.anInt11136, (byte) 40)) {
						Class523_Sub22 class523_sub22 = Class523_Sub18.method16042((OutgoingPacket.REQUEST_PLAY_MUSIC_PACKET), (client.aClass116_11058.aClass11_1413), 1370050649);
						class523_sub22.aClass523_Sub34_Sub2_10525.writeInt(-134435587 * anInt2291, -1363272131);
						client.aClass116_11058.method1974(class523_sub22, (byte) 119);
					}
				}
			}
		}
	}

	Class489 method3946() {
		Iterator iterator = aList2281.iterator();
		while (iterator.hasNext()) {
			Class489 class489 = (Class489) iterator.next();
			if (class489.method7969(974654588) == Class189.aClass189_2145 && (class489.method8004((short) 8477) == Class488.aClass488_5492))
				return class489;
		}
		return null;
	}

	Class489 method3947() {
		Iterator iterator = aList2281.iterator();
		while (iterator.hasNext()) {
			Class489 class489 = (Class489) iterator.next();
			if (class489.method7969(974654588) == Class189.aClass189_2145 && (class489.method8004((short) 31630) == Class488.aClass488_5492))
				return class489;
		}
		return null;
	}

	Interface71 method3948(int i, boolean bool) {
		if (!aBool2287)
			return null;
		Interface71 interface71 = (Interface71) (bool ? aClass209_2286.method3767((long) i) : aClass209_2285.method3767((long) i));
		if (null == interface71) {
			if (bool)
				interface71 = (Interface71) aHashMap2294.get(Integer.valueOf(i));
			else
				interface71 = (Interface71) aHashMap2279.get(Integer.valueOf(i));
		}
		return interface71;
	}

	public void method3949() {
		Iterator iterator = aList2281.iterator();
		while (iterator.hasNext()) {
			Class489 class489 = (Class489) iterator.next();
			if (class489.method7969(974654588) == Class189.aClass189_2145) {
				class489.method7960(500, (byte) 1);
				if (class489.method7973(1669086971).method455((byte) 22) == -134435587 * anInt2291) {
					method3888(anInt2291 * -134435587, 471491827);
					break;
				}
			}
		}
		aClass489_2292 = null;
		anInt2291 = -1255264341;
	}

	public void method3950(int i, int i_163_) {
		if (aBool2287 && (!aBool2297 || i != -1382292097 * anInt2296)) {
			if (aBool2297 && -1382292097 * anInt2296 != i) {
				Iterator iterator = aList2280.iterator();
				while (iterator.hasNext()) {
					Class489 class489 = (Class489) iterator.next();
					if (class489.method7969(974654588) == Class189.aClass189_2146) {
						class489.method7957(1985401892);
						aList2281.remove(class489);
						aBool2297 = false;
						break;
					}
				}
			}
			if (0 != i_163_ && i != -1) {
				if (!aBool2297 && aClass489_2292 != null)
					aClass489_2292.method7961(919610552);
				Class489 class489 = method3877(Class189.aClass189_2146, this, i, 0, i_163_, Class198.aClass198_2199.method3672((byte) 97), Class186.aClass186_2131, 0.0F, 0.0F, null, 0, 255, true, (short) -22760);
				if (class489 != null) {
					class489.method8032(1219055008);
					method3864(class489, (byte) 24);
					aBool2297 = true;
					anInt2296 = i * 1027988095;
				}
			}
		}
	}

	List method3951() {
		return aList2281;
	}

	public void sendMusic(int i, int i_164_, byte i_165_) {
		method3885(i, i_164_, false, 0, 0, 0, 0, 0, -911417973);
	}

	public void method3953(AnimationDefinitions class205, int i) {
		if (class205 != null && class205.handledSounds != null && i < class205.handledSounds.length && class205.handledSounds[i] != null) {
			int i_166_ = class205.handledSounds[i][0];
			int i_167_ = i_166_ >> 8;
			int i_168_ = i_166_ >> 5 & 0x7;
			if (class205.handledSounds[i].length > 1) {
				int i_169_ = (int) (Math.random() * (double) (class205.handledSounds[i]).length);
				if (i_169_ > 0)
					i_167_ = class205.handledSounds[i][i_169_];
			}
			int i_170_ = 256;
			if (null != class205.soundMaxDelay && class205.soundMinDelay != null)
				i_170_ = (int) ((double) class205.soundMaxDelay[i] + (Math.random() * (double) (class205.soundMinDelay[i] - class205.soundMaxDelay[i])));
			int i_171_ = (class205.anIntArray2234 == null ? 255 : class205.anIntArray2234[i]);
			method3854(Class189.aClass189_2144, i_167_, i_168_, i_171_, Class198.aClass198_2203.method3672((byte) 68), Class186.aClass186_2131, 0.0F, 0.0F, null, 0, i_170_, 0, -894395850);
		}
	}

	static final void method3954(Class669 class669, byte i) {
		class669.anIntArray8557[(class669.anInt8558 += 2138772399) * 1357652815 - 1] = Class241.player.aClass72_11938.method1494((byte) 122) >> 3;
	}

	public static String method3955(long l, int i, int i_172_) {
		Class17.method776(l);
		int i_173_ = Class91.aCalendar893.get(11);
		int i_174_ = Class91.aCalendar893.get(12);
		int i_175_ = Class91.aCalendar893.get(13);
		return new StringBuilder().append(Integer.toString(i_173_ / 10)).append(i_173_ % 10).append(":").append(i_174_ / 10).append(i_174_ % 10).append(":").append(i_175_ / 10).append(i_175_ % 10).toString();
	}
}
