N.smali

.class public final Ls/h/e/l/l/N;
.super Ljava/lang/Object;


# static fields
.field static la:Z


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

    const/4 v1, 0x0

    const/4 v0, 0x1

    sput-boolean v0, Ls/h/e/l/l/N;->la:Z

    const/4 v3, 0x0

    :try_start_5
    new-instance v0, Ljava/lang/Object;

    invoke-direct {v0}, Ljava/lang/Object;-><init>()V
    :try_end_a
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_a} :catch_52
    .catchall {:try_start_5 .. :try_end_a} :catchall_61

    :try_start_a
    new-instance v2, Ljava/lang/Object;

    invoke-direct {v2}, Ljava/lang/Object;-><init>()V
    :try_end_f
    .catch Ljava/lang/Exception; {:try_start_a .. :try_end_f} :catch_b5
    .catchall {:try_start_a .. :try_end_f} :catchall_b0

    if-eqz v0, :cond_14

    :try_start_11
    invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
    :try_end_14
    .catch Ljava/lang/Exception; {:try_start_11 .. :try_end_14} :catch_aa

    :cond_14
    :goto_14
    if-eqz v2, :cond_19

    :try_start_16
    invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
    :try_end_19
    .catch Ljava/lang/Exception; {:try_start_16 .. :try_end_19} :catch_ad

    :cond_19
    :goto_19
    :try_start_19
    sget-boolean v0, Ls/h/e/l/l/N;->la:Z

    if-eqz v0, :cond_6e

    new-instance v0, Ljava/lang/StringBuilder;

    sget-object v1, Ls/h/e/l/l/S;->p:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "/libexec.so"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

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

    sget-boolean v0, Ls/h/e/l/l/S;->m:Z

    if-eqz v0, :cond_51

    new-instance v0, Ljava/lang/StringBuilder;

    sget-object v1, Ls/h/e/l/l/S;->p:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "/libexecmain.so"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/System;->load(Ljava/lang/String;)V
    :try_end_51
    .catch Ljava/lang/Throwable; {:try_start_19 .. :try_end_51} :catch_83

    :cond_51
    :goto_51
    return-void

    :catch_52
    move-exception v0

    move-object v0, v1

    :goto_54
    if-eqz v0, :cond_59

    :try_start_56
    invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
    :try_end_59
    .catch Ljava/lang/Exception; {:try_start_56 .. :try_end_59} :catch_a4

    :cond_59
    :goto_59
    if-eqz v1, :cond_19

    :try_start_5b
    invoke-virtual {v3}, Ljava/lang/Object;->hashCode()I
    :try_end_5e
    .catch Ljava/lang/Exception; {:try_start_5b .. :try_end_5e} :catch_5f

    goto :goto_19

    :catch_5f
    move-exception v0

    goto :goto_19

    :catchall_61
    move-exception v0

    move-object v2, v1

    :goto_63
    if-eqz v2, :cond_68

    :try_start_65
    invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
    :try_end_68
    .catch Ljava/lang/Exception; {:try_start_65 .. :try_end_68} :catch_a6

    :cond_68
    :goto_68
    if-eqz v1, :cond_6d

    :try_start_6a
    invoke-virtual {v3}, Ljava/lang/Object;->hashCode()I
    :try_end_6d
    .catch Ljava/lang/Exception; {:try_start_6a .. :try_end_6d} :catch_a8

    :cond_6d
    :goto_6d
    throw v0

    :cond_6e
    :try_start_6e
    invoke-static {}, Ls/h/e/l/l/N;->x()Z

    move-result v0

    if-nez v0, :cond_85

    const-string v0, "exec"

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

    sget-boolean v0, Ls/h/e/l/l/S;->m:Z

    if-eqz v0, :cond_51

    const-string v0, "execmain"

    invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
    :try_end_82
    .catch Ljava/lang/Throwable; {:try_start_6e .. :try_end_82} :catch_83

    goto :goto_51

    :catch_83
    move-exception v0

    goto :goto_51

    :cond_85
    :try_start_85
    const-string v0, "exec_x86"

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

    sget-boolean v0, Ls/h/e/l/l/S;->m:Z

    if-eqz v0, :cond_51

    const-string v0, "execmain_x86"

    invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
    :try_end_93
    .catch Ljava/lang/Throwable; {:try_start_85 .. :try_end_93} :catch_94

    goto :goto_51

    :catch_94
    move-exception v0

    :try_start_95
    const-string v0, "exec"

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

    sget-boolean v0, Ls/h/e/l/l/S;->m:Z

    if-eqz v0, :cond_51

    const-string v0, "execmain"

    invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
    :try_end_a3
    .catch Ljava/lang/Throwable; {:try_start_95 .. :try_end_a3} :catch_83

    goto :goto_51

    :catch_a4
    move-exception v0

    goto :goto_59

    :catch_a6
    move-exception v2

    goto :goto_68

    :catch_a8
    move-exception v1

    goto :goto_6d

    :catch_aa
    move-exception v0

    goto/16 :goto_14

    :catch_ad
    move-exception v0

    goto/16 :goto_19

    :catchall_b0
    move-exception v2

    move-object v4, v2

    move-object v2, v0

    move-object v0, v4

    goto :goto_63

    :catch_b5
    move-exception v2

    goto :goto_54
.end method

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

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

    return-void
.end method

.method public static native al(Ljava/lang/ClassLoader;Landroid/content/pm/ApplicationInfo;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/ClassLoader;
.end method

.method public static native b2b([BI)[B
.end method

.method public static native l(Landroid/app/Application;Ljava/lang/String;)Z
.end method

.method public static native m(Ljava/lang/String;I)V
.end method

.method public static native r(Landroid/app/Application;Ljava/lang/String;)Z
.end method

.method public static native ra(Landroid/app/Application;Ljava/lang/String;)Z
.end method

.method public static native sa(Ljava/lang/String;Ljava/lang/String;)V
.end method

.method public static x()Z
    .registers 4

    :try_start_0
    new-instance v0, Ljava/io/BufferedReader;

    new-instance v1, Ljava/io/InputStreamReader;

    invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;

    move-result-object v2

    const-string v3, "getprop ro.product.cpu.abi"

    invoke-virtual {v2, v3}, Ljava/lang/Runtime;->exec(Ljava/lang/String;)Ljava/lang/Process;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Process;->getInputStream()Ljava/io/InputStream;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/io/InputStreamReader;-><init>(Ljava/io/InputStream;)V

    invoke-direct {v0, v1}, Ljava/io/BufferedReader;-><init>(Ljava/io/Reader;)V

    invoke-virtual {v0}, Ljava/io/BufferedReader;->readLine()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_29

    const-string v1, "x86"

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
    :try_end_23
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_23} :catch_28

    move-result v0

    if-eqz v0, :cond_29

    const/4 v0, 0x1

    :goto_27
    return v0

    :catch_28
    move-exception v0

    :cond_29
    const/4 v0, 0x0

    goto :goto_27
.end method