package com.tencent.mm.modelmulti;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.g.a.lx;
import com.tencent.mm.g.a.rv;
import com.tencent.mm.g.a.so;
import com.tencent.mm.hardcoder.WXHardCoderJNI;
import com.tencent.mm.kernel.g;
import com.tencent.mm.modelmulti.o.b;
import com.tencent.mm.modelmulti.o.e;
import com.tencent.mm.protocal.protobuf.bek;
import com.tencent.mm.sdk.b.a;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.ytcommon.BuildConfig;

class o$e$1 implements b {
    final /* synthetic */ e fJA;
    final /* synthetic */ bek fJy;
    final /* synthetic */ int fJz;

    o$e$1(e eVar, bek bek, int i) {
        this.fJA = eVar;
        this.fJy = bek;
        this.fJz = i;
    }

    public final boolean lO(int i) {
        AppMethodBeat.i(58404);
        g.RQ();
        g.RP().Ry().set(8196, Long.valueOf((long) this.fJy.vQe));
        boolean z = (this.fJy.vQe & this.fJA.fHJ) != 0;
        ab.i("MicroMsg.SyncService", "%s onFinishCmd ContinueFlag:%s canCont:%s SNSSYNCKEY:%s StorySyncKey:%s  NetSceneMinSync.this.selecto:%s", new Object[]{this.fJA, Integer.valueOf(this.fJy.vQe), Boolean.valueOf(z), Integer.valueOf(this.fJy.vQe & 256), Integer.valueOf(this.fJy.vQe & 128), Integer.valueOf(this.fJA.fHJ)});
        if (!(z || (this.fJy.vQe & 256) == 0)) {
            rv rvVar = new rv();
            rvVar.cNO.cvp = 3;
            a.xxA.m(rvVar);
        }
        if (!(z || (this.fJy.vQe & 2097152) == 0)) {
            a.xxA.m(new lx());
        }
        if (!(z || (this.fJy.vQe & 128) == 0)) {
            a.xxA.m(new so());
        }
        if (z) {
            if (i == 0 && this.fJA.fJw) {
                ab.w("MicroMsg.SyncService", "%s onFinishCmd is continue Sync , but no Cmd , I will not continue again.", new Object[]{this.fJA});
            } else {
                o.a(this.fJA.fJl, this.fJA.scene, this.fJA.fHJ);
            }
        }
        this.fJA.fJv.onSceneEnd(0, 0, BuildConfig.FLAVOR, this.fJA);
        o.a(this.fJA.fJl, this.fJA);
        WXHardCoderJNI.stopPerformance(WXHardCoderJNI.hcReceiveMsgEnable, this.fJz);
        AppMethodBeat.o(58404);
        return true;
    }
}
