package com.tencent.mm.plugin.soter.b;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.soter.d.a;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.soter.a.b.b;
import com.tencent.soter.a.b.c;
import com.tencent.soter.a.b.e;

class h$1 implements b<c> {
    final /* synthetic */ h rNK;

    h$1(h hVar) {
        this.rNK = hVar;
    }

    public final /* synthetic */ void a(e eVar) {
        AppMethodBeat.i(59318);
        c cVar = (c) eVar;
        ab.i("MicroMsg.SoterNetDelegateUtil", "generate and upload ask onResult errCode: %d, errMsg: %s", new Object[]{Integer.valueOf(cVar.errCode), cVar.aIm});
        if (!cVar.isSuccess()) {
            a.fH(1, cVar.errCode);
            if (this.rNK.rNI != null) {
                this.rNK.rNI.EA(cVar.errCode);
            }
        } else if (this.rNK.rNI != null) {
            this.rNK.rNI.cvF();
            AppMethodBeat.o(59318);
            return;
        }
        AppMethodBeat.o(59318);
    }
}
