SparseIndexMap.smali

.class public Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;
.super Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;


# instance fields
.field private final annotationOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

.field private final annotationSetOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

.field private final annotationSetRefListOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

.field private final annotationsDirectoryOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

.field private final classDataOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

.field private final codeOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

.field private final debugInfoItemOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

.field private final deletedAnnotationOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final deletedAnnotationSetOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final deletedAnnotationSetRefListOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final deletedAnnotationsDirectoryOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final deletedClassDataOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final deletedCodeOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final deletedDebugInfoItemOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final deletedFieldIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final deletedMethodIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final deletedProtoIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final deletedStaticValuesOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final deletedStringIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final deletedTypeIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final deletedTypeListOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

.field private final fieldIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

.field private final methodIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

.field private final protoIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

.field private final staticValuesOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

.field private final stringIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

.field private final typeIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

.field private final typeListOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;


# direct methods
.method public constructor <init>()V
    .registers 2

    invoke-direct {p0}, Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;-><init>()V

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->stringIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->typeIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->protoIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->fieldIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->methodIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->typeListOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationSetOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationSetRefListOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationsDirectoryOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->staticValuesOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->classDataOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->debugInfoItemOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->codeOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedStringIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedTypeIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedProtoIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedFieldIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedMethodIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedTypeListOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedAnnotationOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedAnnotationSetOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedAnnotationSetRefListOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedAnnotationsDirectoryOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedStaticValuesOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedClassDataOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedDebugInfoItemOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    new-instance v0, Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-direct {v0}, Lcom/tencent/tinker/android/utils/SparseBoolArray;-><init>()V

    iput-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedCodeOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    return-void
.end method


# virtual methods
.method public adjustAnnotationOffset(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedAnnotationOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public adjustAnnotationSetOffset(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationSetOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedAnnotationSetOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationSetOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public adjustAnnotationSetRefListOffset(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationSetRefListOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedAnnotationSetRefListOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationSetRefListOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public adjustAnnotationsDirectoryOffset(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationsDirectoryOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedAnnotationsDirectoryOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationsDirectoryOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public adjustClassDataOffset(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->classDataOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedClassDataOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->classDataOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public adjustCodeOffset(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->codeOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedCodeOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->codeOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public adjustDebugInfoItemOffset(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->debugInfoItemOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedDebugInfoItemOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->debugInfoItemOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public adjustFieldIdIndex(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->fieldIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedFieldIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->fieldIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public adjustMethodIdIndex(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->methodIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedMethodIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->methodIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public adjustProtoIdIndex(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->protoIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedProtoIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->protoIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public adjustStaticValuesOffset(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->staticValuesOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedStaticValuesOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->staticValuesOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public adjustStringIndex(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->stringIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedStringIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->stringIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public adjustTypeIdIndex(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->typeIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedTypeIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->typeIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public adjustTypeListOffset(I)I
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->typeListOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseIntArray;->indexOfKey(I)I

    move-result v0

    if-gez v0, :cond_14

    if-ltz p1, :cond_13

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedTypeListOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    invoke-virtual {v0, p1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->containsKey(I)Z

    move-result v0

    if-eqz v0, :cond_13

    const/4 p1, -0x1

    :cond_13
    :goto_13
    return p1

    :cond_14
    iget-object v1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->typeListOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v1, v0}, Lcom/tencent/tinker/android/utils/SparseIntArray;->valueAt(I)I

    move-result p1

    goto :goto_13
.end method

.method public mapAnnotationOffset(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public mapAnnotationSetOffset(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationSetOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public mapAnnotationSetRefListOffset(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationSetRefListOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public mapAnnotationsDirectoryOffset(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->annotationsDirectoryOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public mapClassDataOffset(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->classDataOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public mapCodeOffset(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->codeOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public mapDebugInfoItemOffset(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->debugInfoItemOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public mapFieldIds(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->fieldIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public mapMethodIds(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->methodIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public mapProtoIds(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->protoIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public mapStaticValuesOffset(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->staticValuesOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public mapStringIds(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->stringIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public mapTypeIds(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->typeIdsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public mapTypeListOffset(II)V
    .registers 4

    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->typeListOffsetsMap:Lcom/tencent/tinker/android/utils/SparseIntArray;

    invoke-virtual {v0, p1, p2}, Lcom/tencent/tinker/android/utils/SparseIntArray;->put(II)V

    return-void
.end method

.method public markAnnotationDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedAnnotationOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method

.method public markAnnotationSetDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedAnnotationSetOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method

.method public markAnnotationSetRefListDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedAnnotationSetRefListOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method

.method public markAnnotationsDirectoryDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedAnnotationsDirectoryOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method

.method public markClassDataDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedClassDataOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method

.method public markCodeDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedCodeOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method

.method public markDebugInfoItemDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedDebugInfoItemOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method

.method public markFieldIdDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedFieldIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method

.method public markMethodIdDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedMethodIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method

.method public markProtoIdDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedProtoIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method

.method public markStaticValuesDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedStaticValuesOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method

.method public markStringIdDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedStringIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method

.method public markTypeIdDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedTypeIds:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method

.method public markTypeListDeleted(I)V
    .registers 4

    if-gez p1, :cond_3

    :goto_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/SparseIndexMap;->deletedTypeListOffsets:Lcom/tencent/tinker/android/utils/SparseBoolArray;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/tencent/tinker/android/utils/SparseBoolArray;->put(IZ)V

    goto :goto_2
.end method