Weather/smali_classes4/com/tencent/open/utils/k.smali
2021-05-10 10:13:34 +02:00

162 lines
2.4 KiB
Smali

.class public final Lcom/tencent/open/utils/k;
.super Ljava/lang/Object;
.source "ProGuard"
# interfaces
.implements Ljava/lang/Cloneable;
# instance fields
.field private a:I
# direct methods
.method public constructor <init>(I)V
.locals 0
.line 35
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 36
iput p1, p0, Lcom/tencent/open/utils/k;->a:I
return-void
.end method
.method public constructor <init>([B)V
.locals 1
const/4 v0, 0x0
.line 15
invoke-direct {p0, p1, v0}, Lcom/tencent/open/utils/k;-><init>([BI)V
return-void
.end method
.method public constructor <init>([BI)V
.locals 2
.line 24
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
add-int/lit8 v0, p2, 0x1
.line 25
aget-byte v0, p1, v0
shl-int/lit8 v0, v0, 0x8
const v1, 0xff00
and-int/2addr v0, v1
iput v0, p0, Lcom/tencent/open/utils/k;->a:I
.line 26
iget v0, p0, Lcom/tencent/open/utils/k;->a:I
aget-byte p1, p1, p2
and-int/lit16 p1, p1, 0xff
add-int/2addr v0, p1
iput v0, p0, Lcom/tencent/open/utils/k;->a:I
return-void
.end method
# virtual methods
.method public a()[B
.locals 3
const/4 v0, 0x2
.line 61
new-array v0, v0, [B
.line 62
iget v1, p0, Lcom/tencent/open/utils/k;->a:I
and-int/lit16 v1, v1, 0xff
int-to-byte v1, v1
const/4 v2, 0x0
aput-byte v1, v0, v2
.line 63
iget v1, p0, Lcom/tencent/open/utils/k;->a:I
const v2, 0xff00
and-int/2addr v1, v2
shr-int/lit8 v1, v1, 0x8
int-to-byte v1, v1
const/4 v2, 0x1
aput-byte v1, v0, v2
return-object v0
.end method
.method public b()I
.locals 1
.line 74
iget v0, p0, Lcom/tencent/open/utils/k;->a:I
return v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 2
const/4 v0, 0x0
if-eqz p1, :cond_2
.line 47
instance-of v1, p1, Lcom/tencent/open/utils/k;
if-nez v1, :cond_0
goto :goto_0
.line 51
:cond_0
iget v1, p0, Lcom/tencent/open/utils/k;->a:I
check-cast p1, Lcom/tencent/open/utils/k;
invoke-virtual {p1}, Lcom/tencent/open/utils/k;->b()I
move-result p1
if-ne v1, p1, :cond_1
const/4 v0, 0x1
:cond_1
return v0
:cond_2
:goto_0
return v0
.end method
.method public hashCode()I
.locals 1
.line 85
iget v0, p0, Lcom/tencent/open/utils/k;->a:I
return v0
.end method