/*
 * Decompiled with CFR 0.152.
 */
public final class ne
extends gm {
    private int a;
    private int b;
    private int c;
    private w d;
    private String e;
    private String f;
    private int g;

    public final void b(ht ht2, int n, int n2) {
        ht2.a(this.d);
        int n3 = n + 4 + this.b + 4;
        n2 += this.a;
        int n4 = this.r - this.b - this.c - 16;
        if (this.e != null) {
            ht2.a(-16777216);
            ht2.a(this.e, n + 4, n2);
        }
        ht2.a(15199992);
        ht2.c(n3, n2, n4, this.d.l());
        ht2.a(4218283);
        ht2.c(n3, n2, n4 * this.g / 100, this.d.l());
        if (this.f != null) {
            ht2.a(-16777216);
            ht2.a(this.f, n + this.r - this.c - 4, n2);
        }
    }

    public ne(int n, w w2, int n2, int n3, int n4, String string, String string2, int n5) {
        super(0, 0, n, n2 + w2.l() + n2);
        if (n5 >= 0) {
            if (n5 > 100) {
                n5 = 100;
            }
        } else {
            n5 = 0;
        }
        this.d = w2;
        this.a = n2;
        this.b = n3;
        this.c = n4;
        this.e = string;
        this.f = string2;
        this.g = n5;
    }
}

