package jagex;

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

final class Class272_Sub2 extends VarDomainType {
	public static Class106 aClass106_9517;

	Object method3670(VarDefinition class179) {
		if (class179.dataType == ScriptVarType.aClass283_3226)
			return Integer.valueOf(-1);
		return class179.dataType.getDefaultValue(1697142415);
	}

	Object method3672(VarDefinition class179, int i) {
		if (class179.dataType == ScriptVarType.aClass283_3226)
			return Integer.valueOf(-1);
		return class179.dataType.getDefaultValue(1697142415);
	}

	Class272_Sub2(JS5ConfigGroup jS5ConfigGroup, int i, boolean bool, boolean bool_0_) {
		super(jS5ConfigGroup, i, bool, bool_0_);
	}

	Object method3667(VarDefinition class179) {
		if (class179.dataType == ScriptVarType.aClass283_3226)
			return Integer.valueOf(-1);
		return class179.dataType.getDefaultValue(1697142415);
	}

	Object method3671(VarDefinition class179) {
		if (class179.dataType == ScriptVarType.aClass283_3226)
			return Integer.valueOf(-1);
		return class179.dataType.getDefaultValue(1697142415);
	}

	public static void method8875(boolean bool, int i) {
		for (Class572_Sub27 class572_sub27 = ((Class572_Sub27) Class572_Sub27.aClass675_9272.method7932((byte) 50)); null != class572_sub27; class572_sub27 = (Class572_Sub27) Class572_Sub27.aClass675_9272.method7926(1319923547)) {
			if (null != ((Class572_Sub27) class572_sub27).aClass603_9285) {
				((Class572_Sub27) class572_sub27).aClass603_9285.method7098(150, -1110366939);
				Class344.audio.method958((((Class572_Sub27) class572_sub27).aClass603_9285), -844063430);
				((Class572_Sub27) class572_sub27).aClass603_9285 = null;
			}
			if (((Class572_Sub27) class572_sub27).aClass603_9286 != null) {
				((Class572_Sub27) class572_sub27).aClass603_9286.method7098(150, -1110366939);
				Class344.audio.method958((((Class572_Sub27) class572_sub27).aClass603_9286), 462293738);
				((Class572_Sub27) class572_sub27).aClass603_9286 = null;
			}
			class572_sub27.method6794((byte) -14);
		}
		if (bool) {
			for (Class572_Sub27 class572_sub27 = ((Class572_Sub27) Class572_Sub27.aClass675_9261.method7932((byte) 50)); class572_sub27 != null; class572_sub27 = (Class572_Sub27) Class572_Sub27.aClass675_9261.method7926(1908023905)) {
				if (((Class572_Sub27) class572_sub27).aClass603_9285 != null) {
					((Class572_Sub27) class572_sub27).aClass603_9285.method7098(150, -1110366939);
					Class344.audio.method958((((Class572_Sub27) class572_sub27).aClass603_9285), 398921244);
					((Class572_Sub27) class572_sub27).aClass603_9285 = null;
				}
				class572_sub27.method6794((byte) -4);
			}
			for (Class572_Sub27 class572_sub27 = ((Class572_Sub27) Class572_Sub27.aClass676_9262.method7968((byte) -18)); class572_sub27 != null; class572_sub27 = (Class572_Sub27) Class572_Sub27.aClass676_9262.method7969(1231132445)) {
				if (null != ((Class572_Sub27) class572_sub27).aClass603_9285) {
					((Class572_Sub27) class572_sub27).aClass603_9285.method7098(150, -1110366939);
					Class344.audio.method958((((Class572_Sub27) class572_sub27).aClass603_9285), 872930354);
					((Class572_Sub27) class572_sub27).aClass603_9285 = null;
				}
				class572_sub27.method6794((byte) 9);
			}
		}
	}
}
