好友
阅读权限10
听众
最后登录1970-1-1
|
iget-object v9 v8 Lcn/sg89/zc/lhzc$1;->val$ed:Landroid/widget/EditText;
invoke-virtual {v9} Landroid/widget/EditText;->getText()Landroid/text/Editable;
move-result-object v9
invoke-virtual {v9} Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v9
invoke-static {} Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
const-wide/16 v2 0x3e8
div-long/2addr v0 v2
const/4 v2 1
const/4 v3 1
label_19:
invoke-static {v9} Lcn/sg89/zc/lhzc;->h2b(Ljava/lang/String;)[B
move-result-object v9
array-length v4 v9
iget v5 v8 Lcn/sg89/zc/lhzc$1;->val$pwd:I
sub-int/2addr v4 v3
label_27:
if-lez v4 :label_42
aget-byte v6 v9 v4
add-int/lit8 v7 v4 -1
aget-byte v7 v9 v7
xor-int/2addr v6 v7
int-to-byte v6 v6
aput-byte v6 v9 v4
add-int/lit8 v4 v4 -1
goto :label_27
label_42:
aget-byte v4 v9 v2
xor-int/2addr v4 v5
int-to-byte v4 v4
aput-byte v4 v9 v2
new-instance v4 Ljava/lang/String;
const-string v5 "UTF-8"
invoke-direct {v4,v9,v5} Ljava/lang/String;-><init>([BLjava/lang/String;)V
label_55:
goto :label_57
label_56:
const/4 v4 0
label_57:
const/16 v9 0xa
label_59:
invoke-virtual {v4,v2,v9} Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v2
invoke-static {v2} Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
move-result-wide v5
label_67:
cmp-long v2 v0 v5
if-lez v2 :label_79
iget-object v9 v8 Lcn/sg89/zc/lhzc$1;->val$ctx:Landroid/content/Context;
const-string v0 "注册码过期"
invoke-static {v9,v0} Lcn/sg89/zc/lhzc;->toast(Landroid/content/Context;Ljava/lang/String;)V
return-void
label_79:
const/16 v2 0x12
label_81:
invoke-virtual {v4,v9,v2} Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v9
label_85:
iget-object v2 v8 Lcn/sg89/zc/lhzc$1;->val$sg:Ljava/lang/String;
invoke-virtual {v9,v2} Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2 :label_114
iget v2 v8 Lcn/sg89/zc/lhzc$1;->val$pwd:I
invoke-static {v2} Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-virtual {v9,v2} Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v9
if-eqz v9 :label_106
goto :label_114
label_106:
iget-object v9 v8 Lcn/sg89/zc/lhzc$1;->val$ctx:Landroid/content/Context;
const-string v0 "注册码错误"
invoke-static {v9,v0} Lcn/sg89/zc/lhzc;->toast(Landroid/content/Context;Ljava/lang/String;)V
goto :label_227
label_114:
iget-object v9 v8 Lcn/sg89/zc/lhzc$1;->val$sp:Landroid/content/SharedPreferences;
invoke-interface {v9} Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v9
const-string v2 "time"
invoke-interface {v9,v2,v5,v6} Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;
move-result-object v9
invoke-interface {v9} Landroid/content/SharedPreferences$Editor;->commit()Z
iget-object v9 v8 Lcn/sg89/zc/lhzc$1;->val$sp:Landroid/content/SharedPreferences;
invoke-interface {v9} Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v9
const-string v2 "lh"
invoke-interface {v9,v2,v3} Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
move-result-object v9
invoke-interface {v9} Landroid/content/SharedPreferences$Editor;->commit()Z
sub-long/2addr v5 v0
const-wide/32 v0 0x337cf500
cmp-long v9 v5 v0
if-gez v9 :label_215
const-wide/32 v0 0x15180
div-long v0 v5 v0
long-to-int v9 v0
int-to-long v0 v9
sub-long v2 v5 v0
long-to-int v2 v2
div-int/lit16 v2 v2 3600
int-to-long v3 v2
sub-long/2addr v5 v3
sub-long/2addr v5 v0
const-wide/16 v0 0x3c
div-long/2addr v5 v0
long-to-int v0 v5
iget-object v1 v8 Lcn/sg89/zc/lhzc$1;->val$ctx:Landroid/content/Context;
new-instance v3 Ljava/lang/StringBuilder;
invoke-direct {v3} Ljava/lang/StringBuilder;-><init>()V
const-string v4 "获得"
invoke-virtual {v3,v4} Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3,v9} Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v9 "天"
invoke-virtual {v3,v9} Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3,v2} Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v9 "时"
invoke-virtual {v3,v9} Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3,v0} Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v9 "分使用时间"
invoke-virtual {v3,v9} Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3} Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v9
invoke-static {v1,v9} Lcn/sg89/zc/lhzc;->toast(Landroid/content/Context;Ljava/lang/String;)V
goto :label_222
label_215:
iget-object v9 v8 Lcn/sg89/zc/lhzc$1;->val$ctx:Landroid/content/Context;
const-string v0 "恭喜永久激活"
invoke-static {v9,v0} Lcn/sg89/zc/lhzc;->toast(Landroid/content/Context;Ljava/lang/String;)V
label_222:
iget-object v9 v8 Lcn/sg89/zc/lhzc$1;->val$builder:Landroid/app/AlertDialog;
invoke-virtual {v9} Landroid/app/AlertDialog;->dismiss()V
label_227:
return-void
label_228:
invoke-static {} Lcn/sg89/zc/lhzc;->关闭程序()V
return-void
label_232:
return-void
#Handler Exceptions
.catch Ljava/lang/Exception;
start : label_19
end : label_55
handler : label_56
.end catch
.catch Ljava/lang/Exception;
start : label_59
end : label_67
handler : label_232
.end catch
.catch Ljava/lang/Exception;
start : label_81
end : label_85
handler : label_228
.end catch
直接怎么弄啊?怎么跳?小白一个啊,🙏🙏 |
|