final void method624(int i, int i_477_, int i_478_, int i_479_) {
	if ((mask & 0x80000) != 524288)
	    throw new IllegalStateException("FMT");
	for (int i_480_ = 0; i_480_ < anInt5351; i_480_++) {
	    int i_481_ = aShortArray5311[i_480_] & 0xffff;
	    int i_482_ = i_481_ >> 10 & 0x3f;
	    int i_483_ = i_481_ >> 7 & 0x7;
	    int i_484_ = i_481_ & 0x7f;
	    if (i != -1)
		i_482_ += (i - i_482_) * i_479_ >> 7;
	    if (i_477_ != -1)
		i_483_ += (i_477_ - i_483_) * i_479_ >> 7;
	    if (i_478_ != -1)
		i_484_ += (i_478_ - i_484_) * i_479_ >> 7;
	    aShortArray5311[i_480_]
		= (short) (i_482_ << 10 | i_483_ << 7 | i_484_);
	}
	if (aClass6Array5361 != null) {
	    for (int i_485_ = 0; i_485_ < amountPolygons; i_485_++) {
		Class6 class6 = aClass6Array5361[i_485_];
		Class350 class350 = aClass350Array5363[i_485_];
		((Class350) class350).anInt4313
		    = (((Class350) class350).anInt4313 & ~0xffffff
		       | (Class126.hslColorTable
			  [Class25.method303(((aShortArray5311
					       [((Class6) class6).anInt144])
					      & 0xffff),
					     30)]) & 0xffffff);
	    }
	}
	if (anInt5354 == 2)
	    anInt5354 = 1;
    }