Class142_Sub27_Sub13(Class73 class73, Class73 class73_1, int i, boolean flag) {
        NodeList nodeList = new NodeList();
        int j = class73.method797(i);
        aClass98Array4845 = new Class98[j];
        int ai[] = class73.method772((byte) -69, i);
        for (int k = 0; k < ai.length; k++) {
            byte abyte0[] = class73.method774(ai[k], i);
            Class142_Sub21 class142_sub21 = null;
            int l = (0xff & abyte0[0]) << 8 | 0xff & abyte0[1];
            for (Class142_Sub21 class142_sub21_1 = (Class142_Sub21) nodeList.getTail(); class142_sub21_1 != null; class142_sub21_1 = (Class142_Sub21) nodeList.getPrev()) {
                if (~class142_sub21_1.anInt3573 != ~l) {
                    continue;
                }
                class142_sub21 = class142_sub21_1;
                break;
            }

            if (class142_sub21 == null) {
                byte abyte1[];
                if (flag) {
                    abyte1 = class73_1.method799(l, true, 0);
                } else {
                    abyte1 = class73_1.method799(0, true, l);
                }
                class142_sub21 = new Class142_Sub21(l, abyte1);
                nodeList.insertHead(class142_sub21);
            }
            aClass98Array4845[ai[k]] = new Class98(abyte0, class142_sub21);
        }

    }