好友
阅读权限10
听众
最后登录1970-1-1
|
以下代码,修改那个位置才能绕过去?搞了2天了。
.class public Lcom/qingfeng/app/base/MyApp;
.super Landroid/app/Application;
.source "MyApp.java"
# static fields
.field public static TAG:Ljava/lang/String; = "smartglasses--> "
.field public static defut:Ljava/lang/String; = ""
.field public static deviceCode:Ljava/lang/String; = ""
.field public static downloadId:J = -0x1L
.field public static instance:Lcom/qingfeng/app/base/MyApp; = null
.field public static loginUserModel:Lc/h/a/i/d/a; = null
.field public static mac:Ljava/lang/String; = ""
.field public static pageName:Ljava/lang/String; = "other"
.field public static url_line:I = 0x1
# direct methods
.method public constructor <init>()V
.registers 1
.line 1
invoke-direct {p0}, Landroid/app/Application;-><init>()V
return-void
.end method
.method public static getInstance()Landroid/content/Context;
.registers 1
.line 1
sget-object v0, Lcom/qingfeng/app/base/MyApp;->instance:Lcom/qingfeng/app/base/MyApp;
return-object v0
.end method
.method public static getVipShow(J)Ljava/lang/String;
.registers 6
const-string v0, "已过期"
const-wide/16 v1, 0x0
cmp-long v3, p0, v1
if-nez v3, :cond_9
return-object v0
:cond_9
const-wide/32 v1, 0x5265c00
cmp-long v3, p0, v1
if-lez v3, :cond_29
.line 1
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
div-long/2addr p0, v1
long-to-double p0, p0
invoke-static {p0, p1}, Ljava/lang/Math;->floor(D)D
move-result-wide p0
double-to-int p0, p0
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p0, "天"
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
:cond_29
const-wide/32 v1, 0x36ee80
cmp-long v3, p0, v1
if-lez v3, :cond_49
.line 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
div-long/2addr p0, v1
long-to-double p0, p0
invoke-static {p0, p1}, Ljava/lang/Math;->floor(D)D
move-result-wide p0
double-to-int p0, p0
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p0, "小时"
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
:cond_49
const-wide/32 v1, 0xea60
cmp-long v3, p0, v1
if-lez v3, :cond_69
.line 3
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
div-long/2addr p0, v1
long-to-double p0, p0
invoke-static {p0, p1}, Ljava/lang/Math;->floor(D)D
move-result-wide p0
double-to-int p0, p0
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p0, "分钟"
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
:cond_69
return-object v0
.end method
.method private initAutoSize()V
.registers 1
return-void
.end method
# virtual methods
.method public attachBaseContext(Landroid/content/Context;)V
.registers 2
.line 1
invoke-super {p0, p1}, Landroid/app/Application;->attachBaseContext(Landroid/content/Context;)V
return-void
.end method
.method public onCreate()V
.registers 9
.line 1
invoke-super {p0}, Landroid/app/Application;->onCreate()V
.line 2
sput-object p0, Lcom/qingfeng/app/base/MyApp;->instance:Lcom/qingfeng/app/base/MyApp;
.line 3
invoke-static {}, Lcom/qingfeng/app/okhttp/OkHttpEngine;->getInstance()Lcom/qingfeng/app/okhttp/OkHttpEngine;
move-result-object v0
const-string v1, "android"
const-wide/16 v2, 0x12c
const-wide/16 v4, 0x12c
const-wide/16 v6, 0x12c
invoke-virtual/range {v0 .. v7}, Lcom/qingfeng/app/okhttp/OkHttpEngine;->init(Ljava/lang/String;JJJ)V
.line 4
invoke-static {p0}, Lcom/qingfeng/app/bean/dbbean/ObjectBox;->init(Landroid/content/Context;)V
.line 5
invoke-direct {p0}, Lcom/qingfeng/app/base/MyApp;->initAutoSize()V
.line 6
invoke-static {p0}, Lcom/qingfeng/app/util/Utils;->init(Landroid/app/Application;)V
.line 7
invoke-static {}, Lcom/qingfeng/app/util/VolleyUtils;->getVolleyUtils()Lcom/qingfeng/app/util/VolleyUtils;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/qingfeng/app/util/VolleyUtils;->init(Landroid/content/Context;)Lc/c/b/o;
return-void
.end method
.method public onLowMemory()V
.registers 1
.line 1
invoke-super {p0}, Landroid/app/Application;->onLowMemory()V
return-void
.end method
.method public onTerminate()V
.registers 1
.line 1
invoke-super {p0}, Landroid/app/Application;->onTerminate()V
return-void
.end method
.method public onTrimMemory(I)V
.registers 2
.line 1
invoke-super {p0, p1}, Landroid/app/Application;->onTrimMemory(I)V
return-void
.end method
|
|