WeChat.apk(点击下载) / l$$g.java


package com.tencent.mm.plugin.game;

import android.content.Context;
import com.tencent.mm.plugin.game.commlib.util.g;
import com.tencent.mm.sdk.platformtools.Log;
import com.tencent.mm.sdk.platformtools.Util;
import com.tencent.mm.vfs.VFSStrategy;
import com.tencent.mm.vfs.u1;
import d60.z;
import f92.d;
import h92.w0;
import java.io.File;
import java.util.ArrayList;
import lh4.m;
import n72.n;
import n72.q;
import q82.a;
import q82.c;
import yz3.j;

public class l$$g implements Runnable {

    /* renamed from: d  reason: collision with root package name */
    public final /* synthetic */ n.h f125159d;

    /* renamed from: e  reason: collision with root package name */
    public final /* synthetic */ n.f f125160e;

    /* renamed from: f  reason: collision with root package name */
    public final /* synthetic */ Context f125161f;

    public l$$g(l lVar, n.h hVar, n.f fVar, Context context) {
        this.f125159d = hVar;
        this.f125160e = fVar;
        this.f125161f = context;
    }

    /* JADX WARNING: Removed duplicated region for block: B:13:0x0096  */
    /* JADX WARNING: Removed duplicated region for block: B:16:0x00a0  */
    public void run() {
        String str;
        w0 w0Var = new w0();
        n.h hVar = this.f125159d;
        if (hVar != null) {
            String b15 = VFSStrategy.b("gameCenterVideos");
            ArrayList arrayList = new ArrayList();
            if (!u1.k(hVar.f269494c)) {
                Log.e("MicroMsg.MiniGameVideoProcessor", "gamelog.saveToGameCenterLocal, GameExternalService, file not exist path= " + hVar.f269494c);
            } else {
                StringBuilder sb5 = new StringBuilder();
                sb5.append(b15);
                String str2 = File.separator;
                sb5.append(str2);
                String sb6 = sb5.toString();
                if (!Util.isNullOrNil(hVar.f269492a)) {
                    sb6 = sb6 + hVar.f269492a + str2;
                }
                String i15 = z.b().i();
                m.f(i15, "account().uinString");
                a a15 = w0Var.a(hVar, sb6, i15);
                if (a15 != null) {
                    arrayList.add(a15);
                    ((c) ((q) j.c(q.class)).DC()).fb(arrayList);
                    w0Var.b(arrayList, 1);
                    str = a15.field_fileId;
                    if (str != null) {
                        n.f fVar = this.f125160e;
                        if (fVar != null) {
                            fVar.a("videoId is null save local failed");
                            return;
                        }
                        return;
                    }
                    d.f213501a = this.f125160e;
                    g.b(this.f125161f, "https://game.weixin.qq.com/cgi-bin/h5/static/appcenter/publish.html?wechat_pkgid=appcenter_publish&MiniGamePublish=1&needDelAfterPost=1&ssid=30&s_uia=1004&s_pid=1&s_cid=" + this.f125159d.f269492a + "&videoId=" + str, -1, true, null);
                    return;
                }
            }
        }
        str = null;
        if (str != null) {
        }
    }
}