private final int method1481(int i, int i_1_) {
	if (i_1_ == 255) {
	    int i_2_ = buffer.getUByte();
	    int i_3_ = buffer.method3366((byte) 112);
	    if (i_2_ == 47) {
		((ByteBuffer) buffer).position += i_3_;
		return 1;
	    }
	    if (i_2_ == 81) {
		int i_4_ = buffer.getTri();
		i_3_ -= 3;
		int i_5_ = ((MidiFile) this).anIntArray2681[i];
		aLong2680 += (long) i_5_ * (long) (anInt2684 - i_4_);
		anInt2684 = i_4_;
		((ByteBuffer) buffer).position += i_3_;
		return 2;
	    }
	    ((ByteBuffer) buffer).position += i_3_;
	    return 3;
	}
	byte i_6_ = aByteArray2676[i_1_ - 128];
	int i_7_ = i_1_;
	if (i_6_ >= 1)
	    i_7_ |= buffer.getUByte() << 8;
	if (i_6_ >= 2)
	    i_7_ |= buffer.getUByte() << 16;
	return i_7_;
    }