- 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
126 lines
2.8 KiB
Smali
126 lines
2.8 KiB
Smali
.class public Lcom/applovin/impl/o;
|
|
.super Landroid/widget/RelativeLayout;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field private final a:Landroid/widget/ProgressBar;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;II)V
|
|
.locals 3
|
|
|
|
.line 24
|
|
invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 26
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->setClickable(Z)V
|
|
|
|
.line 29
|
|
new-instance v1, Landroid/widget/ProgressBar;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {v1, p1, v2, p3}, Landroid/widget/ProgressBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
iput-object v1, p0, Lcom/applovin/impl/o;->a:Landroid/widget/ProgressBar;
|
|
|
|
const/4 p3, 0x1
|
|
|
|
.line 30
|
|
invoke-virtual {v1, p3}, Landroid/widget/ProgressBar;->setIndeterminate(Z)V
|
|
|
|
.line 31
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->setClickable(Z)V
|
|
|
|
const/4 p3, -0x2
|
|
|
|
if-eq p2, p3, :cond_1
|
|
|
|
const/4 p3, -0x1
|
|
|
|
if-ne p2, p3, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 41
|
|
:cond_0
|
|
invoke-static {p1, p2}, Lcom/applovin/sdk/AppLovinSdkUtils;->dpToPx(Landroid/content/Context;I)I
|
|
|
|
move-result p1
|
|
|
|
.line 42
|
|
new-instance p2, Landroid/widget/RelativeLayout$LayoutParams;
|
|
|
|
invoke-direct {p2, p1, p1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 43
|
|
:cond_1
|
|
:goto_0
|
|
new-instance p1, Landroid/widget/RelativeLayout$LayoutParams;
|
|
|
|
invoke-direct {p1, p2, p2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
|
|
|
|
move-object p2, p1
|
|
|
|
:goto_1
|
|
const/16 p1, 0xd
|
|
|
|
.line 51
|
|
invoke-virtual {p2, p1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V
|
|
|
|
.line 52
|
|
invoke-virtual {v1, p2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 53
|
|
invoke-virtual {p0, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 57
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b()V
|
|
.locals 1
|
|
|
|
const/16 v0, 0x8
|
|
|
|
.line 62
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setColor(I)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/applovin/impl/o;->a:Landroid/widget/ProgressBar;
|
|
|
|
.line 52
|
|
invoke-virtual {v0}, Landroid/widget/ProgressBar;->getIndeterminateDrawable()Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Landroid/graphics/PorterDuff$Mode;->SRC_IN:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
invoke-virtual {v0, p1, v1}, Landroid/graphics/drawable/Drawable;->setColorFilter(ILandroid/graphics/PorterDuff$Mode;)V
|
|
|
|
return-void
|
|
.end method
|