Files
rr3-apk/smali/com/applovin/impl/cd.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

149 lines
3.0 KiB
Smali

.class public Lcom/applovin/impl/cd;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field private final a:Lorg/json/JSONObject;
# direct methods
.method public constructor <init>(Lorg/json/JSONObject;)V
.locals 0
.line 18
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
if-eqz p1, :cond_0
goto :goto_0
.line 19
:cond_0
new-instance p1, Lorg/json/JSONObject;
invoke-direct {p1}, Lorg/json/JSONObject;-><init>()V
:goto_0
iput-object p1, p0, Lcom/applovin/impl/cd;->a:Lorg/json/JSONObject;
return-void
.end method
# virtual methods
.method public a()I
.locals 3
iget-object v0, p0, Lcom/applovin/impl/cd;->a:Lorg/json/JSONObject;
const-string v1, "background_color"
const/4 v2, 0x0
.line 27
invoke-static {v0, v1, v2}, Lcom/applovin/impl/sdk/utils/JsonUtils;->getString(Lorg/json/JSONObject;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_0
.line 28
invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
move-result v0
goto :goto_0
:cond_0
const/high16 v0, -0x1000000
:goto_0
return v0
.end method
.method public b()J
.locals 4
iget-object v0, p0, Lcom/applovin/impl/cd;->a:Lorg/json/JSONObject;
const-string v1, "close_button_delay_ms"
const-wide/16 v2, 0xbb8
.line 72
invoke-static {v0, v1, v2, v3}, Lcom/applovin/impl/sdk/utils/JsonUtils;->getLong(Lorg/json/JSONObject;Ljava/lang/String;J)J
move-result-wide v0
return-wide v0
.end method
.method public c()I
.locals 3
iget-object v0, p0, Lcom/applovin/impl/cd;->a:Lorg/json/JSONObject;
const-string v1, "close_button_extended_touch_area_size"
const/16 v2, 0xa
.line 62
invoke-static {v0, v1, v2}, Lcom/applovin/impl/sdk/utils/JsonUtils;->getInt(Lorg/json/JSONObject;Ljava/lang/String;I)I
move-result v0
return v0
.end method
.method public d()I
.locals 3
iget-object v0, p0, Lcom/applovin/impl/cd;->a:Lorg/json/JSONObject;
const-string v1, "close_button_h_margin"
const/4 v2, 0x5
.line 44
invoke-static {v0, v1, v2}, Lcom/applovin/impl/sdk/utils/JsonUtils;->getInt(Lorg/json/JSONObject;Ljava/lang/String;I)I
move-result v0
return v0
.end method
.method public e()I
.locals 3
iget-object v0, p0, Lcom/applovin/impl/cd;->a:Lorg/json/JSONObject;
const-string v1, "close_button_size"
const/16 v2, 0x1e
.line 54
invoke-static {v0, v1, v2}, Lcom/applovin/impl/sdk/utils/JsonUtils;->getInt(Lorg/json/JSONObject;Ljava/lang/String;I)I
move-result v0
return v0
.end method
.method public f()I
.locals 3
iget-object v0, p0, Lcom/applovin/impl/cd;->a:Lorg/json/JSONObject;
const-string v1, "close_button_top_margin"
const/16 v2, 0x14
.line 36
invoke-static {v0, v1, v2}, Lcom/applovin/impl/sdk/utils/JsonUtils;->getInt(Lorg/json/JSONObject;Ljava/lang/String;I)I
move-result v0
return v0
.end method