- 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
126 lines
2.5 KiB
Smali
126 lines
2.5 KiB
Smali
.class Landroidx/core/text/TextDirectionHeuristicsCompat$AnyStrong;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroidx/core/text/TextDirectionHeuristicsCompat$TextDirectionAlgorithm;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/core/text/TextDirectionHeuristicsCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "AnyStrong"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field static final INSTANCE_RTL:Landroidx/core/text/TextDirectionHeuristicsCompat$AnyStrong;
|
|
|
|
|
|
# instance fields
|
|
.field private final mLookForRtl:Z
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
.line 235
|
|
new-instance v0, Landroidx/core/text/TextDirectionHeuristicsCompat$AnyStrong;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-direct {v0, v1}, Landroidx/core/text/TextDirectionHeuristicsCompat$AnyStrong;-><init>(Z)V
|
|
|
|
sput-object v0, Landroidx/core/text/TextDirectionHeuristicsCompat$AnyStrong;->INSTANCE_RTL:Landroidx/core/text/TextDirectionHeuristicsCompat$AnyStrong;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Z)V
|
|
.locals 0
|
|
|
|
.line 231
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-boolean p1, p0, Landroidx/core/text/TextDirectionHeuristicsCompat$AnyStrong;->mLookForRtl:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public checkRtl(Ljava/lang/CharSequence;II)I
|
|
.locals 4
|
|
|
|
add-int/2addr p3, p2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
move v1, v0
|
|
|
|
:goto_0
|
|
if-ge p2, p3, :cond_3
|
|
|
|
.line 208
|
|
invoke-interface {p1, p2}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
move-result v2
|
|
|
|
invoke-static {v2}, Ljava/lang/Character;->getDirectionality(C)B
|
|
|
|
move-result v2
|
|
|
|
invoke-static {v2}, Landroidx/core/text/TextDirectionHeuristicsCompat;->isRtlText(I)I
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
if-eq v2, v3, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
iget-boolean v1, p0, Landroidx/core/text/TextDirectionHeuristicsCompat$AnyStrong;->mLookForRtl:Z
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
return v3
|
|
|
|
:cond_1
|
|
move v1, v3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
iget-boolean v1, p0, Landroidx/core/text/TextDirectionHeuristicsCompat$AnyStrong;->mLookForRtl:Z
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
return v0
|
|
|
|
:goto_1
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
if-eqz v1, :cond_4
|
|
|
|
iget-boolean p1, p0, Landroidx/core/text/TextDirectionHeuristicsCompat$AnyStrong;->mLookForRtl:Z
|
|
|
|
return p1
|
|
|
|
:cond_4
|
|
const/4 p1, 0x2
|
|
|
|
return p1
|
|
.end method
|