final boolean method1150(int i) {
        if (anIntArray2085 == null) {
            return true;
        }
        if (i != 20127) {
            return false;
        }
        int j = -1;
        if (anInt2099 != -1) {
            j = Class142_Sub27_Sub14.method1892(anInt2099);
        } else if (anInt2077 != -1) {
            j = Class21.settings[anInt2077];
        }
        if (j < 0 || ~(-1 + anIntArray2085.length) >= ~j || anIntArray2085[j] == -1) {
            int k = anIntArray2085[-1 + anIntArray2085.length];
            return k != -1;
        } else {
            return true;
        }
    }