- 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
329 lines
8.3 KiB
Smali
329 lines
8.3 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/config/b$b;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroid/app/Application$ActivityLifecycleCallbacks;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/fyber/inneractive/sdk/config/b;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:Lcom/fyber/inneractive/sdk/config/b;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/fyber/inneractive/sdk/config/b;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/fyber/inneractive/sdk/config/b$b;->a:Lcom/fyber/inneractive/sdk/config/b;
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onActivityDestroyed(Landroid/app/Activity;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onActivityPaused(Landroid/app/Activity;)V
|
|
.locals 3
|
|
|
|
iget-object p1, p0, Lcom/fyber/inneractive/sdk/config/b$b;->a:Lcom/fyber/inneractive/sdk/config/b;
|
|
|
|
.line 2
|
|
iget-object p1, p1, Lcom/fyber/inneractive/sdk/config/b;->e:Landroid/os/Handler;
|
|
|
|
const/16 v0, 0x7b
|
|
|
|
.line 3
|
|
invoke-virtual {p1, v0}, Landroid/os/Handler;->hasMessages(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/fyber/inneractive/sdk/config/b$b;->a:Lcom/fyber/inneractive/sdk/config/b;
|
|
|
|
.line 4
|
|
iget-object p1, p1, Lcom/fyber/inneractive/sdk/config/b;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
|
|
|
|
.line 5
|
|
invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/fyber/inneractive/sdk/config/b$b;->a:Lcom/fyber/inneractive/sdk/config/b;
|
|
|
|
.line 7
|
|
iget-object p1, p1, Lcom/fyber/inneractive/sdk/config/b;->e:Landroid/os/Handler;
|
|
|
|
const-wide/16 v1, 0xbb8
|
|
|
|
.line 8
|
|
invoke-virtual {p1, v0, v1, v2}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onActivityResumed(Landroid/app/Activity;)V
|
|
.locals 10
|
|
|
|
iget-object p1, p0, Lcom/fyber/inneractive/sdk/config/b$b;->a:Lcom/fyber/inneractive/sdk/config/b;
|
|
|
|
.line 2
|
|
iget-object p1, p1, Lcom/fyber/inneractive/sdk/config/b;->e:Landroid/os/Handler;
|
|
|
|
const/16 v0, 0x7b
|
|
|
|
.line 3
|
|
invoke-virtual {p1, v0}, Landroid/os/Handler;->removeMessages(I)V
|
|
|
|
iget-object p1, p0, Lcom/fyber/inneractive/sdk/config/b$b;->a:Lcom/fyber/inneractive/sdk/config/b;
|
|
|
|
.line 5
|
|
iget-object v0, p1, Lcom/fyber/inneractive/sdk/config/b;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 6
|
|
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 7
|
|
iget-boolean v0, p1, Lcom/fyber/inneractive/sdk/config/b;->b:Z
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
new-array v0, v2, [Ljava/lang/Object;
|
|
|
|
const-string v1, "onActivityResumed: restartSession"
|
|
|
|
.line 8
|
|
invoke-static {v1, v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
.line 9
|
|
iput-boolean v2, p1, Lcom/fyber/inneractive/sdk/config/b;->b:Z
|
|
|
|
.line 10
|
|
iget-object v0, p1, Lcom/fyber/inneractive/sdk/config/b;->d:Lcom/fyber/inneractive/sdk/config/j0;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 11
|
|
check-cast v0, Lcom/fyber/inneractive/sdk/config/i0;
|
|
|
|
.line 12
|
|
iget-object v0, v0, Lcom/fyber/inneractive/sdk/config/i0;->a:Lcom/fyber/inneractive/sdk/cache/session/d;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 13
|
|
iget-object v1, v0, Lcom/fyber/inneractive/sdk/cache/session/d;->a:Lcom/fyber/inneractive/sdk/cache/session/f;
|
|
|
|
.line 14
|
|
invoke-static {}, Lcom/fyber/inneractive/sdk/cache/session/enums/b;->values()[Lcom/fyber/inneractive/sdk/cache/session/enums/b;
|
|
|
|
move-result-object v3
|
|
|
|
array-length v4, v3
|
|
|
|
move v5, v2
|
|
|
|
:goto_0
|
|
if-ge v5, v4, :cond_2
|
|
|
|
aget-object v6, v3, v5
|
|
|
|
.line 15
|
|
sget-object v7, Lcom/fyber/inneractive/sdk/cache/session/enums/b;->NONE:Lcom/fyber/inneractive/sdk/cache/session/enums/b;
|
|
|
|
if-eq v6, v7, :cond_1
|
|
|
|
.line 16
|
|
iget-object v7, v1, Lcom/fyber/inneractive/sdk/cache/session/f;->a:Lcom/fyber/inneractive/sdk/cache/session/f$a;
|
|
|
|
.line 17
|
|
invoke-virtual {v7, v6}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, Lcom/fyber/inneractive/sdk/cache/session/e;
|
|
|
|
if-eqz v7, :cond_1
|
|
|
|
.line 18
|
|
iget v8, v7, Lcom/fyber/inneractive/sdk/cache/session/e;->a:I
|
|
|
|
if-eqz v8, :cond_1
|
|
|
|
.line 19
|
|
iget-object v8, v0, Lcom/fyber/inneractive/sdk/cache/session/d;->d:Ljava/lang/Object;
|
|
|
|
monitor-enter v8
|
|
|
|
.line 20
|
|
:try_start_0
|
|
iget-object v9, v0, Lcom/fyber/inneractive/sdk/cache/session/d;->b:Lcom/fyber/inneractive/sdk/cache/session/a;
|
|
|
|
invoke-virtual {v9, v6}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v6
|
|
|
|
check-cast v6, Lcom/fyber/inneractive/sdk/cache/session/h;
|
|
|
|
if-eqz v6, :cond_0
|
|
|
|
.line 22
|
|
invoke-virtual {v6, v7}, Lcom/fyber/inneractive/sdk/cache/session/h;->a(Lcom/fyber/inneractive/sdk/cache/session/e;)Z
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_2
|
|
|
|
.line 24
|
|
:cond_0
|
|
:goto_1
|
|
monitor-exit v8
|
|
|
|
goto :goto_3
|
|
|
|
:goto_2
|
|
monitor-exit v8
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
:goto_3
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 25
|
|
:cond_2
|
|
sget-object v1, Lcom/fyber/inneractive/sdk/cache/session/enums/b;->NONE:Lcom/fyber/inneractive/sdk/cache/session/enums/b;
|
|
|
|
sget-object v3, Lcom/fyber/inneractive/sdk/cache/session/enums/a;->NEW_SESSION:Lcom/fyber/inneractive/sdk/cache/session/enums/a;
|
|
|
|
.line 26
|
|
new-instance v4, Lcom/fyber/inneractive/sdk/cache/session/c;
|
|
|
|
invoke-direct {v4, v0, v3, v1}, Lcom/fyber/inneractive/sdk/cache/session/c;-><init>(Lcom/fyber/inneractive/sdk/cache/session/d;Lcom/fyber/inneractive/sdk/cache/session/enums/a;Lcom/fyber/inneractive/sdk/cache/session/enums/b;)V
|
|
|
|
invoke-static {v4}, Lcom/fyber/inneractive/sdk/util/p;->a(Ljava/lang/Runnable;)V
|
|
|
|
.line 27
|
|
:cond_3
|
|
iget-object v0, p1, Lcom/fyber/inneractive/sdk/config/b;->d:Lcom/fyber/inneractive/sdk/config/j0;
|
|
|
|
.line 28
|
|
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
|
|
|
|
move-result-wide v3
|
|
|
|
.line 29
|
|
invoke-static {v3, v4}, Ljava/lang/Long;->toString(J)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v0, Lcom/fyber/inneractive/sdk/config/i0;
|
|
|
|
const-string v3, "SESSION_STAMP"
|
|
|
|
.line 30
|
|
iget-object v0, v0, Lcom/fyber/inneractive/sdk/config/i0;->c:Ljava/util/HashMap;
|
|
|
|
.line 31
|
|
invoke-virtual {v0, v3, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 32
|
|
iget-object v0, p1, Lcom/fyber/inneractive/sdk/config/b;->d:Lcom/fyber/inneractive/sdk/config/j0;
|
|
|
|
check-cast v0, Lcom/fyber/inneractive/sdk/config/i0;
|
|
|
|
.line 33
|
|
iget-object v0, v0, Lcom/fyber/inneractive/sdk/config/i0;->b:Ljava/util/HashMap;
|
|
|
|
.line 34
|
|
invoke-virtual {v0}, Ljava/util/HashMap;->clear()V
|
|
|
|
.line 35
|
|
:cond_4
|
|
iget-object p1, p1, Lcom/fyber/inneractive/sdk/config/b;->c:Lcom/fyber/inneractive/sdk/util/c1;
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 36
|
|
iput-boolean v2, p1, Lcom/fyber/inneractive/sdk/util/c1;->d:Z
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
.line 37
|
|
iput-wide v0, p1, Lcom/fyber/inneractive/sdk/util/c1;->f:J
|
|
|
|
.line 38
|
|
iget-object p1, p1, Lcom/fyber/inneractive/sdk/util/c1;->c:Lcom/fyber/inneractive/sdk/util/c1$a;
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
const v0, 0x73310978
|
|
|
|
.line 39
|
|
invoke-virtual {p1, v0}, Landroid/os/Handler;->removeMessages(I)V
|
|
|
|
:cond_5
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onActivitySaveInstanceState(Landroid/app/Activity;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onActivityStarted(Landroid/app/Activity;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onActivityStopped(Landroid/app/Activity;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|