final void aa(short i, short i_582_) {
	if (aShortArray5388 != null) {
	    if (!aBoolean5391 && i_582_ >= 0) {
		TextureDefinition class12
		    = ((AbstractToolkit) aHa_Sub1_5353).aD4579.getTexture(i_582_ & 0xffff,
							  -6662);
		if (((TextureDefinition) class12).aByte198 != 0
		    || ((TextureDefinition) class12).aByte211 != 0)
		    aBoolean5391 = true;
	    }
	    for (int i_583_ = 0; i_583_ < anInt5351; i_583_++) {
		if (aShortArray5388[i_583_] == i)
		    aShortArray5388[i_583_] = i_582_;
	    }
	}
    }