package com.tencent.mm.plugin.talkroom.model;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.model.aw;
import com.tencent.mm.plugin.talkroom.b.c;
import com.tencent.mm.plugin.talkroom.component.c.a;
import com.tencent.mm.sdk.platformtools.ah;
import com.tencent.mm.sdk.platformtools.ay;
import com.tencent.ytcommon.BuildConfig;

class g$6 extends a {
    final /* synthetic */ g syS;

    g$6(g gVar) {
        this.syS = gVar;
    }

    public final void p(int i, int i2, boolean z) {
        AppMethodBeat.i(25810);
        if (z) {
            g.b(this.syS, 0);
            g.a(this.syS).tO(BuildConfig.FLAVOR);
            AppMethodBeat.o(25810);
            return;
        }
        g.c(this.syS, i2);
        if (g.i(this.syS) == i) {
            AppMethodBeat.o(25810);
            return;
        }
        g.b(this.syS, i);
        String cEu = this.syS.cEu();
        if (!g.j(this.syS) && cEu == null) {
            g.k(this.syS);
            int e = g.e(this.syS);
            long f = g.f(this.syS);
            String g = g.g(this.syS);
            g gVar = this.syS;
            g.g(this.syS);
            aw.Rg().a(new c(e, f, g, gVar.cEt()), 0);
            f cEk = b.cEk();
            cEk.syf++;
            cEk = b.cEk();
            cEk.syg++;
        }
        g.a(this.syS).tO(cEu);
        ay.au(ah.getContext(), 2131304020);
        AppMethodBeat.o(25810);
    }
}
