Files
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

130 lines
3.2 KiB
Smali

.class public final Lcom/ironsource/jo;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/ironsource/jo$a;
}
.end annotation
# static fields
.field public static final b:Lcom/ironsource/jo$a;
.field public static final c:Ljava/lang/String; = "placements"
.field public static final d:Ljava/lang/String; = "placementName"
# instance fields
.field private final a:Lorg/json/JSONArray;
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lcom/ironsource/jo$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/ironsource/jo$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lcom/ironsource/jo;->b:Lcom/ironsource/jo$a;
return-void
.end method
.method public constructor <init>(Lorg/json/JSONObject;)V
.locals 1
const-string v0, "configuration"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-string v0, "placements"
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
move-result-object p1
iput-object p1, p0, Lcom/ironsource/jo;->a:Lorg/json/JSONArray;
return-void
.end method
# virtual methods
.method public final a(Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lkotlin/jvm/functions/Function1;",
")",
"Ljava/util/Map<",
"Ljava/lang/String;",
"TT;>;"
}
.end annotation
const-string v0, "valueExtractor"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Ljava/util/LinkedHashMap;
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
iget-object v1, p0, Lcom/ironsource/jo;->a:Lorg/json/JSONArray;
if-eqz v1, :cond_0
invoke-virtual {v1}, Lorg/json/JSONArray;->length()I
move-result v2
const/4 v3, 0x0
:goto_0
if-ge v3, v2, :cond_0
invoke-virtual {v1, v3}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;
move-result-object v4
const-string v5, "placementName"
invoke-virtual {v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v5
const-string v6, "jsonObject"
invoke-static {v4, v6}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p1, v4}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
const-string v6, "key"
invoke-static {v5, v6}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {v0, v5, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_0
return-object v0
.end method