Files
rr3-apk/smali_classes2/com/glu/plugins/gluanalytics/AnalyticsFactory$2.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- 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
2026-02-18 16:13:44 -08:00

174 lines
5.1 KiB
Smali

.class Lcom/glu/plugins/gluanalytics/AnalyticsFactory$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/glu/plugins/gluanalytics/util/IAction2;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/glu/plugins/gluanalytics/AnalyticsFactory;->createAnalytics(Ljava/lang/String;Ljava/util/Map;)Lcom/glu/plugins/gluanalytics/Analytics;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/glu/plugins/gluanalytics/util/IAction2<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/glu/plugins/gluanalytics/AnalyticsFactory;
.field final synthetic val$config:Ljava/util/Map;
.field final synthetic val$eh:Lcom/glu/plugins/gluanalytics/eventbus/GluAnalyticsEventHandler;
.field final synthetic val$ret:Lcom/glu/plugins/gluanalytics/Analytics;
# direct methods
.method public constructor <init>(Lcom/glu/plugins/gluanalytics/AnalyticsFactory;Lcom/glu/plugins/gluanalytics/Analytics;Lcom/glu/plugins/gluanalytics/eventbus/GluAnalyticsEventHandler;Ljava/util/Map;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lcom/glu/plugins/gluanalytics/AnalyticsFactory$2;->this$0:Lcom/glu/plugins/gluanalytics/AnalyticsFactory;
iput-object p2, p0, Lcom/glu/plugins/gluanalytics/AnalyticsFactory$2;->val$ret:Lcom/glu/plugins/gluanalytics/Analytics;
iput-object p3, p0, Lcom/glu/plugins/gluanalytics/AnalyticsFactory$2;->val$eh:Lcom/glu/plugins/gluanalytics/eventbus/GluAnalyticsEventHandler;
iput-object p4, p0, Lcom/glu/plugins/gluanalytics/AnalyticsFactory$2;->val$config:Ljava/util/Map;
.line 147
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic apply(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.line 147
check-cast p1, Ljava/lang/String;
check-cast p2, Ljava/lang/String;
invoke-virtual {p0, p1, p2}, Lcom/glu/plugins/gluanalytics/AnalyticsFactory$2;->apply(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public apply(Ljava/lang/String;Ljava/lang/String;)V
.locals 4
iget-object v0, p0, Lcom/glu/plugins/gluanalytics/AnalyticsFactory$2;->this$0:Lcom/glu/plugins/gluanalytics/AnalyticsFactory;
.line 150
invoke-static {v0}, Lcom/glu/plugins/gluanalytics/AnalyticsFactory;->access$100(Lcom/glu/plugins/gluanalytics/AnalyticsFactory;)Lcom/glu/plugins/gluanalytics/util/YLogger;
move-result-object v0
const/4 v1, 0x4
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
const-string v3, "sdk"
aput-object v3, v1, v2
const/4 v2, 0x1
const-string v3, "GluAnalytics"
aput-object v3, v1, v2
const/4 v2, 0x2
const-string v3, "source"
aput-object v3, v1, v2
if-eqz p2, :cond_0
sget-object v2, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-virtual {p2, v2}, Ljava/lang/String;->toUpperCase(Ljava/util/Locale;)Ljava/lang/String;
move-result-object p2
goto :goto_0
:cond_0
const/4 p2, 0x0
:goto_0
const/4 v2, 0x3
aput-object p2, v1, v2
const-string p2, "CONFIG.RECONFIGURE"
invoke-virtual {v0, p2, v1}, Lcom/glu/plugins/gluanalytics/util/YLogger;->i(Ljava/lang/String;[Ljava/lang/Object;)V
.line 153
:try_start_0
invoke-static {p1}, Lcom/glu/plugins/gluanalytics/util/CollectionUtil;->parseJsonObject(Ljava/lang/String;)Ljava/util/Map;
move-result-object p1
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
if-eqz p1, :cond_1
iget-object p2, p0, Lcom/glu/plugins/gluanalytics/AnalyticsFactory$2;->val$ret:Lcom/glu/plugins/gluanalytics/Analytics;
iget-object v0, p0, Lcom/glu/plugins/gluanalytics/AnalyticsFactory$2;->val$eh:Lcom/glu/plugins/gluanalytics/eventbus/GluAnalyticsEventHandler;
.line 159
invoke-virtual {p2, p1, v0}, Lcom/glu/plugins/gluanalytics/Analytics;->internal_firebaseInitialize(Ljava/util/Map;Lcom/glu/plugins/gluanalytics/IAnalyticsCallback;)V
goto :goto_1
:cond_1
iget-object p1, p0, Lcom/glu/plugins/gluanalytics/AnalyticsFactory$2;->val$ret:Lcom/glu/plugins/gluanalytics/Analytics;
iget-object p2, p0, Lcom/glu/plugins/gluanalytics/AnalyticsFactory$2;->val$config:Ljava/util/Map;
iget-object v0, p0, Lcom/glu/plugins/gluanalytics/AnalyticsFactory$2;->val$eh:Lcom/glu/plugins/gluanalytics/eventbus/GluAnalyticsEventHandler;
.line 161
invoke-virtual {p1, p2, v0}, Lcom/glu/plugins/gluanalytics/Analytics;->internal_firebaseInitialize(Ljava/util/Map;Lcom/glu/plugins/gluanalytics/IAnalyticsCallback;)V
:goto_1
return-void
:catch_0
move-exception p1
.line 155
invoke-static {p1}, Lcom/glu/plugins/gluanalytics/util/Common;->propagate(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
.end method