package com.tencent.mm.plugin.aa.ui;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.protocal.protobuf.o;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.ui.widget.a.c;
import com.tencent.mm.vending.c.a;

class PaylistAAUI$2 implements a<Void, o> {
    final /* synthetic */ PaylistAAUI gpC;

    PaylistAAUI$2(PaylistAAUI paylistAAUI) {
        this.gpC = paylistAAUI;
    }

    public final /* synthetic */ Object call(Object obj) {
        AppMethodBeat.i(40866);
        o oVar = (o) obj;
        if (PaylistAAUI.d(this.gpC) != null) {
            PaylistAAUI.d(this.gpC).dismiss();
        }
        String str = "MicroMsg.PaylistAAUI";
        String str2 = "aapay return, alertItem: %s, alertItem.flag: %s";
        Object[] objArr = new Object[2];
        objArr[0] = oVar.vAf;
        objArr[1] = Integer.valueOf(oVar.vAf != null ? oVar.vAf.bJt : 0);
        ab.i(str, str2, objArr);
        if (oVar.vAf == null || oVar.vAf.bJt != 1) {
            ab.d("MicroMsg.PaylistAAUI", "aapay return, reqKey: %s", new Object[]{oVar.nYX});
            PaylistAAUI.a(this.gpC, oVar);
        } else {
            String str3 = oVar.vAf.cEh;
            String str4 = oVar.vAf.nZb;
            str = oVar.vAf.nZc;
            c.a aVar = new c.a(this.gpC);
            aVar.asE(str3);
            aVar.asJ(str).a(new 1(this, oVar));
            aVar.asK(str4);
            aVar.aMb().show();
        }
        Void voidR = zXH;
        AppMethodBeat.o(40866);
        return voidR;
    }
}
