- 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
78 lines
2.1 KiB
Smali
78 lines
2.1 KiB
Smali
.class public Lcom/glu/plugins/gluanalytics/unity/UnityAnalyticsFactory;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field private final factory:Lcom/glu/plugins/gluanalytics/AnalyticsFactory;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 20
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 21
|
|
new-instance v0, Lcom/glu/plugins/gluanalytics/AnalyticsFactory;
|
|
|
|
sget-object v1, Lcom/unity3d/player/UnityPlayer;->currentActivity:Landroid/app/Activity;
|
|
|
|
invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lcom/glu/plugins/gluanalytics/AnalyticsFactory;-><init>(Landroid/content/Context;)V
|
|
|
|
iput-object v0, p0, Lcom/glu/plugins/gluanalytics/unity/UnityAnalyticsFactory;->factory:Lcom/glu/plugins/gluanalytics/AnalyticsFactory;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public createAnalytics(Ljava/lang/String;Ljava/lang/String;)Lcom/glu/plugins/gluanalytics/Analytics;
|
|
.locals 1
|
|
|
|
.line 26
|
|
invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 28
|
|
:try_start_0
|
|
invoke-static {p2}, Lcom/glu/plugins/gluanalytics/util/CollectionUtil;->parseJsonObject(Ljava/lang/String;)Ljava/util/Map;
|
|
|
|
move-result-object p2
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 30
|
|
invoke-static {p1}, Lcom/glu/plugins/gluanalytics/util/Common;->propagate(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_0
|
|
const/4 p2, 0x0
|
|
|
|
:goto_0
|
|
iget-object v0, p0, Lcom/glu/plugins/gluanalytics/unity/UnityAnalyticsFactory;->factory:Lcom/glu/plugins/gluanalytics/AnalyticsFactory;
|
|
|
|
.line 35
|
|
invoke-virtual {v0, p1, p2}, Lcom/glu/plugins/gluanalytics/AnalyticsFactory;->createAnalytics(Ljava/lang/String;Ljava/util/Map;)Lcom/glu/plugins/gluanalytics/Analytics;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|