- 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
170 lines
5.0 KiB
Smali
170 lines
5.0 KiB
Smali
.class public Lcom/mbridge/msdk/nativex/view/MBNativeRollView;
|
|
.super Landroid/widget/LinearLayout;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/mbridge/msdk/nativex/view/MBNativeRollView$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private a:Lcom/mbridge/msdk/nativex/view/RollingBCView;
|
|
|
|
.field private b:Landroid/content/Context;
|
|
|
|
.field private c:Lcom/mbridge/msdk/out/NativeListener$FilpListener;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 47
|
|
invoke-direct {p0, p1, v0}, Lcom/mbridge/msdk/nativex/view/MBNativeRollView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 4
|
|
|
|
.line 36
|
|
invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/nativex/view/MBNativeRollView;->b:Landroid/content/Context;
|
|
|
|
.line 38
|
|
new-instance p2, Lcom/mbridge/msdk/nativex/view/RollingBCView;
|
|
|
|
invoke-direct {p2, p1}, Lcom/mbridge/msdk/nativex/view/RollingBCView;-><init>(Landroid/content/Context;)V
|
|
|
|
iput-object p2, p0, Lcom/mbridge/msdk/nativex/view/MBNativeRollView;->a:Lcom/mbridge/msdk/nativex/view/RollingBCView;
|
|
|
|
.line 39
|
|
invoke-virtual {p0, p2}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
.line 40
|
|
invoke-static {p1}, Lcom/mbridge/msdk/foundation/tools/ak;->j(Landroid/content/Context;)F
|
|
|
|
move-result p1
|
|
|
|
.line 41
|
|
new-instance p2, Landroid/widget/LinearLayout$LayoutParams;
|
|
|
|
float-to-double v0, p1
|
|
|
|
const-wide v2, 0x3feccccccccccccdL # 0.9
|
|
|
|
mul-double/2addr v0, v2
|
|
|
|
double-to-int p1, v0
|
|
|
|
const/4 v0, -0x2
|
|
|
|
invoke-direct {p2, p1, v0}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V
|
|
|
|
iget-object p1, p0, Lcom/mbridge/msdk/nativex/view/MBNativeRollView;->a:Lcom/mbridge/msdk/nativex/view/RollingBCView;
|
|
|
|
.line 42
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 43
|
|
invoke-virtual {p0, p1}, Landroid/view/ViewGroup;->setClipChildren(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"NewApi"
|
|
}
|
|
.end annotation
|
|
|
|
.line 31
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/nativex/view/MBNativeRollView;->a:Lcom/mbridge/msdk/nativex/view/RollingBCView;
|
|
|
|
.line 64
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public setData(Ljava/util/List;Landroid/content/Context;Ljava/lang/String;Lcom/mbridge/msdk/nativex/view/MBNativeRollView$a;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Lcom/mbridge/msdk/out/Frame;",
|
|
">;",
|
|
"Landroid/content/Context;",
|
|
"Ljava/lang/String;",
|
|
"Lcom/mbridge/msdk/nativex/view/MBNativeRollView$a;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/nativex/view/MBNativeRollView;->a:Lcom/mbridge/msdk/nativex/view/RollingBCView;
|
|
|
|
.line 53
|
|
invoke-virtual {v0, p1, p2, p3, p4}, Lcom/mbridge/msdk/nativex/view/RollingBCView;->setData(Ljava/util/List;Landroid/content/Context;Ljava/lang/String;Lcom/mbridge/msdk/nativex/view/MBNativeRollView$a;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setFilpListening(Lcom/mbridge/msdk/out/NativeListener$FilpListener;)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/nativex/view/MBNativeRollView;->c:Lcom/mbridge/msdk/out/NativeListener$FilpListener;
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/nativex/view/MBNativeRollView;->a:Lcom/mbridge/msdk/nativex/view/RollingBCView;
|
|
|
|
.line 25
|
|
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/nativex/view/RollingBCView;->setFilpListening(Lcom/mbridge/msdk/out/NativeListener$FilpListener;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setFrameWidth(I)V
|
|
.locals 2
|
|
|
|
.line 58
|
|
new-instance v0, Landroid/widget/LinearLayout$LayoutParams;
|
|
|
|
const/4 v1, -0x2
|
|
|
|
invoke-direct {v0, p1, v1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V
|
|
|
|
iget-object p1, p0, Lcom/mbridge/msdk/nativex/view/MBNativeRollView;->a:Lcom/mbridge/msdk/nativex/view/RollingBCView;
|
|
|
|
.line 59
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
return-void
|
|
.end method
|