- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
140 lines
3.2 KiB
Smali
140 lines
3.2 KiB
Smali
.class Landroidx/legacy/app/ActionBarDrawerToggle$SetIndicatorInfo;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/legacy/app/ActionBarDrawerToggle;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "SetIndicatorInfo"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field mSetHomeActionContentDescription:Ljava/lang/reflect/Method;
|
|
|
|
.field mSetHomeAsUpIndicator:Ljava/lang/reflect/Method;
|
|
|
|
.field mUpIndicatorView:Landroid/widget/ImageView;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/app/Activity;)V
|
|
.locals 6
|
|
|
|
const-class v0, Landroid/app/ActionBar;
|
|
|
|
.line 506
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
:try_start_0
|
|
const-string v3, "setHomeAsUpIndicator"
|
|
|
|
new-array v4, v2, [Ljava/lang/Class;
|
|
|
|
const-class v5, Landroid/graphics/drawable/Drawable;
|
|
|
|
aput-object v5, v4, v1
|
|
|
|
.line 508
|
|
invoke-virtual {v0, v3, v4}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, p0, Landroidx/legacy/app/ActionBarDrawerToggle$SetIndicatorInfo;->mSetHomeAsUpIndicator:Ljava/lang/reflect/Method;
|
|
|
|
const-string v3, "setHomeActionContentDescription"
|
|
|
|
new-array v4, v2, [Ljava/lang/Class;
|
|
|
|
sget-object v5, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
|
|
|
aput-object v5, v4, v1
|
|
|
|
.line 510
|
|
invoke-virtual {v0, v3, v4}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Landroidx/legacy/app/ActionBarDrawerToggle$SetIndicatorInfo;->mSetHomeActionContentDescription:Ljava/lang/reflect/Method;
|
|
:try_end_0
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
const v0, 0x102002c
|
|
|
|
.line 519
|
|
invoke-virtual {p1, v0}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 525
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/view/ViewGroup;
|
|
|
|
.line 526
|
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v3
|
|
|
|
const/4 v4, 0x2
|
|
|
|
if-eq v3, v4, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 532
|
|
:cond_1
|
|
invoke-virtual {p1, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
.line 533
|
|
invoke-virtual {p1, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
.line 534
|
|
invoke-virtual {v1}, Landroid/view/View;->getId()I
|
|
|
|
move-result v2
|
|
|
|
if-ne v2, v0, :cond_2
|
|
|
|
move-object v1, p1
|
|
|
|
.line 536
|
|
:cond_2
|
|
nop
|
|
|
|
instance-of p1, v1, Landroid/widget/ImageView;
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 538
|
|
check-cast v1, Landroid/widget/ImageView;
|
|
|
|
iput-object v1, p0, Landroidx/legacy/app/ActionBarDrawerToggle$SetIndicatorInfo;->mUpIndicatorView:Landroid/widget/ImageView;
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|