- 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
163 lines
4.2 KiB
Smali
163 lines
4.2 KiB
Smali
.class public Lcom/mbridge/msdk/widget/FeedBackButton;
|
|
.super Landroid/widget/TextView;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"AppCompatCustomView"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static FEEDBACK_BTN_BACKGROUND_COLOR_STR:Ljava/lang/String; = "#60000000"
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 20
|
|
invoke-direct {p0, p1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 21
|
|
invoke-direct {p0}, Lcom/mbridge/msdk/widget/FeedBackButton;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 0
|
|
|
|
.line 41
|
|
invoke-direct {p0, p1, p2}, Landroid/widget/TextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
.line 42
|
|
invoke-direct {p0}, Lcom/mbridge/msdk/widget/FeedBackButton;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
.line 46
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/TextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
.line 47
|
|
invoke-direct {p0}, Lcom/mbridge/msdk/widget/FeedBackButton;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
api = 0x15
|
|
.end annotation
|
|
|
|
.line 52
|
|
invoke-direct {p0, p1, p2, p3, p4}, Landroid/widget/TextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
|
|
.line 53
|
|
invoke-direct {p0}, Lcom/mbridge/msdk/widget/FeedBackButton;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a()V
|
|
.locals 3
|
|
|
|
.line 25
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "mbridge_cm_feedback_btn_text"
|
|
|
|
const-string v2, "string"
|
|
|
|
invoke-static {v0, v1, v2}, Lcom/mbridge/msdk/foundation/tools/x;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, v0}, Landroid/widget/TextView;->setText(I)V
|
|
|
|
.line 26
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const/high16 v1, 0x41500000 # 13.0f
|
|
|
|
.line 27
|
|
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 28
|
|
invoke-virtual {p0, v1, v2, v1, v2}, Landroid/view/View;->setPadding(IIII)V
|
|
|
|
.line 30
|
|
invoke-virtual {p0, v2}, Landroid/widget/TextView;->setTextIsSelectable(Z)V
|
|
|
|
const/16 v1, 0x11
|
|
|
|
.line 31
|
|
invoke-virtual {p0, v1}, Landroid/widget/TextView;->setGravity(I)V
|
|
|
|
sget-object v1, Lcom/mbridge/msdk/widget/FeedBackButton;->FEEDBACK_BTN_BACKGROUND_COLOR_STR:Ljava/lang/String;
|
|
|
|
.line 32
|
|
invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0, v1}, Landroid/view/View;->setBackgroundColor(I)V
|
|
|
|
.line 33
|
|
new-instance v1, Landroid/graphics/drawable/GradientDrawable;
|
|
|
|
invoke-direct {v1}, Landroid/graphics/drawable/GradientDrawable;-><init>()V
|
|
|
|
const/high16 v2, 0x41a00000 # 20.0f
|
|
|
|
.line 34
|
|
invoke-static {v0, v2}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
|
|
|
|
move-result v0
|
|
|
|
int-to-float v0, v0
|
|
|
|
invoke-virtual {v1, v0}, Landroid/graphics/drawable/GradientDrawable;->setCornerRadius(F)V
|
|
|
|
sget-object v0, Lcom/mbridge/msdk/widget/FeedBackButton;->FEEDBACK_BTN_BACKGROUND_COLOR_STR:Ljava/lang/String;
|
|
|
|
.line 35
|
|
invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {v1, v0}, Landroid/graphics/drawable/GradientDrawable;->setColor(I)V
|
|
|
|
.line 36
|
|
invoke-virtual {p0, v1}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 37
|
|
invoke-virtual {p0, v0}, Landroid/widget/TextView;->setTextColor(I)V
|
|
|
|
return-void
|
|
.end method
|