AntiVirusFunc.smali

.class public Lcom/hoi/antivirus/AntiVirusFunc;
.super Ljava/lang/Object;
.source "AntiVirusFunc.java"


# static fields
.field private static bqj:Z


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .prologue
    .line 26
    const-string v0, "syscore"

    invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V

    .line 28
    const/4 v0, 0x1

    sput-boolean v0, Lcom/hoi/antivirus/AntiVirusFunc;->bqj:Z

    .line 29
    return-void
.end method

.method public constructor <init>()V
    .registers 1

    .prologue
    .line 19
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private native calchash(Ljava/lang/String;)Ljava/lang/String;
.end method


# virtual methods
.method public native CheckAdDexsigns(JLjava/lang/String;)Z
.end method

.method public native CheckPrivacyDexsigns(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
.end method

.method public native FreeAdDexsigns(J)V
.end method

.method public native FreePrivacyDexsigns(J)V
.end method

.method public native GetCallerClsName(JLjava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            "Ljava/util/ArrayList",
            "<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation
.end method

.method public native GetFirstMultipart(Ljava/lang/String;)[B
.end method

.method public native GetFirstMultipart2(Ljava/lang/String;Ljava/lang/String;I)[B
.end method

.method public native InitAdDexsigns(Ljava/lang/String;)J
.end method

.method public native InitPrivacyDexsigns(Ljava/lang/String;)J
.end method

.method public final a([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[B
    .registers 12

    .prologue
    const/4 v6, 0x0

    .line 39
    sget-boolean v0, Lcom/hoi/antivirus/AntiVirusFunc;->bqj:Z

    if-nez v0, :cond_7

    move-object v0, v6

    .line 46
    :goto_6
    return-object v0

    .line 43
    :cond_7
    const/16 v5, 0x53

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    move-object v4, p4

    :try_start_e
    invoke-virtual/range {v0 .. v5}, Lcom/hoi/antivirus/AntiVirusFunc;->getsignex([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)[B
    :try_end_11
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_e .. :try_end_11} :catch_13

    move-result-object v0

    goto :goto_6

    .line 46
    :catch_13
    move-exception v0

    move-object v0, v6

    goto :goto_6
.end method

.method public native avEngineCheckFile(Ljava/lang/String;I)Ljava/lang/Object;
.end method

.method public native avEngineCheckFilePrivate(Ljava/lang/String;I)[B
.end method

.method public native avEngineClose(I)I
.end method

.method public native avEngineLoad(Ljava/lang/String;Ljava/lang/String;I)I
.end method

.method public native calchashCk(Ljava/lang/String;)Ljava/lang/String;
.end method

.method public final fI(Ljava/lang/String;)Ljava/lang/String;
    .registers 3

    .prologue
    .line 108
    sget-boolean v0, Lcom/hoi/antivirus/AntiVirusFunc;->bqj:Z

    if-nez v0, :cond_7

    .line 109
    const-string v0, ""

    .line 119
    :cond_6
    :goto_6
    return-object v0

    .line 112
    :cond_7
    :try_start_7
    invoke-direct {p0, p1}, Lcom/hoi/antivirus/AntiVirusFunc;->calchash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 113
    if-nez v0, :cond_6

    .line 114
    const-string v0, ""
    :try_end_f
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_f} :catch_10
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_7 .. :try_end_f} :catch_14

    goto :goto_6

    .line 117
    :catch_10
    move-exception v0

    const-string v0, ""

    goto :goto_6

    .line 119
    :catch_14
    move-exception v0

    const-string v0, ""

    goto :goto_6
.end method

.method public native getFileAccessMode(Ljava/lang/String;)J
.end method

.method public native getsign([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)[B
.end method

.method public native getsignex([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)[B
.end method

.method public native getsignex2([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)[B
.end method

.method public native uploadRequest([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;I)[B
.end method