final void ia(short i, short i_626_) {
	for (int i_627_ = 0; i_627_ < anInt5351; i_627_++) {
	    if (aShortArray5311[i_627_] == i)
		aShortArray5311[i_627_] = i_626_;
	}
	if (aClass6Array5361 != null) {
	    for (int i_628_ = 0; i_628_ < amountPolygons; i_628_++) {
		Class6 class6 = aClass6Array5361[i_628_];
		Class350 class350 = aClass350Array5363[i_628_];
		((Class350) class350).anInt4313
		    = (((Class350) class350).anInt4313 & ~0xffffff
		       | (Class126.hslColorTable
			  [Class25.method303((aShortArray5311
					      [((Class6) class6).anInt144]),
					     30) & 0xffff]) & 0xffffff);
	    }
	}
	if (anInt5354 == 2)
	    anInt5354 = 1;
    }