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

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.g.a.pn;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
import com.tencent.mm.sdk.platformtools.ab;
import com.tenpay.ndk.Encrypt;

class WalletCardElementUI$10 extends c<pn> {
    final /* synthetic */ WalletCardElementUI tGf;

    WalletCardElementUI$10(WalletCardElementUI walletCardElementUI) {
        this.tGf = walletCardElementUI;
        AppMethodBeat.i(47223);
        this.xxI = pn.class.getName().hashCode();
        AppMethodBeat.o(47223);
    }

    public final /* synthetic */ boolean a(b bVar) {
        AppMethodBeat.i(47224);
        pn pnVar = (pn) bVar;
        if (pnVar instanceof pn) {
            Encrypt encrypt = new Encrypt();
            String randomKey = encrypt.getRandomKey();
            WalletCardElementUI.a(this.tGf, encrypt.desedeEncode(pnVar.cLJ.cardId, randomKey), randomKey, pnVar.cLJ.cLK);
            AppMethodBeat.o(47224);
            return true;
        }
        ab.f("MicroMsg.WalletCardElmentUI", "mismatched scanBandkCardResultEvent event");
        AppMethodBeat.o(47224);
        return false;
    }
}
