- 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
89 lines
2.2 KiB
Smali
89 lines
2.2 KiB
Smali
.class public Lcsdk/gluads/UnityGluAdsFactory;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcsdk/gluads/UnityGluAdsFactory$UnityAdvertisingListener;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 18
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public createAdvertising(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcsdk/gluads/IAdvertising;
|
|
.locals 3
|
|
|
|
.line 20
|
|
new-instance v0, Lcsdk/gluads/UnityGluAdsFactory$1;
|
|
|
|
invoke-direct {v0, p0}, Lcsdk/gluads/UnityGluAdsFactory$1;-><init>(Lcsdk/gluads/UnityGluAdsFactory;)V
|
|
|
|
.line 30
|
|
invoke-static {p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 32
|
|
:try_start_0
|
|
invoke-static {p3}, Lcsdk/gluads/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 34
|
|
invoke-static {p1}, Lcsdk/gluads/util/Common;->propagate(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_0
|
|
move-object p3, v2
|
|
|
|
.line 39
|
|
:goto_0
|
|
new-instance v1, Lcsdk/gluads/GluAdsFactory;
|
|
|
|
invoke-direct {v1}, Lcsdk/gluads/GluAdsFactory;-><init>()V
|
|
|
|
invoke-static {p2}, Lcsdk/gluads/util/Common;->emptyToNull(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {v1, v0, p2, p3}, Lcsdk/gluads/GluAdsFactory;->createAdvertising(Ljava/util/concurrent/Callable;Ljava/lang/String;Ljava/util/Map;)Lcsdk/gluads/IAdvertising;
|
|
|
|
move-result-object p2
|
|
|
|
.line 40
|
|
new-instance p3, Lcsdk/gluads/UnityGluAdsFactory$UnityAdvertisingListener;
|
|
|
|
invoke-direct {p3, p1, v2}, Lcsdk/gluads/UnityGluAdsFactory$UnityAdvertisingListener;-><init>(Ljava/lang/String;Lcsdk/gluads/UnityGluAdsFactory$1;)V
|
|
|
|
invoke-interface {p2, p3}, Lcsdk/gluads/IAdvertising;->setAdvertisingListener(Lcsdk/gluads/IAdvertisingListener;)V
|
|
|
|
return-object p2
|
|
.end method
|