- 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
190 lines
5.0 KiB
Smali
190 lines
5.0 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/web/j$i;
|
|
.super Landroid/content/BroadcastReceiver;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/fyber/inneractive/sdk/web/j;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = "i"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public a:Landroid/content/Context;
|
|
|
|
.field public b:I
|
|
|
|
.field public final synthetic c:Lcom/fyber/inneractive/sdk/web/j;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/fyber/inneractive/sdk/web/j;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/fyber/inneractive/sdk/web/j$i;->c:Lcom/fyber/inneractive/sdk/web/j;
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
|
|
|
|
const/4 p1, -0x1
|
|
|
|
iput p1, p0, Lcom/fyber/inneractive/sdk/web/j$i;->b:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()V
|
|
.locals 5
|
|
|
|
:try_start_0
|
|
const-string v0, "%sunregister screen broadcast receiver called"
|
|
|
|
const/4 v1, 0x1
|
|
|
|
new-array v2, v1, [Ljava/lang/Object;
|
|
|
|
iget-object v3, p0, Lcom/fyber/inneractive/sdk/web/j$i;->c:Lcom/fyber/inneractive/sdk/web/j;
|
|
|
|
.line 1
|
|
invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 2
|
|
invoke-static {v3}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
.line 3
|
|
invoke-static {v0, v2}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/web/j$i;->a:Landroid/content/Context;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v0, "%sunregistering broadcast receiver"
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
iget-object v2, p0, Lcom/fyber/inneractive/sdk/web/j$i;->c:Lcom/fyber/inneractive/sdk/web/j;
|
|
|
|
.line 5
|
|
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 6
|
|
invoke-static {v2}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
aput-object v2, v1, v4
|
|
|
|
.line 7
|
|
invoke-static {v0, v1}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/web/j$i;->a:Landroid/content/Context;
|
|
|
|
.line 8
|
|
invoke-virtual {v0, p0}, Landroid/content/Context;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Lcom/fyber/inneractive/sdk/web/j$i;->a:Landroid/content/Context;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 13
|
|
invoke-virtual {v0}, Ljava/lang/Throwable;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
filled-new-array {v0}, [Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "IAmraidWebViewControllerBase: OrientationBroadcastReceiver: unregister: exception: %s"
|
|
|
|
.line 14
|
|
invoke-static {v1, v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:cond_0
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
|
|
.locals 1
|
|
|
|
iget-object p1, p0, Lcom/fyber/inneractive/sdk/web/j$i;->a:Landroid/content/Context;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "android.intent.action.CONFIGURATION_CHANGED"
|
|
|
|
.line 3
|
|
invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 4
|
|
invoke-static {}, Lcom/fyber/inneractive/sdk/util/o;->d()I
|
|
|
|
move-result p1
|
|
|
|
iget p2, p0, Lcom/fyber/inneractive/sdk/web/j$i;->b:I
|
|
|
|
if-eq p1, p2, :cond_0
|
|
|
|
iput p1, p0, Lcom/fyber/inneractive/sdk/web/j$i;->b:I
|
|
|
|
iget-object p1, p0, Lcom/fyber/inneractive/sdk/web/j$i;->c:Lcom/fyber/inneractive/sdk/web/j;
|
|
|
|
.line 8
|
|
iget-object p2, p1, Lcom/fyber/inneractive/sdk/web/f;->b:Lcom/fyber/inneractive/sdk/web/h;
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 9
|
|
invoke-virtual {p2}, Landroid/view/View;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object v0, p1, Lcom/fyber/inneractive/sdk/web/j;->o0:Lcom/fyber/inneractive/sdk/web/k;
|
|
|
|
invoke-virtual {p2, v0}, Landroid/view/ViewTreeObserver;->removeOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V
|
|
|
|
.line 10
|
|
iget-object p2, p1, Lcom/fyber/inneractive/sdk/web/f;->b:Lcom/fyber/inneractive/sdk/web/h;
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object p1, p1, Lcom/fyber/inneractive/sdk/web/j;->o0:Lcom/fyber/inneractive/sdk/web/k;
|
|
|
|
invoke-virtual {p2, p1}, Landroid/view/ViewTreeObserver;->addOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|