package com.tencent.mm.plugin.wxcredit;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.ai.m;
import com.tencent.mm.plugin.wxcredit.a.b;
import com.tencent.mm.sdk.platformtools.bo;
import com.tencent.mm.ui.MMActivity;
import com.tencent.mm.wallet_core.d.g;
import com.tencent.mm.wallet_core.d.i;

class e$1 extends g {
    final /* synthetic */ e uYq;

    e$1(e eVar, MMActivity mMActivity, i iVar) {
        this.uYq = eVar;
        super(mMActivity, iVar);
    }

    public final boolean c(int i, int i2, String str, m mVar) {
        AppMethodBeat.i(48625);
        if (i == 0 && i2 == 0) {
            if (mVar instanceof b) {
                b bVar = (b) mVar;
                e.a(this.uYq).putString("KEY_SESSION_KEY", bVar.token);
                e.b(this.uYq).putString("key_pre_name", bVar.name);
                e.c(this.uYq).putString("key_pre_indentity", bVar.uYt);
                e.d(this.uYq).putBoolean("key_has_indentity_info", bVar.uYu);
            }
            this.uYq.a(this.hwd, 0, e.e(this.uYq));
            AppMethodBeat.o(48625);
            return true;
        }
        AppMethodBeat.o(48625);
        return false;
    }

    public final boolean p(Object... objArr) {
        int i = 0;
        AppMethodBeat.i(48626);
        e.f(this.uYq).putString("key_pwd1", (String) objArr[0]);
        i iVar = this.Agm;
        String str = (String) objArr[0];
        if (objArr[1] != null) {
            i = bo.ank((String) objArr[1]);
        }
        iVar.a(new b(str, i, e.g(this.uYq).getString("key_bank_type")), true, 1);
        AppMethodBeat.o(48626);
        return true;
    }
}
