InstructionTransformer$InstructionTransformVisitor.smali
.class final Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer$InstructionTransformVisitor;
.super Lcom/tencent/tinker/android/dx/instruction/InstructionVisitor;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x12
name = "InstructionTransformVisitor"
.end annotation
# instance fields
.field final synthetic this$0:Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;
# direct methods
.method constructor <init>(Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;Lcom/tencent/tinker/android/dx/instruction/InstructionVisitor;)V
.registers 3
iput-object p1, p0, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer$InstructionTransformVisitor;->this$0:Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;
invoke-direct {p0, p2}, Lcom/tencent/tinker/android/dx/instruction/InstructionVisitor;-><init>(Lcom/tencent/tinker/android/dx/instruction/InstructionVisitor;)V
return-void
.end method
.method private transformIndexIfNeeded(II)I
.registers 4
packed-switch p2, :pswitch_data_30
:goto_3
return p1
:pswitch_4
iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer$InstructionTransformVisitor;->this$0:Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;
# getter for: Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;->indexMap:Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;
invoke-static {v0}, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;->access$000(Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;)Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;->adjustStringIndex(I)I
move-result p1
goto :goto_3
:pswitch_f
iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer$InstructionTransformVisitor;->this$0:Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;
# getter for: Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;->indexMap:Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;
invoke-static {v0}, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;->access$000(Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;)Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;->adjustTypeIdIndex(I)I
move-result p1
goto :goto_3
:pswitch_1a
iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer$InstructionTransformVisitor;->this$0:Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;
# getter for: Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;->indexMap:Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;
invoke-static {v0}, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;->access$000(Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;)Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;->adjustFieldIdIndex(I)I
move-result p1
goto :goto_3
:pswitch_25
iget-object v0, p0, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer$InstructionTransformVisitor;->this$0:Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;
# getter for: Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;->indexMap:Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;
invoke-static {v0}, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;->access$000(Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer;)Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/tencent/tinker/commons/dexpatcher/util/AbstractIndexMap;->adjustMethodIdIndex(I)I
move-result p1
goto :goto_3
:pswitch_data_30
.packed-switch 0x2
:pswitch_f
:pswitch_4
:pswitch_25
:pswitch_1a
.end packed-switch
.end method
# virtual methods
.method public visitFiveRegisterInsn(IIIIIJIIIII)V
.registers 31
move-object/from16 v0, p0
move/from16 v1, p3
move/from16 v2, p4
invoke-direct {v0, v1, v2}, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer$InstructionTransformVisitor;->transformIndexIfNeeded(II)I
move-result v7
move-object/from16 v4, p0
move/from16 v5, p1
move/from16 v6, p2
move/from16 v8, p4
move/from16 v9, p5
move-wide/from16 v10, p6
move/from16 v12, p8
move/from16 v13, p9
move/from16 v14, p10
move/from16 v15, p11
move/from16 v16, p12
invoke-super/range {v4 .. v16}, Lcom/tencent/tinker/android/dx/instruction/InstructionVisitor;->visitFiveRegisterInsn(IIIIIJIIIII)V
return-void
.end method
.method public visitFourRegisterInsn(IIIIIJIIII)V
.registers 26
move/from16 v0, p3
move/from16 v1, p4
invoke-direct {p0, v0, v1}, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer$InstructionTransformVisitor;->transformIndexIfNeeded(II)I
move-result v5
move-object v2, p0
move v3, p1
move/from16 v4, p2
move/from16 v6, p4
move/from16 v7, p5
move-wide/from16 v8, p6
move/from16 v10, p8
move/from16 v11, p9
move/from16 v12, p10
move/from16 v13, p11
invoke-super/range {v2 .. v13}, Lcom/tencent/tinker/android/dx/instruction/InstructionVisitor;->visitFourRegisterInsn(IIIIIJIIII)V
return-void
.end method
.method public visitOneRegisterInsn(IIIIIJI)V
.registers 19
invoke-direct {p0, p3, p4}, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer$InstructionTransformVisitor;->transformIndexIfNeeded(II)I
move-result v3
move-object v0, p0
move v1, p1
move v2, p2
move v4, p4
move v5, p5
move-wide/from16 v6, p6
move/from16 v8, p8
invoke-super/range {v0 .. v8}, Lcom/tencent/tinker/android/dx/instruction/InstructionVisitor;->visitOneRegisterInsn(IIIIIJI)V
return-void
.end method
.method public visitRegisterRangeInsn(IIIIIJII)V
.registers 20
invoke-direct {p0, p3, p4}, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer$InstructionTransformVisitor;->transformIndexIfNeeded(II)I
move-result v3
move-object v0, p0
move v1, p1
move v2, p2
move v4, p4
move v5, p5
move-wide/from16 v6, p6
move/from16 v8, p8
move/from16 v9, p9
invoke-super/range {v0 .. v9}, Lcom/tencent/tinker/android/dx/instruction/InstructionVisitor;->visitRegisterRangeInsn(IIIIIJII)V
return-void
.end method
.method public visitThreeRegisterInsn(IIIIIJIII)V
.registers 25
move/from16 v0, p3
move/from16 v1, p4
invoke-direct {p0, v0, v1}, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer$InstructionTransformVisitor;->transformIndexIfNeeded(II)I
move-result v5
move-object v2, p0
move v3, p1
move/from16 v4, p2
move/from16 v6, p4
move/from16 v7, p5
move-wide/from16 v8, p6
move/from16 v10, p8
move/from16 v11, p9
move/from16 v12, p10
invoke-super/range {v2 .. v12}, Lcom/tencent/tinker/android/dx/instruction/InstructionVisitor;->visitThreeRegisterInsn(IIIIIJIII)V
return-void
.end method
.method public visitTwoRegisterInsn(IIIIIJII)V
.registers 20
invoke-direct {p0, p3, p4}, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer$InstructionTransformVisitor;->transformIndexIfNeeded(II)I
move-result v3
move-object v0, p0
move v1, p1
move v2, p2
move v4, p4
move v5, p5
move-wide/from16 v6, p6
move/from16 v8, p8
move/from16 v9, p9
invoke-super/range {v0 .. v9}, Lcom/tencent/tinker/android/dx/instruction/InstructionVisitor;->visitTwoRegisterInsn(IIIIIJII)V
return-void
.end method
.method public visitZeroRegisterInsn(IIIIIJ)V
.registers 16
invoke-direct {p0, p3, p4}, Lcom/tencent/tinker/commons/dexpatcher/util/InstructionTransformer$InstructionTransformVisitor;->transformIndexIfNeeded(II)I
move-result v3
move-object v0, p0
move v1, p1
move v2, p2
move v4, p4
move v5, p5
move-wide v6, p6
invoke-super/range {v0 .. v7}, Lcom/tencent/tinker/android/dx/instruction/InstructionVisitor;->visitZeroRegisterInsn(IIIIIJ)V
return-void
.end method