Files
rr3-apk/smali/androidx/recyclerview/widget/GapWorker$1.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- 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
2026-02-18 16:13:44 -08:00

144 lines
2.8 KiB
Smali

.class Landroidx/recyclerview/widget/GapWorker$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/recyclerview/widget/GapWorker;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Comparator<",
"Landroidx/recyclerview/widget/GapWorker$Task;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 190
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public compare(Landroidx/recyclerview/widget/GapWorker$Task;Landroidx/recyclerview/widget/GapWorker$Task;)I
.locals 6
.line 194
iget-object v0, p1, Landroidx/recyclerview/widget/GapWorker$Task;->view:Landroidx/recyclerview/widget/RecyclerView;
const/4 v1, 0x0
const/4 v2, 0x1
if-nez v0, :cond_0
move v3, v2
goto :goto_0
:cond_0
move v3, v1
:goto_0
iget-object v4, p2, Landroidx/recyclerview/widget/GapWorker$Task;->view:Landroidx/recyclerview/widget/RecyclerView;
if-nez v4, :cond_1
move v4, v2
goto :goto_1
:cond_1
move v4, v1
:goto_1
const/4 v5, -0x1
if-eq v3, v4, :cond_3
if-nez v0, :cond_2
goto :goto_2
:cond_2
move v2, v5
:goto_2
return v2
.line 199
:cond_3
iget-boolean v0, p1, Landroidx/recyclerview/widget/GapWorker$Task;->immediate:Z
iget-boolean v3, p2, Landroidx/recyclerview/widget/GapWorker$Task;->immediate:Z
if-eq v0, v3, :cond_5
if-eqz v0, :cond_4
move v2, v5
:cond_4
return v2
.line 204
:cond_5
iget v0, p2, Landroidx/recyclerview/widget/GapWorker$Task;->viewVelocity:I
iget v2, p1, Landroidx/recyclerview/widget/GapWorker$Task;->viewVelocity:I
sub-int/2addr v0, v2
if-eqz v0, :cond_6
return v0
.line 208
:cond_6
iget p1, p1, Landroidx/recyclerview/widget/GapWorker$Task;->distanceToItem:I
iget p2, p2, Landroidx/recyclerview/widget/GapWorker$Task;->distanceToItem:I
sub-int/2addr p1, p2
if-eqz p1, :cond_7
return p1
:cond_7
return v1
.end method
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
.line 190
check-cast p1, Landroidx/recyclerview/widget/GapWorker$Task;
check-cast p2, Landroidx/recyclerview/widget/GapWorker$Task;
invoke-virtual {p0, p1, p2}, Landroidx/recyclerview/widget/GapWorker$1;->compare(Landroidx/recyclerview/widget/GapWorker$Task;Landroidx/recyclerview/widget/GapWorker$Task;)I
move-result p1
return p1
.end method