- 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
109 lines
1.7 KiB
Smali
109 lines
1.7 KiB
Smali
.class public final Lcom/mbridge/msdk/playercommon/exoplayer2/util/RepeatModeUtil;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/mbridge/msdk/playercommon/exoplayer2/util/RepeatModeUtil$RepeatToggleModes;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final REPEAT_TOGGLE_MODE_ALL:I = 0x2
|
|
|
|
.field public static final REPEAT_TOGGLE_MODE_NONE:I = 0x0
|
|
|
|
.field public static final REPEAT_TOGGLE_MODE_ONE:I = 0x1
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 24
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getNextRepeatMode(II)I
|
|
.locals 3
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:goto_0
|
|
const/4 v1, 0x2
|
|
|
|
if-gt v0, v1, :cond_1
|
|
|
|
add-int v1, p0, v0
|
|
|
|
.line 32
|
|
rem-int/lit8 v1, v1, 0x3
|
|
|
|
.line 33
|
|
invoke-static {v1, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/RepeatModeUtil;->isRepeatModeEnabled(II)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p0
|
|
.end method
|
|
|
|
.method public static isRepeatModeEnabled(II)Z
|
|
.locals 3
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eqz p0, :cond_4
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eq p0, v0, :cond_2
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-eq p0, v2, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
and-int/lit8 p0, p1, 0x2
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
move v0, v1
|
|
|
|
:goto_0
|
|
return v0
|
|
|
|
:cond_2
|
|
and-int/lit8 p0, p1, 0x1
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
move v0, v1
|
|
|
|
:cond_4
|
|
:goto_1
|
|
return v0
|
|
.end method
|