package com.tencent.mm.pluginsdk.model.app;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.af.j.b;
import com.tencent.mm.compatible.util.g;
import com.tencent.mm.model.aw;
import com.tencent.mm.model.c;
import com.tencent.mm.pluginsdk.model.app.ai.1;
import com.tencent.mm.pluginsdk.model.app.z.a;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.bo;
import com.tencent.mm.storage.bi;
import com.tencent.ytcommon.BuildConfig;

class ai$1$2 implements a {
    final /* synthetic */ int kDE;
    final /* synthetic */ 1 vcG;

    ai$1$2(1 1, int i) {
        this.vcG = 1;
        this.kDE = i;
    }

    public final void a(String str, String str2, String str3, String str4, String str5, long j) {
        boolean z;
        AppMethodBeat.i(27372);
        String str6 = "MicroMsg.NetSceneUploadAppAttach";
        String str7 = "summerbig NetSceneCheckBigFileUpload not exist_whencheck call back new md5[%s], aesKey[%s], signature[%s], aesKey[%s], signature[%s], amc null[%b], enableHitcheck[%b]";
        Object[] objArr = new Object[7];
        objArr[0] = str;
        objArr[1] = bo.anv(str2);
        objArr[2] = bo.anv(str3);
        objArr[3] = bo.anv(str4);
        objArr[4] = bo.anv(str5);
        if (this.vcG.vcF.csH == null) {
            z = true;
        } else {
            z = false;
        }
        objArr[5] = Boolean.valueOf(z);
        objArr[6] = Boolean.valueOf(this.vcG.vcF.fFs);
        ab.i(str6, str7, objArr);
        if (!bo.isNullOrNil(str3)) {
            this.vcG.vcF.pJj.field_signature = str3;
            this.vcG.vcF.pJj.field_fakeAeskey = str4;
            this.vcG.vcF.pJj.field_fakeSignature = str5;
            this.vcG.vcF.pJj.field_lastModifyTime = bo.anU();
            if (this.vcG.vcF.csH != null) {
                this.vcG.vcF.csH.filemd5 = str;
                this.vcG.vcF.csH.eyr = str2;
                this.vcG.vcF.csH.fgo = (int) j;
                aw.ZK();
                bi jf = c.XO().jf(this.vcG.vcF.pJj.field_msgInfoId);
                jf.setContent(b.a(this.vcG.vcF.csH, null, null));
                aw.ZK();
                c.XO().a(jf.field_msgId, jf);
            }
        }
        this.vcG.vcF.fFs = false;
        z = am.aUq().a(this.vcG.vcF.pJj, new String[0]);
        if (z) {
            aw.RS().aa(new 1(this));
            AppMethodBeat.o(27372);
            return;
        }
        ab.e("MicroMsg.NetSceneUploadAppAttach", "summerbig cdnCallback onGYNetEnd update info ret:".concat(String.valueOf(z)));
        this.vcG.vcF.retCode = -10000 - g.getLine();
        this.vcG.vcF.ehi.onSceneEnd(3, this.kDE, BuildConfig.FLAVOR, this.vcG.vcF);
        AppMethodBeat.o(27372);
    }
}
