Files
rr3-apk/smali_classes4/csdk/glucustomersupport/unity/UnityCustomerSupportFactory.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

87 lines
2.5 KiB
Smali

.class public Lcsdk/glucustomersupport/unity/UnityCustomerSupportFactory;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcsdk/glucustomersupport/unity/UnityCustomerSupportFactory$UnityCustomerSupportListener;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 24
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public createCustomerSupport(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcsdk/glucustomersupport/IGluCustomerSupport;
.locals 2
.line 47
new-instance v0, Lcsdk/glucustomersupport/unity/UnityCustomerSupportFactory$1;
invoke-direct {v0, p0}, Lcsdk/glucustomersupport/unity/UnityCustomerSupportFactory$1;-><init>(Lcsdk/glucustomersupport/unity/UnityCustomerSupportFactory;)V
.line 57
invoke-static {p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_0
.line 59
:try_start_0
invoke-static {p3}, Lcsdk/glucustomersupport/util/JsonUtil;->parseJsonObject(Ljava/lang/String;)Ljava/util/Map;
move-result-object p3
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p1
.line 61
invoke-static {p1}, Lcsdk/glucustomersupport/util/GluUtil;->propagate(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_0
const/4 p3, 0x0
.line 66
:goto_0
new-instance v1, Lcsdk/glucustomersupport/GluFactory;
invoke-direct {v1}, Lcsdk/glucustomersupport/GluFactory;-><init>()V
invoke-static {p2}, Lcsdk/glucustomersupport/util/GluUtil;->emptyToNull(Ljava/lang/String;)Ljava/lang/String;
move-result-object p2
invoke-virtual {v1, v0, p2, p3}, Lcsdk/glucustomersupport/GluFactory;->createCustomerSupport(Ljava/util/concurrent/Callable;Ljava/lang/String;Ljava/util/Map;)Lcsdk/glucustomersupport/IGluCustomerSupport;
move-result-object p2
.line 67
new-instance p3, Lcsdk/glucustomersupport/unity/UnityCustomerSupportFactory$UnityCustomerSupportListener;
invoke-direct {p3, p1}, Lcsdk/glucustomersupport/unity/UnityCustomerSupportFactory$UnityCustomerSupportListener;-><init>(Ljava/lang/String;)V
invoke-interface {p2, p3}, Lcsdk/glucustomersupport/IGluCustomerSupport;->setListener(Lcsdk/glucustomersupport/IGluCustomerSupportListener;)V
return-object p2
.end method