- 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
187 lines
4.8 KiB
Smali
187 lines
4.8 KiB
Smali
.class final Landroidx/core/view/ContentInfoCompat$Api31Impl;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x1f
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/core/view/ContentInfoCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Api31Impl"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 329
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static partition(Landroid/view/ContentInfo;Ljava/util/function/Predicate;)Landroid/util/Pair;
|
|
.locals 4
|
|
.param p0 # Landroid/view/ContentInfo;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/util/function/Predicate;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/view/ContentInfo;",
|
|
"Ljava/util/function/Predicate<",
|
|
"Landroid/content/ClipData$Item;",
|
|
">;)",
|
|
"Landroid/util/Pair<",
|
|
"Landroid/view/ContentInfo;",
|
|
"Landroid/view/ContentInfo;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 334
|
|
invoke-virtual {p0}, Landroid/view/ContentInfo;->getClip()Landroid/content/ClipData;
|
|
|
|
move-result-object v0
|
|
|
|
.line 335
|
|
invoke-virtual {v0}, Landroid/content/ClipData;->getItemCount()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-ne v1, v2, :cond_2
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 336
|
|
invoke-virtual {v0, v1}, Landroid/content/ClipData;->getItemAt(I)Landroid/content/ClipData$Item;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p1, v0}, Ljava/util/function/Predicate;->test(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
move-object v0, p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v0, v3
|
|
|
|
:goto_0
|
|
if-eqz p1, :cond_1
|
|
|
|
move-object p0, v3
|
|
|
|
.line 337
|
|
:cond_1
|
|
invoke-static {v0, p0}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 339
|
|
:cond_2
|
|
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
new-instance v1, Landroidx/core/view/ContentInfoCompat$Api31Impl$$ExternalSyntheticLambda0;
|
|
|
|
invoke-direct {v1, p1}, Landroidx/core/view/ContentInfoCompat$Api31Impl$$ExternalSyntheticLambda0;-><init>(Ljava/util/function/Predicate;)V
|
|
|
|
invoke-static {v0, v1}, Landroidx/core/view/ContentInfoCompat;->partition(Landroid/content/ClipData;Landroidx/core/util/Predicate;)Landroid/util/Pair;
|
|
|
|
move-result-object p1
|
|
|
|
.line 340
|
|
iget-object v0, p1, Landroid/util/Pair;->first:Ljava/lang/Object;
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
.line 341
|
|
invoke-static {v3, p0}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 342
|
|
:cond_3
|
|
iget-object v0, p1, Landroid/util/Pair;->second:Ljava/lang/Object;
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
.line 343
|
|
invoke-static {p0, v3}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 345
|
|
:cond_4
|
|
new-instance v0, Landroid/view/ContentInfo$Builder;
|
|
|
|
invoke-direct {v0, p0}, Landroid/view/ContentInfo$Builder;-><init>(Landroid/view/ContentInfo;)V
|
|
|
|
iget-object v1, p1, Landroid/util/Pair;->first:Ljava/lang/Object;
|
|
|
|
check-cast v1, Landroid/content/ClipData;
|
|
|
|
.line 346
|
|
invoke-virtual {v0, v1}, Landroid/view/ContentInfo$Builder;->setClip(Landroid/content/ClipData;)Landroid/view/ContentInfo$Builder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/view/ContentInfo$Builder;->build()Landroid/view/ContentInfo;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Landroid/view/ContentInfo$Builder;
|
|
|
|
invoke-direct {v1, p0}, Landroid/view/ContentInfo$Builder;-><init>(Landroid/view/ContentInfo;)V
|
|
|
|
iget-object p0, p1, Landroid/util/Pair;->second:Ljava/lang/Object;
|
|
|
|
check-cast p0, Landroid/content/ClipData;
|
|
|
|
.line 347
|
|
invoke-virtual {v1, p0}, Landroid/view/ContentInfo$Builder;->setClip(Landroid/content/ClipData;)Landroid/view/ContentInfo$Builder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Landroid/view/ContentInfo$Builder;->build()Landroid/view/ContentInfo;
|
|
|
|
move-result-object p0
|
|
|
|
.line 345
|
|
invoke-static {v0, p0}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|