a.smali
.class public final Lcom/proxy/ad/a/b/a;
.super Ljava/lang/Object;
# static fields
.field public static a:Z = false
.field private static b:[Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.registers 3
const-string v0, "api.imotech.tech"
const-string v1, "gray-api.imotech.tech"
const-string v2, "139.5.108.152:11098"
filled-new-array {v0, v1, v2}, [Ljava/lang/String;
move-result-object v0
sput-object v0, Lcom/proxy/ad/a/b/a;->b:[Ljava/lang/String;
return-void
.end method
.method public static a()Ljava/lang/String;
.registers 1
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->a()Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "139.5.108.152:11098"
return-object v0
:cond_9
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->b()Z
move-result v0
if-eqz v0, :cond_12
const-string v0, "gray-api.imotech.tech"
return-object v0
:cond_12
const-string v0, "api.imotech.tech"
return-object v0
.end method
.method public static a(Z)V
.registers 1
sput-boolean p0, Lcom/proxy/ad/a/b/a;->a:Z
return-void
.end method
.method public static a(Ljava/lang/String;)Z
.registers 5
const/4 v0, 0x0
const/4 v1, 0x0
:goto_2
sget-object v2, Lcom/proxy/ad/a/b/a;->b:[Ljava/lang/String;
array-length v3, v2
if-ge v1, v3, :cond_14
aget-object v2, v2, v1
invoke-virtual {p0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
move-result v2
if-eqz v2, :cond_11
const/4 v0, 0x1
goto :goto_14
:cond_11
add-int/lit8 v1, v1, 0x1
goto :goto_2
:cond_14
:goto_14
return v0
.end method
.method public static b()Ljava/lang/String;
.registers 1
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->a()Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "http://139.5.108.152:11098/Ad/GetConfig"
return-object v0
:cond_9
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->b()Z
move-result v0
if-eqz v0, :cond_12
const-string v0, "https://gray-api.imotech.tech/Ad/GetConfig"
return-object v0
:cond_12
const-string v0, "https://api.imotech.tech/Ad/GetConfig"
return-object v0
.end method
.method public static c()Ljava/lang/String;
.registers 1
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->a()Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "http://139.5.108.152:11098/Ad/GetAd"
return-object v0
:cond_9
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->b()Z
move-result v0
if-eqz v0, :cond_12
const-string v0, "https://gray-api.imotech.tech/Ad/GetAd"
return-object v0
:cond_12
const-string v0, "https://api.imotech.tech/Ad/GetAd"
return-object v0
.end method
.method public static d()Ljava/lang/String;
.registers 1
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->a()Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "http://139.5.108.152:11098/Ad/Callback"
return-object v0
:cond_9
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->b()Z
move-result v0
if-eqz v0, :cond_12
const-string v0, "https://gray-api.imotech.tech/Ad/Callback"
return-object v0
:cond_12
const-string v0, "https://api.imotech.tech/Ad/Callback"
return-object v0
.end method
.method public static e()Ljava/lang/String;
.registers 1
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->a()Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "http://139.5.108.152:11098/Ad/GetAds"
return-object v0
:cond_9
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->b()Z
move-result v0
if-eqz v0, :cond_12
const-string v0, "https://gray-api.imotech.tech/Ad/GetAds"
return-object v0
:cond_12
const-string v0, "https://api.imotech.tech/Ad/GetAds"
return-object v0
.end method
.method public static f()Ljava/lang/String;
.registers 1
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->a()Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "http://139.5.108.152:11098/Ad/GetCntlConfig"
return-object v0
:cond_9
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->b()Z
move-result v0
if-eqz v0, :cond_12
const-string v0, "https://gray-api.imotech.tech/Ad/GetCntlConfig"
return-object v0
:cond_12
const-string v0, "https://api.imotech.tech/Ad/GetCntlConfig"
return-object v0
.end method
.method public static g()Ljava/lang/String;
.registers 1
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->a()Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "http://139.5.108.152:11098/Ad/ReportChkApp"
return-object v0
:cond_9
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->b()Z
move-result v0
if-eqz v0, :cond_12
const-string v0, "https://gray-api.imotech.tech/Ad/ReportChkApp"
return-object v0
:cond_12
const-string v0, "https://api.imotech.tech/Ad/ReportChkApp"
return-object v0
.end method
.method public static h()Ljava/lang/String;
.registers 1
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->a()Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "http://139.5.108.152:11098/Ad/GetPreviewAd"
return-object v0
:cond_9
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->b()Z
move-result v0
if-eqz v0, :cond_12
const-string v0, "https://gray-api.imotech.tech/Ad/GetPreviewAd"
return-object v0
:cond_12
const-string v0, "https://api.imotech.tech/Ad/GetPreviewAd"
return-object v0
.end method
.method public static i()Ljava/lang/String;
.registers 1
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->a()Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "http://139.5.108.152:11098/Ad/GetPreviewAds"
return-object v0
:cond_9
invoke-static {}, Lcom/proxy/ad/net/AdsEnv;->b()Z
move-result v0
if-eqz v0, :cond_12
const-string v0, "https://gray-api.imotech.tech/Ad/GetPreviewAds"
return-object v0
:cond_12
const-string v0, "https://api.imotech.tech/Ad/GetPreviewAds"
return-object v0
.end method