Symbol.smali
.class public Lcom/yanzhenjie/zbar/Symbol;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final CODABAR:I = 0x26
.field public static final CODE128:I = 0x80
.field public static final CODE39:I = 0x27
.field public static final CODE93:I = 0x5d
.field public static final DATABAR:I = 0x22
.field public static final DATABAR_EXP:I = 0x23
.field public static final EAN13:I = 0xd
.field public static final EAN8:I = 0x8
.field public static final I25:I = 0x19
.field public static final ISBN10:I = 0xa
.field public static final ISBN13:I = 0xe
.field public static final NONE:I = 0x0
.field public static final PARTIAL:I = 0x1
.field public static final PDF417:I = 0x39
.field public static final QRCODE:I = 0x40
.field public static final UPCA:I = 0xc
.field public static final UPCE:I = 0x9
# instance fields
.field private peer:J
.field private type:I
# direct methods
.method public static constructor <clinit>()V
.registers 1
const-string v0, "zbar"
.line 1
invoke-static {v0}, Lcom/yanzhenjie/zbar/Symbol;->INVOKESTATIC_com_yanzhenjie_zbar_Symbol_com_shopee_app_asm_fix_loadlibrary_SoLoaderFixer_loadLibrary(Ljava/lang/String;)V
.line 2
invoke-static {}, Lcom/yanzhenjie/zbar/Symbol;->init()V
return-void
.end method
.method public constructor <init>(J)V
.registers 3
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-wide p1, p0, Lcom/yanzhenjie/zbar/Symbol;->peer:J
return-void
.end method
.method public static INVOKESTATIC_com_yanzhenjie_zbar_Symbol_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/yanzhenjie/zbar/Symbol;->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
.method private native destroy(J)V
.end method
.method private native getComponents(J)J
.end method
.method private native getLocationSize(J)I
.end method
.method private native getLocationX(JI)I
.end method
.method private native getLocationY(JI)I
.end method
.method private native getType(J)I
.end method
.method private static native init()V
.end method
# virtual methods
.method public declared-synchronized destroy()V
.registers 6
monitor-enter p0
.line 1
:try_start_1
iget-wide v0, p0, Lcom/yanzhenjie/zbar/Symbol;->peer:J
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-eqz v4, :cond_e
.line 2
invoke-direct {p0, v0, v1}, Lcom/yanzhenjie/zbar/Symbol;->destroy(J)V
.line 3
iput-wide v2, p0, Lcom/yanzhenjie/zbar/Symbol;->peer:J
:try_end_e
.catchall {:try_start_1 .. :try_end_e} :catchall_10
.line 4
:cond_e
monitor-exit p0
return-void
:catchall_10
move-exception v0
monitor-exit p0
throw v0
.end method
.method public finalize()V
.registers 1
invoke-virtual {p0}, Lcom/yanzhenjie/zbar/Symbol;->destroy()V
return-void
.end method
.method public getBounds()[I
.registers 11
.line 1
iget-wide v0, p0, Lcom/yanzhenjie/zbar/Symbol;->peer:J
invoke-direct {p0, v0, v1}, Lcom/yanzhenjie/zbar/Symbol;->getLocationSize(J)I
move-result v0
if-gtz v0, :cond_a
const/4 v0, 0x0
return-object v0
:cond_a
const/4 v1, 0x4
new-array v1, v1, [I
const/4 v2, 0x0
const/high16 v3, -0x80000000
const v4, 0x7fffffff
const/high16 v4, -0x80000000
const v5, 0x7fffffff
const v6, 0x7fffffff
const/4 v7, 0x0
:goto_1c
if-ge v7, v0, :cond_39
.line 2
iget-wide v8, p0, Lcom/yanzhenjie/zbar/Symbol;->peer:J
invoke-direct {p0, v8, v9, v7}, Lcom/yanzhenjie/zbar/Symbol;->getLocationX(JI)I
move-result v8
if-le v5, v8, :cond_27
move v5, v8
:cond_27
if-ge v3, v8, :cond_2a
move v3, v8
.line 3
:cond_2a
iget-wide v8, p0, Lcom/yanzhenjie/zbar/Symbol;->peer:J
invoke-direct {p0, v8, v9, v7}, Lcom/yanzhenjie/zbar/Symbol;->getLocationY(JI)I
move-result v8
if-le v6, v8, :cond_33
move v6, v8
:cond_33
if-ge v4, v8, :cond_36
move v4, v8
:cond_36
add-int/lit8 v7, v7, 0x1
goto :goto_1c
:cond_39
aput v5, v1, v2
const/4 v0, 0x1
aput v6, v1, v0
const/4 v0, 0x2
sub-int/2addr v3, v5
aput v3, v1, v0
const/4 v0, 0x3
sub-int/2addr v4, v6
aput v4, v1, v0
return-object v1
.end method
.method public getComponents()Lcom/yanzhenjie/zbar/SymbolSet;
.registers 4
new-instance v0, Lcom/yanzhenjie/zbar/SymbolSet;
iget-wide v1, p0, Lcom/yanzhenjie/zbar/Symbol;->peer:J
invoke-direct {p0, v1, v2}, Lcom/yanzhenjie/zbar/Symbol;->getComponents(J)J
move-result-wide v1
invoke-direct {v0, v1, v2}, Lcom/yanzhenjie/zbar/SymbolSet;-><init>(J)V
return-object v0
.end method
.method public native getConfigMask()I
.end method
.method public native getCount()I
.end method
.method public native getData()Ljava/lang/String;
.end method
.method public native getDataBytes()[B
.end method
.method public getLocationPoint(I)[I
.registers 5
const/4 v0, 0x2
new-array v0, v0, [I
.line 1
iget-wide v1, p0, Lcom/yanzhenjie/zbar/Symbol;->peer:J
invoke-direct {p0, v1, v2, p1}, Lcom/yanzhenjie/zbar/Symbol;->getLocationX(JI)I
move-result v1
const/4 v2, 0x0
aput v1, v0, v2
.line 2
iget-wide v1, p0, Lcom/yanzhenjie/zbar/Symbol;->peer:J
invoke-direct {p0, v1, v2, p1}, Lcom/yanzhenjie/zbar/Symbol;->getLocationY(JI)I
move-result p1
const/4 v1, 0x1
aput p1, v0, v1
return-object v0
.end method
.method public native getModifierMask()I
.end method
.method public native getOrientation()I
.end method
.method public native getQuality()I
.end method
.method public getType()I
.registers 3
.line 1
iget v0, p0, Lcom/yanzhenjie/zbar/Symbol;->type:I
if-nez v0, :cond_c
.line 2
iget-wide v0, p0, Lcom/yanzhenjie/zbar/Symbol;->peer:J
invoke-direct {p0, v0, v1}, Lcom/yanzhenjie/zbar/Symbol;->getType(J)I
move-result v0
iput v0, p0, Lcom/yanzhenjie/zbar/Symbol;->type:I
.line 3
:cond_c
iget v0, p0, Lcom/yanzhenjie/zbar/Symbol;->type:I
return v0
.end method
.method public native next()J
.end method