package com.tencent.mm.plugin.wallet.balance.a.a;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.protocal.protobuf.bqq;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.vending.c.a;
import com.tencent.mm.vending.g.b;

class x$3 implements a<Void, com.tencent.mm.ai.a.a<bqq>> {
    final /* synthetic */ b bQV;
    final /* synthetic */ x tfU;

    x$3(x xVar, b bVar) {
        this.tfU = xVar;
        this.bQV = bVar;
    }

    public final /* synthetic */ Object call(Object obj) {
        AppMethodBeat.i(45297);
        com.tencent.mm.ai.a.a aVar = (com.tencent.mm.ai.a.a) obj;
        ab.i("MicroMsg.LqtSaveFetchInteractor", "on redeem fund finish, cgiBack: %s, errType: %s, errCode: %s", new Object[]{aVar, Integer.valueOf(aVar.errType), Integer.valueOf(aVar.errCode)});
        if (aVar.errType == 0 && aVar.errCode == 0) {
            bqq bqq = (bqq) aVar.fsy;
            ab.i("MicroMsg.LqtSaveFetchInteractor", "on redeem fund finsih, retcode: %s, retmsg: %s", new Object[]{Integer.valueOf(bqq.kdT), bqq.kdU});
            if (bqq.kdT == 0) {
                ab.ach(bqq.tgu);
                this.bQV.B(new Object[]{bqq});
                h.pYm.a(663, 12, 1, false);
            } else {
                this.bQV.cR(bqq.kdU);
                h.pYm.a(663, 13, 1, false);
            }
        } else {
            this.bQV.cR(Boolean.FALSE);
            h.pYm.a(663, 14, 1, false);
        }
        Void voidR = zXH;
        AppMethodBeat.o(45297);
        return voidR;
    }
}
