package com.tencent.mm.plugin.walletlock.gesture.ui;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.ai.b;
import com.tencent.mm.ai.m;
import com.tencent.mm.ai.w.a;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.walletlock.c.i;
import com.tencent.mm.plugin.walletlock.gesture.a.d;
import com.tencent.mm.protocal.protobuf.bra;
import com.tencent.mm.sdk.platformtools.ab;

class GestureGuardLogicUI$5 implements a {
    final /* synthetic */ a fux;
    final /* synthetic */ GestureGuardLogicUI tVW;

    GestureGuardLogicUI$5(GestureGuardLogicUI gestureGuardLogicUI, a aVar) {
        this.tVW = gestureGuardLogicUI;
        this.fux = aVar;
    }

    public final int a(int i, int i2, String str, b bVar, m mVar) {
        AppMethodBeat.i(51590);
        ab.i("MicroMsg.GestureGuardLogicUI", String.format("Scene doSwitchOn, errType:%d, errCode:%d, errMsg:%s", new Object[]{Integer.valueOf(i), Integer.valueOf(i2), str}));
        GestureGuardLogicUI.o(this.tVW);
        if (i == 0 && i2 == 0) {
            d.a(((bra) bVar.fsH.fsP).wJw);
            GestureGuardLogicUI.cTQ();
            ((com.tencent.mm.plugin.walletlock.a.b) g.K(com.tencent.mm.plugin.walletlock.a.b.class)).HB(1);
        }
        i.tXc.cUf();
        if (this.fux != null) {
            int a = this.fux.a(i, i2, str, bVar, mVar);
            AppMethodBeat.o(51590);
            return a;
        }
        AppMethodBeat.o(51590);
        return 0;
    }
}
