- 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
121 lines
2.4 KiB
Smali
121 lines
2.4 KiB
Smali
.class public Lcom/firemint/realracing/PauseRunnable;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# instance fields
|
|
.field public m_finished:Z
|
|
|
|
.field public m_mainActivity:Lcom/firemint/realracing/MainActivity;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/firemint/realracing/MainActivity;)V
|
|
.locals 1
|
|
|
|
.line 11
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Lcom/firemint/realracing/PauseRunnable;->m_finished:Z
|
|
|
|
iput-object p1, p0, Lcom/firemint/realracing/PauseRunnable;->m_mainActivity:Lcom/firemint/realracing/MainActivity;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static waitUntilFinished(Lcom/firemint/realracing/PauseRunnable;)V
|
|
.locals 2
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 29
|
|
monitor-enter p0
|
|
|
|
.line 33
|
|
:try_start_0
|
|
iget-boolean v0, p0, Lcom/firemint/realracing/PauseRunnable;->m_finished:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 35
|
|
invoke-virtual {p0}, Ljava/lang/Object;->wait()V
|
|
:try_end_0
|
|
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
goto :goto_1
|
|
|
|
:catch_0
|
|
:try_start_1
|
|
const-string v0, "RealRacing3"
|
|
|
|
const-string v1, "PauseRunnable: InterruptedException"
|
|
|
|
.line 40
|
|
invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 42
|
|
:cond_0
|
|
:goto_0
|
|
monitor-exit p0
|
|
|
|
goto :goto_2
|
|
|
|
:goto_1
|
|
monitor-exit p0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public run()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/firemint/realracing/PauseRunnable;->m_mainActivity:Lcom/firemint/realracing/MainActivity;
|
|
|
|
.line 17
|
|
invoke-virtual {v0}, Lcom/firemint/realracing/MainActivity;->onPauseJNI()V
|
|
|
|
.line 18
|
|
monitor-enter p0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:try_start_0
|
|
iput-boolean v0, p0, Lcom/firemint/realracing/PauseRunnable;->m_finished:Z
|
|
|
|
.line 21
|
|
invoke-virtual {p0}, Ljava/lang/Object;->notify()V
|
|
|
|
.line 22
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v0
|
|
.end method
|