Files
rr3-apk/smali_classes4/com/vungle/ads/VungleAdSize.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

258 lines
6.4 KiB
Smali

.class public final Lcom/vungle/ads/VungleAdSize;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/vungle/ads/VungleAdSize$Companion;
}
.end annotation
# static fields
.field public static final BANNER:Lcom/vungle/ads/VungleAdSize;
.field public static final BANNER_LEADERBOARD:Lcom/vungle/ads/VungleAdSize;
.field public static final BANNER_SHORT:Lcom/vungle/ads/VungleAdSize;
.field public static final Companion:Lcom/vungle/ads/VungleAdSize$Companion;
.field public static final MREC:Lcom/vungle/ads/VungleAdSize;
# instance fields
.field private final height:I
.field private isAdaptiveHeight:Z
.field private isAdaptiveWidth:Z
.field private final width:I
# direct methods
.method static constructor <clinit>()V
.locals 4
new-instance v0, Lcom/vungle/ads/VungleAdSize$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/vungle/ads/VungleAdSize$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lcom/vungle/ads/VungleAdSize;->Companion:Lcom/vungle/ads/VungleAdSize$Companion;
.line 19
new-instance v0, Lcom/vungle/ads/VungleAdSize;
const/16 v1, 0x140
const/16 v2, 0x32
invoke-direct {v0, v1, v2}, Lcom/vungle/ads/VungleAdSize;-><init>(II)V
sput-object v0, Lcom/vungle/ads/VungleAdSize;->BANNER:Lcom/vungle/ads/VungleAdSize;
.line 22
new-instance v0, Lcom/vungle/ads/VungleAdSize;
const/16 v1, 0x12c
invoke-direct {v0, v1, v2}, Lcom/vungle/ads/VungleAdSize;-><init>(II)V
sput-object v0, Lcom/vungle/ads/VungleAdSize;->BANNER_SHORT:Lcom/vungle/ads/VungleAdSize;
.line 25
new-instance v0, Lcom/vungle/ads/VungleAdSize;
const/16 v2, 0x2d8
const/16 v3, 0x5a
invoke-direct {v0, v2, v3}, Lcom/vungle/ads/VungleAdSize;-><init>(II)V
sput-object v0, Lcom/vungle/ads/VungleAdSize;->BANNER_LEADERBOARD:Lcom/vungle/ads/VungleAdSize;
.line 28
new-instance v0, Lcom/vungle/ads/VungleAdSize;
const/16 v2, 0xfa
invoke-direct {v0, v1, v2}, Lcom/vungle/ads/VungleAdSize;-><init>(II)V
sput-object v0, Lcom/vungle/ads/VungleAdSize;->MREC:Lcom/vungle/ads/VungleAdSize;
return-void
.end method
.method public constructor <init>(II)V
.locals 0
.line 10
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lcom/vungle/ads/VungleAdSize;->width:I
iput p2, p0, Lcom/vungle/ads/VungleAdSize;->height:I
return-void
.end method
.method public static final getAdSizeWithWidth(Landroid/content/Context;I)Lcom/vungle/ads/VungleAdSize;
.locals 1
sget-object v0, Lcom/vungle/ads/VungleAdSize;->Companion:Lcom/vungle/ads/VungleAdSize$Companion;
invoke-virtual {v0, p0, p1}, Lcom/vungle/ads/VungleAdSize$Companion;->getAdSizeWithWidth(Landroid/content/Context;I)Lcom/vungle/ads/VungleAdSize;
move-result-object p0
return-object p0
.end method
.method public static final getAdSizeWithWidthAndHeight(II)Lcom/vungle/ads/VungleAdSize;
.locals 1
sget-object v0, Lcom/vungle/ads/VungleAdSize;->Companion:Lcom/vungle/ads/VungleAdSize$Companion;
invoke-virtual {v0, p0, p1}, Lcom/vungle/ads/VungleAdSize$Companion;->getAdSizeWithWidthAndHeight(II)Lcom/vungle/ads/VungleAdSize;
move-result-object p0
return-object p0
.end method
.method public static final getAdSizeWithWidthAndMaxHeight(II)Lcom/vungle/ads/VungleAdSize;
.locals 1
sget-object v0, Lcom/vungle/ads/VungleAdSize;->Companion:Lcom/vungle/ads/VungleAdSize$Companion;
invoke-virtual {v0, p0, p1}, Lcom/vungle/ads/VungleAdSize$Companion;->getAdSizeWithWidthAndMaxHeight(II)Lcom/vungle/ads/VungleAdSize;
move-result-object p0
return-object p0
.end method
.method public static final getValidAdSizeFromSize(IILjava/lang/String;)Lcom/vungle/ads/VungleAdSize;
.locals 1
sget-object v0, Lcom/vungle/ads/VungleAdSize;->Companion:Lcom/vungle/ads/VungleAdSize$Companion;
invoke-virtual {v0, p0, p1, p2}, Lcom/vungle/ads/VungleAdSize$Companion;->getValidAdSizeFromSize(IILjava/lang/String;)Lcom/vungle/ads/VungleAdSize;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final getHeight()I
.locals 1
iget v0, p0, Lcom/vungle/ads/VungleAdSize;->height:I
return v0
.end method
.method public final getWidth()I
.locals 1
iget v0, p0, Lcom/vungle/ads/VungleAdSize;->width:I
return v0
.end method
.method public final isAdaptiveHeight$vungle_ads_release()Z
.locals 1
iget-boolean v0, p0, Lcom/vungle/ads/VungleAdSize;->isAdaptiveHeight:Z
return v0
.end method
.method public final isAdaptiveWidth$vungle_ads_release()Z
.locals 1
iget-boolean v0, p0, Lcom/vungle/ads/VungleAdSize;->isAdaptiveWidth:Z
return v0
.end method
.method public final isValidSize$vungle_ads_release()Z
.locals 1
iget v0, p0, Lcom/vungle/ads/VungleAdSize;->width:I
if-ltz v0, :cond_0
iget v0, p0, Lcom/vungle/ads/VungleAdSize;->height:I
if-ltz v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final setAdaptiveHeight$vungle_ads_release(Z)V
.locals 0
iput-boolean p1, p0, Lcom/vungle/ads/VungleAdSize;->isAdaptiveHeight:Z
return-void
.end method
.method public final setAdaptiveWidth$vungle_ads_release(Z)V
.locals 0
iput-boolean p1, p0, Lcom/vungle/ads/VungleAdSize;->isAdaptiveWidth:Z
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 2
.line 120
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "VungleAdSize(width="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v1, p0, Lcom/vungle/ads/VungleAdSize;->width:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", height="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v1, p0, Lcom/vungle/ads/VungleAdSize;->height:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method