|
|
本帖最后由 @老雪 于 2026-5-5 17:19 编辑
改一个字解锁会员功能这个是修改后的
顺便也修改了入口直入主页因为去了开屏广告还要等几秒才能进入主页所改了入口,改后无广告有直入主页看听都爽^_^.method public static s0()Z
.registers 4
const-string v0, ""
const/4 v1, 0x0<一一把这里0x0改成0x1
这个软件就我们解锁了
.line 1
:try_start_3
sget-object v2, Lqa/qx/q8/qk/qc/qd;->k:Lcom/yueyou/adreader/model/UserVipInfo;
if-nez v2, :cond_2f
const-string v2, "user_vip_info"
.line 2
invoke-static {v2, v0}, Lqa/qx/q8/qo/e;->E(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
.line 3
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v3
if-eqz v3, :cond_25
.line 4
new-instance v2, Lcom/yueyou/adreader/model/UserVipInfo;
invoke-direct {v2}, Lcom/yueyou/adreader/model/UserVipInfo;-><init>()V
sput-object v2, Lqa/qx/q8/qk/qc/qd;->k:Lcom/yueyou/adreader/model/UserVipInfo;
.line 5
invoke-virtual {v2, v0}, Lcom/yueyou/adreader/model/UserVipInfo;->setUserId(Ljava/lang/String;)V
.line 6
sget-object v0, Lqa/qx/q8/qk/qc/qd;->k:Lcom/yueyou/adreader/model/UserVipInfo;
const-string v2, "1970-01-01 00:00:00"
invoke-virtual {v0, v2}, Lcom/yueyou/adreader/model/UserVipInfo;->setVipEndTime(Ljava/lang/String;)V
goto :goto_2f
.line 7
:cond_25
const-class v0, Lcom/yueyou/adreader/model/UserVipInfo;
invoke-static {v2, v0}, Lqa/qx/q8/qo/e;->W0(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/yueyou/adreader/model/UserVipInfo;
sput-object v0, Lqa/qx/q8/qk/qc/qd;->k:Lcom/yueyou/adreader/model/UserVipInfo;
.line 8
:cond_2f
:goto_2f
invoke-static {}, Lqa/qx/q8/qk/qc/qd;->T()Ljava/lang/String;
move-result-object v0
.line 9
sget-object v2, Lqa/qx/q8/qk/qc/qd;->k:Lcom/yueyou/adreader/model/UserVipInfo;
invoke-virtual {v2}, Lcom/yueyou/adreader/model/UserVipInfo;->getUserId()Ljava/lang/String;
move-result-object v2
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_40
return v1
.line 10
:cond_40
new-instance v0, Ljava/text/SimpleDateFormat;
const-string v2, "yyyy-MM-dd HH:mm:ss"
invoke-direct {v0, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V
.line 11
sget-object v2, Lqa/qx/q8/qk/qc/qd;->k:Lcom/yueyou/adreader/model/UserVipInfo;
invoke-virtual {v2}, Lcom/yueyou/adreader/model/UserVipInfo;->getVipEndTime()Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v2}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;
move-result-object v0
.line 12
new-instance v2, Ljava/util/Date;
invoke-direct {v2}, Ljava/util/Date;-><init>()V
if-eqz v0, :cond_5f
.line 13
invoke-virtual {v2, v0}, Ljava/util/Date;->after(Ljava/util/Date;)Z
move-result v0
:try_end_5c
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_5c} :catch_60
if-nez v0, :cond_5f
const/4 v1, 0x1
:cond_5f
return v1
:catch_60
move-exception v0
.line 14
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
return v1
.end method
https://share.feijipan.com/s/L14ngdjw
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|