- 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
460 lines
13 KiB
Smali
460 lines
13 KiB
Smali
.class public Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;
|
|
.super Lcsdk/gluads/ironsource/EAIronSourceManagerBase;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager$IntListener;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private mIsLoadedIgnoreFrequencyCapping:Z
|
|
|
|
.field private mListener:Ljava/util/concurrent/atomic/AtomicReference;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/atomic/AtomicReference<",
|
|
"Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager$IntListener;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mLoadingPlacement:Ljava/util/concurrent/atomic/AtomicReference;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/atomic/AtomicReference<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/util/concurrent/Callable;Ljava/util/Map;Ljava/util/Map;ZZ)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Landroid/app/Activity;",
|
|
">;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/Object;",
|
|
">;ZZ)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 77
|
|
invoke-direct {p0, p1, p2, p3, p4}, Lcsdk/gluads/ironsource/EAIronSourceManagerBase;-><init>(Ljava/util/concurrent/Callable;Ljava/util/Map;Ljava/util/Map;Z)V
|
|
|
|
.line 78
|
|
new-instance p1, Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-direct {p1}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
|
|
|
|
iput-object p1, p0, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;->mLoadingPlacement:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
.line 79
|
|
new-instance p1, Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
new-instance p2, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager$IntListener;
|
|
|
|
invoke-direct {p2, p0}, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager$IntListener;-><init>(Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;)V
|
|
|
|
invoke-direct {p1, p2}, Ljava/util/concurrent/atomic/AtomicReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
iput-object p1, p0, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;->mListener:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
.line 80
|
|
invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lcom/ironsource/mediationsdk/sdk/LevelPlayInterstitialListener;
|
|
|
|
invoke-static {p1}, Lcom/ironsource/mediationsdk/IronSource;->setLevelPlayInterstitialListener(Lcom/ironsource/mediationsdk/sdk/LevelPlayInterstitialListener;)V
|
|
|
|
iput-boolean p5, p0, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;->mIsLoadedIgnoreFrequencyCapping:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private isCapped(Ljava/lang/String;)Z
|
|
.locals 1
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 102
|
|
invoke-virtual {p0}, Lcsdk/gluads/ironsource/EAIronSourceManagerBase;->frequencyController()Lcsdk/gluads/FrequencyController;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1}, Lcsdk/gluads/FrequencyController;->isLimitReached(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
invoke-static {p1}, Lcom/ironsource/mediationsdk/IronSource;->isInterstitialPlacementCapped(Ljava/lang/String;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
:goto_1
|
|
return p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public adType()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "interstitial"
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public destroy()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 107
|
|
invoke-static {v0}, Lcom/ironsource/mediationsdk/IronSource;->setLevelPlayInterstitialListener(Lcom/ironsource/mediationsdk/sdk/LevelPlayInterstitialListener;)V
|
|
|
|
.line 108
|
|
invoke-super {p0}, Lcsdk/gluads/ironsource/EAIronSourceManagerBase;->destroy()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public isLoaded(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Z
|
|
.locals 0
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Ljava/util/Map;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/Object;",
|
|
">;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 118
|
|
invoke-static {}, Lcom/ironsource/mediationsdk/IronSource;->isInterstitialReady()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-boolean p1, p0, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;->mIsLoadedIgnoreFrequencyCapping:Z
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
invoke-direct {p0, p2}, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;->isCapped(Ljava/lang/String;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method public load(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
|
|
.locals 2
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Ljava/util/Map;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/Object;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "IS_debugger"
|
|
|
|
.line 124
|
|
invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object p1, p0, Lcsdk/gluads/ironsource/EAIronSourceManagerBase;->mActivity:Landroid/app/Activity;
|
|
|
|
.line 126
|
|
invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lcom/ironsource/mediationsdk/IronSource;->launchTestSuite(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
|
|
.line 130
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcsdk/gluads/ironsource/EAIronSourceManagerBase;->frequencyController()Lcsdk/gluads/FrequencyController;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p2}, Lcsdk/gluads/FrequencyController;->isLimitReached(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
const-string v1, "loadFinished"
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 131
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "FrequencyCap limit."
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 132
|
|
invoke-virtual {p0, p2, v1, p1, p3}, Lcsdk/gluads/ironsource/EAIronSourceManagerBase;->sendPlacementEvent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 134
|
|
:cond_1
|
|
invoke-virtual {p0, p1, p2, p3}, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;->isLoaded(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 135
|
|
invoke-virtual {p0, p2, v1, p1, p3}, Lcsdk/gluads/ironsource/EAIronSourceManagerBase;->sendPlacementEvent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 138
|
|
:cond_2
|
|
invoke-virtual {p0, p2}, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;->setLoadingPlacement(Ljava/lang/String;)V
|
|
|
|
.line 139
|
|
invoke-static {}, Lcom/ironsource/mediationsdk/IronSource;->loadInterstitial()V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public loadingPlacement()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;->mLoadingPlacement:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
.line 94
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public setLoadingPlacement(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;->mLoadingPlacement:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
.line 98
|
|
invoke-virtual {v0, p1}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setShowingPlacement(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;->mListener:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
.line 86
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager$IntListener;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 88
|
|
invoke-virtual {v0, p1}, Lcsdk/gluads/max/EAPlacementListener;->setShowingPlacement(Ljava/lang/String;)V
|
|
|
|
.line 90
|
|
:cond_0
|
|
invoke-super {p0, p1}, Lcsdk/gluads/ironsource/EAIronSourceManagerBase;->setShowingPlacement(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public show(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
|
|
.locals 2
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Ljava/util/Map;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/Object;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string p1, "IS_debugger"
|
|
|
|
.line 146
|
|
invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object p1, p0, Lcsdk/gluads/ironsource/EAIronSourceManagerBase;->mActivity:Landroid/app/Activity;
|
|
|
|
.line 148
|
|
invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lcom/ironsource/mediationsdk/IronSource;->launchTestSuite(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
|
|
.line 152
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;->adType()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;->isLoaded(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
.line 153
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p3, "Not ready"
|
|
|
|
invoke-direct {p1, p3}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
const-string p3, "showStarted"
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 154
|
|
invoke-virtual {p0, p2, p3, p1, v0}, Lcsdk/gluads/ironsource/EAIronSourceManagerBase;->sendPlacementEvent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 157
|
|
:cond_1
|
|
invoke-virtual {p0, p2}, Lcsdk/gluads/ironsource/EAIronSourceInterstitialManager;->setShowingPlacement(Ljava/lang/String;)V
|
|
|
|
iget-object p1, p0, Lcsdk/gluads/ironsource/EAIronSourceManagerBase;->mLog:Lcsdk/gluads/util/log/YLogger;
|
|
|
|
const-string p3, "l"
|
|
|
|
const-string v0, "ironSource"
|
|
|
|
const-string v1, "v"
|
|
|
|
filled-new-array {v1, p2, p3, v0}, [Ljava/lang/Object;
|
|
|
|
move-result-object p3
|
|
|
|
const-string v0, "INTERSTITIAL.SHOW"
|
|
|
|
.line 159
|
|
invoke-virtual {p1, v0, p3}, Lcsdk/gluads/util/log/YLogger;->d(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
.line 160
|
|
invoke-static {p2}, Lcom/ironsource/mediationsdk/IronSource;->showInterstitial(Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|