/*
 * Decompiled with CFR 0.152.
 */
public class bb
extends jp {
    public final void a(boolean bl2) {
        this.b(bl2);
        super.a(bl2);
    }

    public bb(int n, int n2, int n3, int n4, int n5, w w2, String string, lc lc2, int n6, int n7, w[] wArray, le le2) {
        super(n, n2, n3, n4, n5, w2, string, false, lc2, n6, n7, wArray, le2);
        this.b(true);
    }

    public bb(int n, int n2, int n3, int n4, int n5, w w2, String string, lc lc2, int n6, w[] wArray, le le2) {
        this(n, n2, n3, n4, n5, w2, string, lc2, n6, n6, wArray, le2);
    }

    public final w a(int n, boolean bl2) {
        if (bl2) {
            if (n < this.k.length) {
                return this.k[n];
            }
            return this.b;
        }
        if (n <= this.l) {
            return super.a(n, bl2);
        }
        return null;
    }

    public final void b(boolean bl2) {
        int n = bb.d() * 2;
        if (bl2) {
            for (int i = 0; i < this.i.length; ++i) {
                n += this.a(i, bl2).l();
            }
        } else {
            n += this.b.l() * (this.l + 1);
        }
        this.m(n);
    }
}

