final void aa(short s, short s_633_) {
		anInt5901++;
		d var_d = anAbstractToolkit5916.aD1543;
		for (int i = 0; i < anInt5813; i++) {
			if ((aShortArray5862[i] ^ 0xffffffff) == (s ^ 0xffffffff)) {
				aShortArray5862[i] = s_633_;
			}
		}
		byte b = 0;
		byte b_634_ = 0;
		if (s != -1) {
			Class91 class91 = var_d.method10(0xffff & s, -8217);
			b_634_ = class91.aByte1217;
			b = class91.aByte1225;
		}
		byte b_635_ = 0;
		byte b_636_ = 0;
		if ((s_633_ ^ 0xffffffff) != 0) {
			Class91 class91 = var_d.method10(s_633_ & 0xffff, -8217);
			b_636_ = class91.aByte1217;
			if ((class91.aByte1211 ^ 0xffffffff) != -1 || class91.aByte1203 != 0) {
				aBoolean5866 = true;
			}
			b_635_ = class91.aByte1225;
		}
		if (b != b_635_ | b_634_ != b_636_) {
			if (aClass268Array5856 != null) {
				for (int i = 0; anInt5811 > i; i++) {
					Class268 class268 = aClass268Array5856[i];
					Class14 class14 = aClass14Array5872[i];
					class14.anInt220 = Class85.anIntArray1158[aShortArray5802[class268.anInt3456] & 0xffff] & 0xffffff | class14.anInt220 & ~0xffffff;
				}
			}
			method703(0);
		}
	}