- 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
250 lines
9.4 KiB
Smali
250 lines
9.4 KiB
Smali
.class public Lcom/singular/sdk/internal/SingularExceptionReporter$2;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/singular/sdk/internal/SingularExceptionReporter;->reportException(Ljava/lang/Throwable;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/singular/sdk/internal/SingularExceptionReporter;
|
|
|
|
.field public final synthetic val$t:Ljava/lang/Throwable;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/singular/sdk/internal/SingularExceptionReporter;Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->this$0:Lcom/singular/sdk/internal/SingularExceptionReporter;
|
|
|
|
iput-object p2, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->val$t:Ljava/lang/Throwable;
|
|
|
|
.line 69
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public run()V
|
|
.locals 4
|
|
|
|
.line 73
|
|
:try_start_0
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
iget-object v1, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->val$t:Ljava/lang/Throwable;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const-string v2, "name"
|
|
|
|
.line 76
|
|
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v1, "message"
|
|
|
|
iget-object v2, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->val$t:Ljava/lang/Throwable;
|
|
|
|
.line 77
|
|
invoke-virtual {v2}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v1, "stack_trace"
|
|
|
|
iget-object v2, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->val$t:Ljava/lang/Throwable;
|
|
|
|
.line 78
|
|
invoke-static {v2}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
iget-object v1, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->this$0:Lcom/singular/sdk/internal/SingularExceptionReporter;
|
|
|
|
.line 80
|
|
invoke-static {v1}, Lcom/singular/sdk/internal/SingularExceptionReporter;->access$000(Lcom/singular/sdk/internal/SingularExceptionReporter;)Lcom/singular/sdk/internal/DeviceInfo;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 81
|
|
new-instance v1, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
const-string v2, "aifa"
|
|
|
|
iget-object v3, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->this$0:Lcom/singular/sdk/internal/SingularExceptionReporter;
|
|
|
|
.line 83
|
|
invoke-static {v3}, Lcom/singular/sdk/internal/SingularExceptionReporter;->access$000(Lcom/singular/sdk/internal/SingularExceptionReporter;)Lcom/singular/sdk/internal/DeviceInfo;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v3, v3, Lcom/singular/sdk/internal/DeviceInfo;->aifa:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v2, "appName"
|
|
|
|
iget-object v3, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->this$0:Lcom/singular/sdk/internal/SingularExceptionReporter;
|
|
|
|
.line 84
|
|
invoke-static {v3}, Lcom/singular/sdk/internal/SingularExceptionReporter;->access$000(Lcom/singular/sdk/internal/SingularExceptionReporter;)Lcom/singular/sdk/internal/DeviceInfo;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v3, v3, Lcom/singular/sdk/internal/DeviceInfo;->appName:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v2, "appVersion"
|
|
|
|
iget-object v3, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->this$0:Lcom/singular/sdk/internal/SingularExceptionReporter;
|
|
|
|
.line 85
|
|
invoke-static {v3}, Lcom/singular/sdk/internal/SingularExceptionReporter;->access$000(Lcom/singular/sdk/internal/SingularExceptionReporter;)Lcom/singular/sdk/internal/DeviceInfo;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v3, v3, Lcom/singular/sdk/internal/DeviceInfo;->appVersion:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v2, "deviceModel"
|
|
|
|
iget-object v3, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->this$0:Lcom/singular/sdk/internal/SingularExceptionReporter;
|
|
|
|
.line 86
|
|
invoke-static {v3}, Lcom/singular/sdk/internal/SingularExceptionReporter;->access$000(Lcom/singular/sdk/internal/SingularExceptionReporter;)Lcom/singular/sdk/internal/DeviceInfo;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v3, v3, Lcom/singular/sdk/internal/DeviceInfo;->deviceModel:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v2, "deviceBrand"
|
|
|
|
iget-object v3, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->this$0:Lcom/singular/sdk/internal/SingularExceptionReporter;
|
|
|
|
.line 87
|
|
invoke-static {v3}, Lcom/singular/sdk/internal/SingularExceptionReporter;->access$000(Lcom/singular/sdk/internal/SingularExceptionReporter;)Lcom/singular/sdk/internal/DeviceInfo;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v3, v3, Lcom/singular/sdk/internal/DeviceInfo;->deviceBrand:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v2, "deviceManufacturer"
|
|
|
|
iget-object v3, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->this$0:Lcom/singular/sdk/internal/SingularExceptionReporter;
|
|
|
|
.line 89
|
|
invoke-static {v3}, Lcom/singular/sdk/internal/SingularExceptionReporter;->access$000(Lcom/singular/sdk/internal/SingularExceptionReporter;)Lcom/singular/sdk/internal/DeviceInfo;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v3, v3, Lcom/singular/sdk/internal/DeviceInfo;->deviceManufacturer:Ljava/lang/String;
|
|
|
|
.line 88
|
|
invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v2, "osVersion"
|
|
|
|
iget-object v3, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->this$0:Lcom/singular/sdk/internal/SingularExceptionReporter;
|
|
|
|
.line 90
|
|
invoke-static {v3}, Lcom/singular/sdk/internal/SingularExceptionReporter;->access$000(Lcom/singular/sdk/internal/SingularExceptionReporter;)Lcom/singular/sdk/internal/DeviceInfo;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v3, v3, Lcom/singular/sdk/internal/DeviceInfo;->osVersion:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v2, "sdkVersion"
|
|
|
|
iget-object v3, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->this$0:Lcom/singular/sdk/internal/SingularExceptionReporter;
|
|
|
|
.line 91
|
|
invoke-static {v3}, Lcom/singular/sdk/internal/SingularExceptionReporter;->access$000(Lcom/singular/sdk/internal/SingularExceptionReporter;)Lcom/singular/sdk/internal/DeviceInfo;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v3, v3, Lcom/singular/sdk/internal/DeviceInfo;->sdkVersion:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v2, "isGooglePlayServicesAvailable"
|
|
|
|
iget-object v3, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->this$0:Lcom/singular/sdk/internal/SingularExceptionReporter;
|
|
|
|
.line 93
|
|
invoke-static {v3}, Lcom/singular/sdk/internal/SingularExceptionReporter;->access$000(Lcom/singular/sdk/internal/SingularExceptionReporter;)Lcom/singular/sdk/internal/DeviceInfo;
|
|
|
|
move-result-object v3
|
|
|
|
iget-boolean v3, v3, Lcom/singular/sdk/internal/DeviceInfo;->isGooglePlayServicesAvailable:Z
|
|
|
|
.line 92
|
|
invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;
|
|
|
|
const-string v2, "device_info"
|
|
|
|
.line 95
|
|
invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v1, "error"
|
|
|
|
const-string v2, "Throwable is null!"
|
|
|
|
.line 98
|
|
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
:cond_1
|
|
:goto_0
|
|
iget-object v1, p0, Lcom/singular/sdk/internal/SingularExceptionReporter$2;->this$0:Lcom/singular/sdk/internal/SingularExceptionReporter;
|
|
|
|
.line 101
|
|
invoke-static {v1, v0}, Lcom/singular/sdk/internal/SingularExceptionReporter;->access$200(Lcom/singular/sdk/internal/SingularExceptionReporter;Lorg/json/JSONObject;)I
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
return-void
|
|
.end method
|