PaymentCodeImpl.smali
.class Lcom/cm/plugincluster/softmgr/interfaces/scan/PaymentCodeImpl;
.super Ljava/lang/Object;
.source "PaymentCodeImpl.java"
# interfaces
.implements Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IPaymentCode;
# static fields
.field private static final PAYMENT_BIT_BASE:I = 0xe8
.field private static final P_PAYMENT_DEF:[I
.field private static final P_PAYMENT_OFFSET_PLUGIN:I = 0x0
.field private static final P_PAYMENT_OFFSET_PLUGIN_RISK:I = 0x1
# instance fields
.field private mBitFlag:[Z
# direct methods
.method static constructor <clinit>()V
.registers 1
.prologue
.line 12
const/4 v0, 0x2
new-array v0, v0, [I
fill-array-data v0, :array_a
sput-object v0, Lcom/cm/plugincluster/softmgr/interfaces/scan/PaymentCodeImpl;->P_PAYMENT_DEF:[I
return-void
nop
:array_a
.array-data 4
0xe8
0xe9
.end array-data
.end method
.method public constructor <init>(Lcom/cm/plugincluster/softmgr/interfaces/scan/ICodeBitPaser;)V
.registers 3
.prologue
.line 19
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 20
sget-object v0, Lcom/cm/plugincluster/softmgr/interfaces/scan/PaymentCodeImpl;->P_PAYMENT_DEF:[I
array-length v0, v0
new-array v0, v0, [Z
iput-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/PaymentCodeImpl;->mBitFlag:[Z
.line 22
invoke-direct {p0, p1}, Lcom/cm/plugincluster/softmgr/interfaces/scan/PaymentCodeImpl;->init(Lcom/cm/plugincluster/softmgr/interfaces/scan/ICodeBitPaser;)V
.line 23
return-void
.end method
.method private init(Lcom/cm/plugincluster/softmgr/interfaces/scan/ICodeBitPaser;)V
.registers 6
.prologue
const/4 v1, 0x0
.line 36
if-eqz p1, :cond_20
move v0, v1
.line 37
:goto_4
sget-object v2, Lcom/cm/plugincluster/softmgr/interfaces/scan/PaymentCodeImpl;->P_PAYMENT_DEF:[I
array-length v2, v2
if-ge v0, v2, :cond_20
.line 38
sget-object v2, Lcom/cm/plugincluster/softmgr/interfaces/scan/PaymentCodeImpl;->P_PAYMENT_DEF:[I
aget v2, v2, v0
invoke-interface {p1, v2}, Lcom/cm/plugincluster/softmgr/interfaces/scan/ICodeBitPaser;->isHave(I)Z
move-result v2
if-eqz v2, :cond_1b
.line 39
iget-object v2, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/PaymentCodeImpl;->mBitFlag:[Z
const/4 v3, 0x1
aput-boolean v3, v2, v0
.line 37
:goto_18
add-int/lit8 v0, v0, 0x1
goto :goto_4
.line 41
:cond_1b
iget-object v2, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/PaymentCodeImpl;->mBitFlag:[Z
aput-boolean v1, v2, v0
goto :goto_18
.line 45
:cond_20
return-void
.end method
# virtual methods
.method public hasPlugIn()Z
.registers 3
.prologue
.line 27
iget-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/PaymentCodeImpl;->mBitFlag:[Z
const/4 v1, 0x0
aget-boolean v0, v0, v1
return v0
.end method
.method public hasRiskPlugIn()Z
.registers 3
.prologue
.line 32
iget-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/PaymentCodeImpl;->mBitFlag:[Z
const/4 v1, 0x1
aget-boolean v0, v0, v1
return v0
.end method