Files
rr3-apk/smali_classes4/com/mbridge/msdk/playercommon/exoplayer2/util/ConditionVariable.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

188 lines
3.4 KiB
Smali

.class public final Lcom/mbridge/msdk/playercommon/exoplayer2/util/ConditionVariable;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field private isOpen:Z
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final declared-synchronized block()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
monitor-enter p0
:goto_0
:try_start_0
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/util/ConditionVariable;->isOpen:Z
if-nez v0, :cond_0
.line 29
invoke-virtual {p0}, Ljava/lang/Object;->wait()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
goto :goto_1
.line 31
:cond_0
monitor-exit p0
return-void
:goto_1
monitor-exit p0
throw v0
.end method
.method public final declared-synchronized block(J)Z
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
monitor-enter p0
.line 35
:try_start_0
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
add-long/2addr p1, v0
:goto_0
iget-boolean v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/util/ConditionVariable;->isOpen:Z
if-nez v2, :cond_0
cmp-long v3, v0, p1
if-gez v3, :cond_0
sub-long v0, p1, v0
.line 38
invoke-virtual {p0, v0, v1}, Ljava/lang/Object;->wait(J)V
.line 39
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
goto :goto_1
.line 41
:cond_0
monitor-exit p0
return v2
:goto_1
monitor-exit p0
throw p1
.end method
.method public final declared-synchronized close()Z
.locals 2
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/util/ConditionVariable;->isOpen:Z
const/4 v1, 0x0
iput-boolean v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/util/ConditionVariable;->isOpen:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 23
monitor-exit p0
return v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final declared-synchronized open()Z
.locals 1
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/util/ConditionVariable;->isOpen:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v0, :cond_0
.line 12
monitor-exit p0
const/4 v0, 0x0
return v0
:cond_0
const/4 v0, 0x1
:try_start_1
iput-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/util/ConditionVariable;->isOpen:Z
.line 15
invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 16
monitor-exit p0
return v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method