- 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
209 lines
5.3 KiB
Smali
209 lines
5.3 KiB
Smali
.class public Lcsdk/gluads/LoadingScreen;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcsdk/gluads/LoadingScreen$CustomProgressBar;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private mActivityGetter:Ljava/util/concurrent/Callable;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Landroid/app/Activity;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mCurrentContext:Landroid/content/Context;
|
|
|
|
.field private mInitialized:Z
|
|
|
|
.field private mLoadingScreen:Lcsdk/gluads/LoadingScreen$CustomProgressBar;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 16
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Lcsdk/gluads/LoadingScreen;->mInitialized:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public dismiss()V
|
|
.locals 1
|
|
|
|
.line 57
|
|
invoke-virtual {p0}, Lcsdk/gluads/LoadingScreen;->isShowing()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcsdk/gluads/LoadingScreen;->mLoadingScreen:Lcsdk/gluads/LoadingScreen$CustomProgressBar;
|
|
|
|
invoke-virtual {v0}, Landroid/app/Dialog;->dismiss()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public initialize(Ljava/util/concurrent/Callable;)V
|
|
.locals 4
|
|
.param p1 # Ljava/util/concurrent/Callable;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Landroid/app/Activity;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lcsdk/gluads/LoadingScreen;->mActivityGetter:Ljava/util/concurrent/Callable;
|
|
|
|
.line 24
|
|
invoke-static {p1}, Lcsdk/gluads/util/Common;->call(Ljava/util/concurrent/Callable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/content/Context;
|
|
|
|
iput-object p1, p0, Lcsdk/gluads/LoadingScreen;->mCurrentContext:Landroid/content/Context;
|
|
|
|
.line 26
|
|
new-instance v0, Lcsdk/gluads/LoadingScreen$CustomProgressBar;
|
|
|
|
invoke-direct {v0, p0, p1}, Lcsdk/gluads/LoadingScreen$CustomProgressBar;-><init>(Lcsdk/gluads/LoadingScreen;Landroid/content/Context;)V
|
|
|
|
iput-object v0, p0, Lcsdk/gluads/LoadingScreen;->mLoadingScreen:Lcsdk/gluads/LoadingScreen$CustomProgressBar;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 27
|
|
invoke-virtual {v0, v1}, Landroid/app/Dialog;->setCancelable(Z)V
|
|
|
|
iget-object v0, p0, Lcsdk/gluads/LoadingScreen;->mLoadingScreen:Lcsdk/gluads/LoadingScreen$CustomProgressBar;
|
|
|
|
.line 28
|
|
new-instance v2, Lcsdk/gluads/LoadingScreen$1;
|
|
|
|
invoke-direct {v2, p0}, Lcsdk/gluads/LoadingScreen$1;-><init>(Lcsdk/gluads/LoadingScreen;)V
|
|
|
|
invoke-virtual {v0, v2}, Landroid/app/Dialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V
|
|
|
|
iget-object v0, p0, Lcsdk/gluads/LoadingScreen;->mLoadingScreen:Lcsdk/gluads/LoadingScreen$CustomProgressBar;
|
|
|
|
.line 34
|
|
new-instance v2, Landroid/widget/ProgressBar;
|
|
|
|
invoke-direct {v2, p1}, Landroid/widget/ProgressBar;-><init>(Landroid/content/Context;)V
|
|
|
|
new-instance p1, Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
const/4 v3, -0x2
|
|
|
|
invoke-direct {p1, v3, v3}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V
|
|
|
|
invoke-virtual {v0, v2, p1}, Landroid/app/Dialog;->addContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
iput-boolean v1, p0, Lcsdk/gluads/LoadingScreen;->mInitialized:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public isInitialized()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcsdk/gluads/LoadingScreen;->mInitialized:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public isShowing()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcsdk/gluads/LoadingScreen;->mInitialized:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcsdk/gluads/LoadingScreen;->mLoadingScreen:Lcsdk/gluads/LoadingScreen$CustomProgressBar;
|
|
|
|
.line 53
|
|
invoke-virtual {v0}, Landroid/app/Dialog;->isShowing()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public show()V
|
|
.locals 2
|
|
|
|
iget-boolean v0, p0, Lcsdk/gluads/LoadingScreen;->mInitialized:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 43
|
|
invoke-virtual {p0}, Lcsdk/gluads/LoadingScreen;->isShowing()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcsdk/gluads/LoadingScreen;->mActivityGetter:Ljava/util/concurrent/Callable;
|
|
|
|
.line 44
|
|
invoke-static {v0}, Lcsdk/gluads/util/Common;->call(Ljava/util/concurrent/Callable;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/content/Context;
|
|
|
|
iget-object v1, p0, Lcsdk/gluads/LoadingScreen;->mCurrentContext:Landroid/content/Context;
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
iget-object v0, p0, Lcsdk/gluads/LoadingScreen;->mActivityGetter:Ljava/util/concurrent/Callable;
|
|
|
|
.line 46
|
|
invoke-virtual {p0, v0}, Lcsdk/gluads/LoadingScreen;->initialize(Ljava/util/concurrent/Callable;)V
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcsdk/gluads/LoadingScreen;->mLoadingScreen:Lcsdk/gluads/LoadingScreen$CustomProgressBar;
|
|
|
|
.line 48
|
|
invoke-virtual {v0}, Landroid/app/Dialog;->show()V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|