RootBeerNative.smali
.class public Lcom/scottyab/rootbeer/RootBeerNative;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static a:Z = false
# direct methods
.method public static constructor <clinit>()V
.registers 1
.line 1
:try_start_0
invoke-static {}, Lcom/scottyab/rootbeer/RootBeerNative;->a()V
const/4 v0, 0x1
.line 2
sput-boolean v0, Lcom/scottyab/rootbeer/RootBeerNative;->a:Z
:try_end_6
.catch Ljava/lang/UnsatisfiedLinkError; {:try_start_0 .. :try_end_6} :catch_7
goto :goto_b
:catch_7
move-exception v0
.line 3
invoke-static {v0}, Landroidx/cardview/a;->p(Ljava/lang/Object;)V
:goto_b
return-void
.end method
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a()V
.registers 3
.annotation build Landroid/annotation/SuppressLint;
value = {
"LogNotTimber"
}
.end annotation
const-string v0, "toolChecker"
.line 1
:try_start_2
invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
:try_end_5
.catchall {:try_start_2 .. :try_end_5} :catchall_6
goto :goto_2d
:catchall_6
move-exception v1
.line 2
invoke-static {}, Lcom/shopee/app/asm/fix/loadlibrary/a;->a()Z
move-result v2
if-eqz v2, :cond_39
.line 3
sget-object v1, Lcom/shopee/app/asm/fix/loadlibrary/a;->a:Lcom/getkeepsafe/relinker/e;
if-nez v1, :cond_17
.line 4
invoke-static {}, Lcom/getkeepsafe/relinker/c;->b()Lcom/getkeepsafe/relinker/e;
move-result-object v1
.line 5
sput-object v1, Lcom/shopee/app/asm/fix/loadlibrary/a;->a:Lcom/getkeepsafe/relinker/e;
.line 6
:cond_17
invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;
move-result-object v1
.line 7
invoke-static {v1}, Landroidx/appcompat/i;->O(Landroid/content/Context;)Landroid/content/Context;
move-result-object v1
if-nez v1, :cond_25
.line 8
invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;
move-result-object v1
.line 9
:cond_25
invoke-static {v1}, Lcom/shopee/app/asm/fix/loadlibrary/a;->b(Landroid/content/Context;)V
.line 10
:try_start_28
sget-object v2, Lcom/shopee/app/asm/fix/loadlibrary/a;->a:Lcom/getkeepsafe/relinker/e;
.line 11
invoke-virtual {v2, v1, v0}, Lcom/getkeepsafe/relinker/e;->b(Landroid/content/Context;Ljava/lang/String;)V
:try_end_2d
.catch Lcom/getkeepsafe/relinker/b; {:try_start_28 .. :try_end_2d} :catch_2e
:goto_2d
return-void
:catch_2e
move-exception v0
.line 12
new-instance v1, Ljava/lang/UnsatisfiedLinkError;
invoke-virtual {v0}, Ljava/lang/Throwable;->getLocalizedMessage()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Ljava/lang/UnsatisfiedLinkError;-><init>(Ljava/lang/String;)V
throw v1
.line 13
:cond_39
throw v1
.end method
# virtual methods
.method public native checkForRoot([Ljava/lang/Object;)I
.end method
.method public native setLogDebugMessages(Z)I
.end method