SystemDelegate.smali
.class public Lcom/facebook/soloader/nativeloader/SystemDelegate;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/soloader/nativeloader/NativeLoaderDelegate;
# direct methods
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static INVOKESTATIC_com_facebook_soloader_nativeloader_SystemDelegate_com_shopee_app_asm_fix_loadlibrary_SoLoaderFixer_loadLibrary(Ljava/lang/String;)V
.registers 3
.annotation build Landroid/annotation/SuppressLint;
value = {
"LogNotTimber"
}
.end annotation
.line 1
:try_start_0
# invokes: Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
invoke-static {p0}, Lcom/facebook/soloader/nativeloader/SystemDelegate;->access$000(Ljava/lang/String;)V
:try_end_3
.catchall {:try_start_0 .. :try_end_3} :catchall_4
goto :goto_2b
:catchall_4
move-exception v0
.line 2
invoke-static {}, Lcom/shopee/app/asm/fix/loadlibrary/a;->a()Z
move-result v1
if-eqz v1, :cond_37
.line 3
sget-object v0, Lcom/shopee/app/asm/fix/loadlibrary/a;->a:Lcom/getkeepsafe/relinker/e;
if-nez v0, :cond_15
.line 4
invoke-static {}, Lcom/getkeepsafe/relinker/c;->b()Lcom/getkeepsafe/relinker/e;
move-result-object v0
.line 5
sput-object v0, Lcom/shopee/app/asm/fix/loadlibrary/a;->a:Lcom/getkeepsafe/relinker/e;
.line 6
:cond_15
invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;
move-result-object v0
.line 7
invoke-static {v0}, Landroidx/appcompat/i;->O(Landroid/content/Context;)Landroid/content/Context;
move-result-object v0
if-nez v0, :cond_23
.line 8
invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;
move-result-object v0
.line 9
:cond_23
invoke-static {v0}, Lcom/shopee/app/asm/fix/loadlibrary/a;->b(Landroid/content/Context;)V
.line 10
:try_start_26
sget-object v1, Lcom/shopee/app/asm/fix/loadlibrary/a;->a:Lcom/getkeepsafe/relinker/e;
.line 11
invoke-virtual {v1, v0, p0}, Lcom/getkeepsafe/relinker/e;->b(Landroid/content/Context;Ljava/lang/String;)V
:try_end_2b
.catch Lcom/getkeepsafe/relinker/b; {:try_start_26 .. :try_end_2b} :catch_2c
:goto_2b
return-void
:catch_2c
move-exception p0
.line 12
new-instance v0, Ljava/lang/UnsatisfiedLinkError;
invoke-virtual {p0}, Ljava/lang/Throwable;->getLocalizedMessage()Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/lang/UnsatisfiedLinkError;-><init>(Ljava/lang/String;)V
throw v0
.line 13
:cond_37
throw v0
.end method
.method public static synthetic access$000(Ljava/lang/String;)V
.registers 1
invoke-static {p0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method public getLibraryPath(Ljava/lang/String;)Ljava/lang/String;
.registers 2
const/4 p1, 0x0
return-object p1
.end method
.method public getSoSourcesVersion()I
.registers 2
const/4 v0, 0x0
return v0
.end method
.method public loadLibrary(Ljava/lang/String;I)Z
.registers 3
invoke-static {p1}, Lcom/facebook/soloader/nativeloader/SystemDelegate;->INVOKESTATIC_com_facebook_soloader_nativeloader_SystemDelegate_com_shopee_app_asm_fix_loadlibrary_SoLoaderFixer_loadLibrary(Ljava/lang/String;)V
const/4 p1, 0x1
return p1
.end method