private final int method680(int i, int i_29_, byte i_30_, short i_31_,
				int i_32_) {
	if (i != 19995)
	    return -13;
	anInt5582++;
	int i_33_ = (Class10.anIntArray179
		     [Class184.method1384(i_32_, i ^ 0x54b313bc, i_29_)]);
	if ((i_31_ ^ 0xffffffff) != 0) {
	    TextureDefinition class12
		= ((AbstractToolkit) aHa_Sub2_5598).aD4579.getTexture(i_31_ & 0xffff, -6662);
	    int i_34_ = 0xff & ((TextureDefinition) class12).aByte201;
	    if (i_34_ != 0) {
		int i_35_;
		if (i_29_ >= 0) {
		    if (i_29_ > 127)
			i_35_ = 16777215;
		    else
			i_35_ = 131586 * i_29_;
		} else
		    i_35_ = 0;
		if ((i_34_ ^ 0xffffffff) != -257) {
		    int i_36_ = i_34_;
		    int i_37_ = -i_34_ + 256;
		    i_33_
			= ((((i_35_ & 0xff00ff) * i_36_ - -(i_37_ * (0xff00ff
								     & i_33_))
			     & ~0xff00ff)
			    - -(0xff0000 & ((0xff00 & i_35_) * i_36_
					    + (i_33_ & 0xff00) * i_37_)))
			   >> -442870488);
		} else
		    i_33_ = i_35_;
	    }
	    int i_38_ = 0xff & ((TextureDefinition) class12).aByte216;
	    if ((i_38_ ^ 0xffffffff) != -1) {
		i_38_ += 256;
		int i_39_ = ((0xff0000 & i_33_) >> -336731376) * i_38_;
		if (i_39_ > 65535)
		    i_39_ = 65535;
		int i_40_ = i_38_ * (i_33_ >> -153584568 & 0xff);
		if (i_40_ > 65535)
		    i_40_ = 65535;
		int i_41_ = (0xff & i_33_) * i_38_;
		if (i_41_ > 65535)
		    i_41_ = 65535;
		i_33_ = (i_41_ >> 1063563368) + (((~0x5bff00ff & i_39_)
						  << -598599416)
						 - -(0xff00 & i_40_));
	    }
	}
	return (i_33_ << 1358092424) - (i_30_ & 0xff) - -255;
    }