final void aa(short i, short i_284_) {
	anInt5590++;
	d var_d = ((AbstractToolkit) aHa_Sub2_5598).aD4579;
	for (int i_285_ = 0; i_285_ < anInt5632; i_285_++) {
	    if (aShortArray5601[i_285_] == i)
		aShortArray5601[i_285_] = i_284_;
	}
	byte i_286_ = 0;
	byte i_287_ = 0;
	if ((i ^ 0xffffffff) != 0) {
	    TextureDefinition class12 = var_d.getTexture(0xffff & i, -6662);
	    i_287_ = ((TextureDefinition) class12).aByte216;
	    i_286_ = ((TextureDefinition) class12).aByte201;
	}
	byte i_288_ = 0;
	byte i_289_ = 0;
	if (i_284_ != -1) {
	    TextureDefinition class12 = var_d.getTexture(i_284_ & 0xffff, -6662);
	    if (((TextureDefinition) class12).aByte198 != 0
		|| ((TextureDefinition) class12).aByte211 != 0)
		aBoolean5638 = true;
	    i_288_ = ((TextureDefinition) class12).aByte201;
	    i_289_ = ((TextureDefinition) class12).aByte216;
	}
	if ((i_289_ ^ 0xffffffff) != (i_287_ ^ 0xffffffff)
	    | (i_288_ ^ 0xffffffff) != (i_286_ ^ 0xffffffff)) {
	    if (aClass118Array5621 != null) {
		for (int i_290_ = 0; i_290_ < anInt5536; i_290_++) {
		    Class118 class118 = aClass118Array5621[i_290_];
		    Class48 class48 = aClass48Array5596[i_290_];
		    ((Class48) class48).anInt858
			= ((0xffffff
			    & (Class10.anIntArray179
			       [0xffff & (aShortArray5580
					  [((Class118) class118).anInt1783])]))
			   | ((Class48) class48).anInt858 & ~0xffffff);
		}
	    }
	    if (aClass123_5610 != null)
		((Class123) aClass123_5610).anInterface2_1811 = null;
	}
    }