- 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
134 lines
3.9 KiB
Smali
134 lines
3.9 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/external/a;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Thread$UncaughtExceptionHandler;
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:Landroid/content/SharedPreferences;
|
|
|
|
.field public final synthetic b:Ljava/lang/Thread$UncaughtExceptionHandler;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/SharedPreferences;Ljava/lang/Thread$UncaughtExceptionHandler;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lcom/fyber/inneractive/sdk/external/a;->a:Landroid/content/SharedPreferences;
|
|
|
|
iput-object p2, p0, Lcom/fyber/inneractive/sdk/external/a;->b:Ljava/lang/Thread$UncaughtExceptionHandler;
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/external/a;->a:Landroid/content/SharedPreferences;
|
|
|
|
.line 2
|
|
new-instance v1, Ljava/io/StringWriter;
|
|
|
|
invoke-direct {v1}, Ljava/io/StringWriter;-><init>()V
|
|
|
|
.line 3
|
|
new-instance v2, Ljava/io/PrintWriter;
|
|
|
|
invoke-direct {v2, v1}, Ljava/io/PrintWriter;-><init>(Ljava/io/Writer;)V
|
|
|
|
.line 4
|
|
invoke-virtual {p2, v2}, Ljava/lang/Throwable;->printStackTrace(Ljava/io/PrintWriter;)V
|
|
|
|
.line 5
|
|
invoke-virtual {v1}, Ljava/io/StringWriter;->getBuffer()Ljava/lang/StringBuffer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "com.fyber.inneractive"
|
|
|
|
.line 6
|
|
invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 7
|
|
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v2, "FyberExceptionKey"
|
|
|
|
invoke-interface {v0, v2, v1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v0
|
|
|
|
.line 8
|
|
invoke-static {}, Lcom/fyber/inneractive/sdk/external/InneractiveAdManager;->getVersion()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "FyberVersionKey"
|
|
|
|
invoke-interface {v0, v2, v1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
invoke-virtual {p2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "FyberNameKey"
|
|
|
|
invoke-interface {v0, v2, v1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v0
|
|
|
|
.line 10
|
|
invoke-virtual {p2}, Ljava/lang/Throwable;->getLocalizedMessage()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "FyberDescriptionKey"
|
|
|
|
invoke-interface {v0, v2, v1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v0
|
|
|
|
.line 11
|
|
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/external/a;->b:Ljava/lang/Thread$UncaughtExceptionHandler;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 13
|
|
invoke-interface {v0, p1, p2}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|