全自动共享软件破解器满足你的贪嗔痴
级别: 超级会员

UID: 215916
精华: 0
发帖: 31606
威望: 3587
霏币: 37675.8
活跃度: 32544
技术分: 1480
非凡币: 959
交易值: 0
在线时间: 7643(小时)
注册时间: 2013-03-03
最后登录: 2018-09-24
楼主  发表于: 2018-01-10 00:36:08

【】 代码看懂了就是不会修改求师傅指点迷途!

import com.tencent.qqlive.mediaplayer.api.TVK_IMediaPlayer;
import com.tencent.qqlivetv.tvplayer.TVMediaPlayerMgr$9;
import com.tencent.qqlivetv.tvplayer.TVMediaPlayerMgr;
import com.tencent.qqlivetv.tvplayer.model.TVMediaPlayerVideoInfo;
import com.tencent.qqlivetv.tvplayer.model.VideoCollection;
import com.tencent.qqlive.core.model.Video;
import java.lang.String;
import java.lang.StringBuilder;
import com.tencent.qqlivetv.model.vip.VipManagerProxy;
import com.ktcp.utils.log.TVCommonLog;
import com.tencent.qqlivetv.model.vip.VipSourceManager;
import com.tencent.qqlivetv.tvplayer.TVMediaPlayerVideoView;
import android.content.Context;
import android.app.Activity;
import com.ktcp.video.activity.TVPlayerActivity;
import android.os.Bundle;
import com.ktcp.video.h5.H5Helper;
import com.tencent.qqlivetv.model.stat.StatUtil;
import com.tencent.qqlivetv.model.stat.UniformStatData;
import com.tencent.qqlivetv.model.stat.UniformStatConstants$Page;
import com.tencent.qqlivetv.model.stat.UniformStatConstants$Module;
import java.util.Properties;
import com.tencent.qqlivetv.model.path.PathRecorder;

public void TVMediaPlayerMgr$9.onAdSkipClick(TVK_IMediaPlayer p0,boolean p1)        //method@b160
{
    const byte v2 = 1;
    const byte v8 = 0;
    const string v3 = "";
    const string v4 = "";
    if (TVMediaPlayerMgr.access$300(this.a)) {        
        if (TVMediaPlayerMgr.access$300(this.a).getCurrentVideoCollection()) {        
            String v3 = TVMediaPlayerMgr.access$300(this.a).getCurrentVideoCollection().id;
        }        
        if (TVMediaPlayerMgr.access$300(this.a).getCurrentVideo()) {        
            String v4 = TVMediaPlayerMgr.access$300(this.a).getCurrentVideo().getId();
        }        
        StringBuilder v1 =  new StringBuilder().append("播放广告时点击跳过 OnAdSkipClickListener cid = ").append(v3).append("  vid = ").append(v4);
        TVCommonLog.i("TVMediaPlayerMgr", v1.append(" vipbid ").append(VipManagerProxy.findBidByType(888)).toString());
        VipSourceManager.getInstance().setFirstSource(718);
        if (!TVMediaPlayerMgr.access$2000(this.a)) {        
        label_00e0:
            return;
        }        
        else {        
显然如果 能改变走向到达这个位置↓就有好果子吃了
   
       Context v0 = TVMediaPlayerMgr.access$2000(this.a).getContext();
            if (v0 instanceofTVPlayerActivity) {        
                v0.isStartPayOnH5 = v2;
            }        
            H5Helper.startPay(v0, VipManagerProxy.findBidByType(v2), v2, v3, v4, 220, "", TVMediaPlayerMgr.access$300(this.a).getExtras());
            UniformStatData v0 = StatUtil.getInitedStatData();
            v0.setElementData(UniformStatConstants$Page.PAGE_PLAYER_ACTIVITY.pageName, UniformStatConstants$Module.MODULE_AD.name, v8, v8, v8, v8, "mediaplayer_ad_clicked");
            StatUtil.setUniformStatData(v0,  new Properties(), PathRecorder.getInstance().getPath(), "click", v8);
            StatUtil.reportUAStream(v0);
            return;
        }        
    }        
}




复制代码
  1. .class Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr$9;
  2. .super Ljava/lang/Object;
  3. .source "TVMediaPlayerMgr.java"
  4. # interfaces
  5. .implements Lcom/tencent/qqlive/mediaplayer/api/TVK_IMediaPlayer$OnAdClickedListener;
  6. # annotations
  7. .annotation system Ldalvik/annotation/EnclosingClass;
  8.     value = Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;
  9. .end annotation
  10. .annotation system Ldalvik/annotation/InnerClass;
  11.     accessFlags = 0x0
  12.     name = null
  13. .end annotation
  14. # instance fields
  15. .field final synthetic a:Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;
  16. # direct methods
  17. .method constructor <init>(Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;)V
  18.     .locals 0
  19.     .prologue
  20.     .line 2572
  21.     iput-object p1, p0, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr$9;->a:Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;
  22.     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
  23.     return-void
  24. .end method
  25. # virtual methods
  26. .method public onAdExitFullScreenClick(Lcom/tencent/qqlive/mediaplayer/api/TVK_IMediaPlayer;)V
  27.     .locals 0
  28.     .prologue
  29.     .line 2629
  30.     return-void
  31. .end method
  32. .method public onAdFullScreenClick(Lcom/tencent/qqlive/mediaplayer/api/TVK_IMediaPlayer;)V
  33.     .locals 0
  34.     .prologue
  35.     .line 2623
  36.     return-void
  37. .end method
  38. .method public onAdReturnClick(Lcom/tencent/qqlive/mediaplayer/api/TVK_IMediaPlayer;)V
  39.     .locals 0
  40.     .prologue
  41.     .line 2577
  42.     return-void
  43. .end method
  44. .method public onAdSkipClick(Lcom/tencent/qqlive/mediaplayer/api/TVK_IMediaPlayer;Z)V
  45.     .locals 9
  46.     .prologue
  47.     const/4 v2, 0x1
  48.     const/4 v8, 0x0
  49.     .line 2582
  50.     const-string/jumbo v3, ""
  51.     .line 2583
  52.     const-string/jumbo v4, ""
  53.     .line 2585
  54.     iget-object v0, p0, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr$9;->a:Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;
  55.     # getter for: Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->mTVMediaPlayerVideoInfo:Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;
  56.     invoke-static {v0}, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->access$300(Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;)Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;
  57.     move-result-object v0
  58.     if-eqz v0, :cond_3
  59.     .line 2587
  60.     iget-object v0, p0, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr$9;->a:Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;
  61.     # getter for: Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->mTVMediaPlayerVideoInfo:Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;
  62.     invoke-static {v0}, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->access$300(Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;)Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;
  63.     move-result-object v0
  64.     invoke-virtual {v0}, Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;->getCurrentVideoCollection()Lcom/tencent/qqlivetv/tvplayer/model/VideoCollection;
  65.     move-result-object v0
  66.     if-eqz v0, :cond_0
  67.     .line 2589
  68.     iget-object v0, p0, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr$9;->a:Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;
  69.     # getter for: Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->mTVMediaPlayerVideoInfo:Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;
  70.     invoke-static {v0}, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->access$300(Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;)Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;
  71.     move-result-object v0
  72.     invoke-virtual {v0}, Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;->getCurrentVideoCollection()Lcom/tencent/qqlivetv/tvplayer/model/VideoCollection;
  73.     move-result-object v0
  74.     iget-object v3, v0, Lcom/tencent/qqlivetv/tvplayer/model/VideoCollection;->id:Ljava/lang/String;
  75.     .line 2592
  76.     :cond_0
  77.     iget-object v0, p0, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr$9;->a:Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;
  78.     # getter for: Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->mTVMediaPlayerVideoInfo:Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;
  79.     invoke-static {v0}, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->access$300(Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;)Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;
  80.     move-result-object v0
  81.     invoke-virtual {v0}, Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;->getCurrentVideo()Lcom/tencent/qqlive/core/model/Video;
  82.     move-result-object v0
  83.     if-eqz v0, :cond_1
  84.     .line 2594
  85.     iget-object v0, p0, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr$9;->a:Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;
  86.     # getter for: Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->mTVMediaPlayerVideoInfo:Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;
  87.     invoke-static {v0}, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->access$300(Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;)Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;
  88.     move-result-object v0
  89.     invoke-virtual {v0}, Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;->getCurrentVideo()Lcom/tencent/qqlive/core/model/Video;
  90.     move-result-object v0
  91.     invoke-virtual {v0}, Lcom/tencent/qqlive/core/model/Video;->getId()Ljava/lang/String;
  92.     move-result-object v4
  93.     .line 2596
  94.     :cond_1
  95.     const-string/jumbo v0, "TVMediaPlayerMgr"
  96.     new-instance v1, Ljava/lang/StringBuilder;
  97.     invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
  98.     const-string/jumbo v5, "\u64ad\u653e\u5e7f\u544a\u65f6\u70b9\u51fb\u8df3\u8fc7 OnAdSkipClickListener cid = "
  99.     invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  100.     move-result-object v1
  101.     invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  102.     move-result-object v1
  103.     const-string/jumbo v5, "  vid = "
  104.     invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  105.     move-result-object v1
  106.     invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  107.     move-result-object v1
  108.     const-string/jumbo v5, " vipbid "
  109.     invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  110.     move-result-object v1
  111.     const/16 v5, 0x378
  112.     .line 2597
  113.     invoke-static {v5}, Lcom/tencent/qqlivetv/model/vip/VipManagerProxy;->findBidByType(I)I
  114.     move-result v5
  115.     invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  116.     move-result-object v1
  117.     invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  118.     move-result-object v1
  119.     .line 2596
  120.     invoke-static {v0, v1}, Lcom/ktcp/utils/log/TVCommonLog;->i(Ljava/lang/String;Ljava/lang/String;)I
  121.     .line 2598
  122.     invoke-static {}, Lcom/tencent/qqlivetv/model/vip/VipSourceManager;->getInstance()Lcom/tencent/qqlivetv/model/vip/VipSourceManager;
  123.     move-result-object v0
  124.     const/16 v1, 0x2ce
  125.     invoke-virtual {v0, v1}, Lcom/tencent/qqlivetv/model/vip/VipSourceManager;->setFirstSource(I)V
  126.     .line 2600
  127.     iget-object v0, p0, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr$9;->a:Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;
  128.     # getter for: Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->mTVMediaPlayerVideoView:Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerVideoView;
  129.     invoke-static {v0}, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->access$2000(Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;)Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerVideoView;
  130.     move-result-object v0
  131.     if-eqz v0, :cond_3
  132.     .line 2602
  133.     iget-object v0, p0, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr$9;->a:Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;
  134.     # getter for: Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->mTVMediaPlayerVideoView:Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerVideoView;
  135.     invoke-static {v0}, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->access$2000(Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;)Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerVideoView;
  136.     move-result-object v0
  137.     invoke-virtual {v0}, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerVideoView;->getContext()Landroid/content/Context;
  138.     move-result-object v0
  139.     check-cast v0, Landroid/app/Activity;
  140.     .line 2603
  141.     instance-of v1, v0, Lcom/ktcp/video/activity/TVPlayerActivity;
  142.     if-eqz v1, :cond_2
  143.     move-object v1, v0
  144.     .line 2605
  145.     check-cast v1, Lcom/ktcp/video/activity/TVPlayerActivity;
  146.     iput-boolean v2, v1, Lcom/ktcp/video/activity/TVPlayerActivity;->isStartPayOnH5:Z
  147.     .line 2607
  148.     :cond_2
  149.     invoke-static {v2}, Lcom/tencent/qqlivetv/model/vip/VipManagerProxy;->findBidByType(I)I
  150.     move-result v1
  151.     const/16 v5, 0xdc
  152.     const-string/jumbo v6, ""
  153.     iget-object v7, p0, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr$9;->a:Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;
  154.     .line 2608
  155.     # getter for: Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->mTVMediaPlayerVideoInfo:Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;
  156.     invoke-static {v7}, Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;->access$300(Lcom/tencent/qqlivetv/tvplayer/TVMediaPlayerMgr;)Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;
  157.     move-result-object v7
  158.     invoke-virtual {v7}, Lcom/tencent/qqlivetv/tvplayer/model/TVMediaPlayerVideoInfo;->getExtras()Landroid/os/Bundle;
  159.     move-result-object v7
  160.     .line 2607
  161.     invoke-static/range {v0 .. v7}, Lcom/ktcp/video/h5/H5Helper;->startPay(Landroid/app/Activity;IILjava/lang/String;Ljava/lang/String;ILjava/lang/String;Landroid/os/Bundle;)V
  162.     .line 2609
  163.     invoke-static {}, Lcom/tencent/qqlivetv/model/stat/StatUtil;->getInitedStatData()Lcom/tencent/qqlivetv/model/stat/UniformStatData;
  164.     move-result-object v0
  165.     .line 2610
  166.     sget-object v1, Lcom/tencent/qqlivetv/model/stat/UniformStatConstants$Page;->PAGE_PLAYER_ACTIVITY:Lcom/tencent/qqlivetv/model/stat/UniformStatConstants$Page;
  167.     iget-object v1, v1, Lcom/tencent/qqlivetv/model/stat/UniformStatConstants$Page;->pageName:Ljava/lang/String;
  168.     sget-object v2, Lcom/tencent/qqlivetv/model/stat/UniformStatConstants$Module;->MODULE_AD:Lcom/tencent/qqlivetv/model/stat/UniformStatConstants$Module;
  169.     iget-object v2, v2, Lcom/tencent/qqlivetv/model/stat/UniformStatConstants$Module;->name:Ljava/lang/String;
  170.     const-string/jumbo v7, "mediaplayer_ad_clicked"
  171.     move-object v3, v8
  172.     move-object v4, v8
  173.     move-object v5, v8
  174.     move-object v6, v8
  175.     invoke-virtual/range {v0 .. v7}, Lcom/tencent/qqlivetv/model/stat/UniformStatData;->setElementData(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
  176.     .line 2611
  177.     new-instance v1, Ljava/util/Properties;
  178.     invoke-direct {v1}, Ljava/util/Properties;-><init>()V
  179.     .line 2613
  180.     invoke-static {}, Lcom/tencent/qqlivetv/model/path/PathRecorder;->getInstance()Lcom/tencent/qqlivetv/model/path/PathRecorder;
  181.     move-result-object v2
  182.     invoke-virtual {v2}, Lcom/tencent/qqlivetv/model/path/PathRecorder;->getPath()Ljava/lang/String;
  183.     move-result-object v2
  184.     const-string/jumbo v3, "click"
  185.     invoke-static {v0, v1, v2, v3, v8}, Lcom/tencent/qqlivetv/model/stat/StatUtil;->setUniformStatData(Lcom/tencent/qqlivetv/model/stat/UniformStatData;Ljava/util/Properties;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
  186.     .line 2614
  187.     invoke-static {v0}, Lcom/tencent/qqlivetv/model/stat/StatUtil;->reportUAStream(Lcom/tencent/qqlivetv/model/stat/UniformStatData;)V
  188.     .line 2617
  189.     :cond_3
  190.     return-void
  191. .end method
  192. .method public onAdWarnerTipClick(Lcom/tencent/qqlive/mediaplayer/api/TVK_IMediaPlayer;)V
  193.     .locals 0
  194.     .prologue
  195.     .line 2635
  196.     return-void
  197. .end method
  198. .method public onLandingViewClosed(Lcom/tencent/qqlive/mediaplayer/api/TVK_IMediaPlayer;)V
  199.     .locals 0
  200.     .prologue
  201.     .line 2641
  202.     return-void
  203. .end method
[ 此帖被发威时刻在2018-01-10 12:25重新编辑 ]