final Class39_Sub2 method1169(boolean flag, boolean flag1) {
        int j = anInt2161;
        int i = anInt2197;
        if (flag1) {
            i = anInt2177;
            j = anInt2157;
        }
        if (!flag) {
            readValue(13, null);
        }
        if (i == -1) {
            return null;
        }
        Class39_Sub2 class39Sub2 = Class39_Sub2.method439(Class142_Sub27_Sub21_Sub1.aClass73_5010, i, 0);
        if (j != -1) {
            Class39_Sub2 class39Sub2_1 = Class39_Sub2.method439(Class142_Sub27_Sub21_Sub1.aClass73_5010, j, 0);
            Class39_Sub2 aclass39_sub2[] = {
                class39Sub2, class39Sub2_1
            };
            class39Sub2 = new Class39_Sub2(aclass39_sub2, 2);
        }
        if (modifiedModelColors != null) {
            for (int k = 0; k < modifiedModelColors.length; k++) {
                class39Sub2.method427(modifiedModelColors[k], originalModelColors[k]);
            }

        }
        if (aShortArray2156 != null) {
            for (int l = 0; ~aShortArray2156.length < ~l; l++) {
                class39Sub2.method418(aShortArray2156[l], aShortArray2131[l]);
            }

        }
        return class39Sub2;
    }