package com.tencent.mm.plugin.wxpay;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.g.a.lm;
import com.tencent.mm.kernel.c.a;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.fingerprint.b.d;
import com.tencent.mm.plugin.fingerprint.b.l;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
import com.tencent.mm.sdk.platformtools.ab;

class PluginWxPay$2 extends c<lm> {
    final /* synthetic */ PluginWxPay uZJ;

    PluginWxPay$2(PluginWxPay pluginWxPay) {
        this.uZJ = pluginWxPay;
        AppMethodBeat.i(48756);
        this.xxI = lm.class.getName().hashCode();
        AppMethodBeat.o(48756);
    }

    public final /* synthetic */ boolean a(b bVar) {
        a dVar;
        AppMethodBeat.i(48757);
        ab.d("MicroMsg.PluginWxPay", "soter initialized: %s, %s", new Object[]{Integer.valueOf(r8.cHn.errCode), ((lm) bVar).cHn.aIm});
        if (((lm) bVar).cHn.errCode != 0) {
            dVar = new d();
            dVar.bxp();
        } else if (com.tencent.soter.a.a.dRc()) {
            ab.i("MicroMsg.PluginWxPay", "new soter impl");
            dVar = new l();
            dVar.dP(null);
        } else {
            ab.i("MicroMsg.PluginWxPay", "new base impl");
            dVar = new d();
            dVar.bxp();
        }
        g.a(com.tencent.mm.pluginsdk.l.class, dVar);
        AppMethodBeat.o(48757);
        return false;
    }
}
