static final void method1757(int i, int j, boolean flag) {
        if (~i != ~Class117.anInt1861) {
            Class27.anIntArray504 = new int[i];
            for (int k = 0; ~i < ~k; k++) {
                Class27.anIntArray504[k] = (k << 12) / i;
            }

            Class117.anInt1861 = i;
            Class115.anInt1841 = i + -1;
            Class142_Sub8_Sub38.anInt4509 = i * 32;
        }
        if (flag) {
            method1757(96, -89, false);
        }
        if (j != Class142_Sub27_Sub11.anInt4820) {
            if (~Class117.anInt1861 == ~j) {
                Class129.anIntArray2049 = Class27.anIntArray504;
            } else {
                Class129.anIntArray2049 = new int[j];
                for (int l = 0; ~j < ~l; l++) {
                    Class129.anIntArray2049[l] = (l << 12) / j;
                }

            }
            Class99.anInt1688 = j - 1;
            Class142_Sub27_Sub11.anInt4820 = j;
        }
    }