Files
rr3-apk/smali_classes2/com/google/android/exoplayer2/MediaItem$LiveConfiguration.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

242 lines
5.6 KiB
Smali

.class public final Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/exoplayer2/MediaItem;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "LiveConfiguration"
.end annotation
# static fields
.field public static final CREATOR:Lcom/google/android/exoplayer2/Bundleable$Creator;
.field public static final UNSET:Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;
# instance fields
.field public final maxOffsetMs:J
.field public final maxPlaybackSpeed:F
.field public final minOffsetMs:J
.field public final minPlaybackSpeed:F
.field public final targetOffsetMs:J
# direct methods
.method static constructor <clinit>()V
.locals 10
.line 850
new-instance v9, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;
const-wide v1, -0x7fffffffffffffffL # -4.9E-324
const-wide v3, -0x7fffffffffffffffL # -4.9E-324
const-wide v5, -0x7fffffffffffffffL # -4.9E-324
const v7, -0x800001
const v8, -0x800001
move-object v0, v9
invoke-direct/range {v0 .. v8}, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;-><init>(JJJFF)V
sput-object v9, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->UNSET:Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;
.line 973
new-instance v0, Lcom/google/android/exoplayer2/MediaItem$$ExternalSyntheticLambda0;
invoke-direct {v0}, Lcom/google/android/exoplayer2/MediaItem$$ExternalSyntheticLambda0;-><init>()V
sput-object v0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->CREATOR:Lcom/google/android/exoplayer2/Bundleable$Creator;
return-void
.end method
.method public constructor <init>(JJJFF)V
.locals 0
.line 907
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-wide p1, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->targetOffsetMs:J
iput-wide p3, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->minOffsetMs:J
iput-wide p5, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->maxOffsetMs:J
iput p7, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->minPlaybackSpeed:F
iput p8, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->maxPlaybackSpeed:F
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 7
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
.line 920
:cond_0
instance-of v1, p1, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;
const/4 v2, 0x0
if-nez v1, :cond_1
return v2
.line 923
:cond_1
check-cast p1, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;
iget-wide v3, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->targetOffsetMs:J
.line 925
iget-wide v5, p1, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->targetOffsetMs:J
cmp-long v1, v3, v5
if-nez v1, :cond_2
iget-wide v3, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->minOffsetMs:J
iget-wide v5, p1, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->minOffsetMs:J
cmp-long v1, v3, v5
if-nez v1, :cond_2
iget-wide v3, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->maxOffsetMs:J
iget-wide v5, p1, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->maxOffsetMs:J
cmp-long v1, v3, v5
if-nez v1, :cond_2
iget v1, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->minPlaybackSpeed:F
iget v3, p1, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->minPlaybackSpeed:F
cmpl-float v1, v1, v3
if-nez v1, :cond_2
iget v1, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->maxPlaybackSpeed:F
iget p1, p1, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->maxPlaybackSpeed:F
cmpl-float p1, v1, p1
if-nez p1, :cond_2
goto :goto_0
:cond_2
move v0, v2
:goto_0
return v0
.end method
.method public hashCode()I
.locals 7
iget-wide v0, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->targetOffsetMs:J
const/16 v2, 0x20
ushr-long v3, v0, v2
xor-long/2addr v0, v3
long-to-int v0, v0
mul-int/lit8 v0, v0, 0x1f
iget-wide v3, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->minOffsetMs:J
ushr-long v5, v3, v2
xor-long/2addr v3, v5
long-to-int v1, v3
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-wide v3, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->maxOffsetMs:J
ushr-long v1, v3, v2
xor-long/2addr v1, v3
long-to-int v1, v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget v1, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->minPlaybackSpeed:F
const/4 v2, 0x0
cmpl-float v3, v1, v2
const/4 v4, 0x0
if-eqz v3, :cond_0
.line 937
invoke-static {v1}, Ljava/lang/Float;->floatToIntBits(F)I
move-result v1
goto :goto_0
:cond_0
move v1, v4
:goto_0
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget v1, p0, Lcom/google/android/exoplayer2/MediaItem$LiveConfiguration;->maxPlaybackSpeed:F
cmpl-float v2, v1, v2
if-eqz v2, :cond_1
.line 938
invoke-static {v1}, Ljava/lang/Float;->floatToIntBits(F)I
move-result v4
:cond_1
add-int/2addr v0, v4
return v0
.end method