- 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
178 lines
4.5 KiB
Smali
178 lines
4.5 KiB
Smali
.class public Lcom/mbridge/msdk/nativex/adapter/RollingAdapter;
|
|
.super Landroidx/viewpager/widget/PagerAdapter;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field private list:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lcom/mbridge/msdk/out/Frame;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private listview:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Landroid/view/View;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mvinterface:Lcom/mbridge/msdk/nativex/view/MBNativeRollView$a;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/util/List;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Lcom/mbridge/msdk/out/Frame;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 29
|
|
invoke-direct {p0}, Landroidx/viewpager/widget/PagerAdapter;-><init>()V
|
|
|
|
.line 16
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/nativex/adapter/RollingAdapter;->list:Ljava/util/List;
|
|
|
|
.line 17
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/nativex/adapter/RollingAdapter;->listview:Ljava/util/List;
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/nativex/adapter/RollingAdapter;->list:Ljava/util/List;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public destroyItem(Landroid/view/ViewGroup;ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
iget-object p3, p0, Lcom/mbridge/msdk/nativex/adapter/RollingAdapter;->listview:Ljava/util/List;
|
|
|
|
.line 59
|
|
invoke-interface {p3, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Landroid/view/View;
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getCount()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/nativex/adapter/RollingAdapter;->list:Ljava/util/List;
|
|
|
|
.line 35
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getMvinterface()Lcom/mbridge/msdk/nativex/view/MBNativeRollView$a;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/nativex/adapter/RollingAdapter;->mvinterface:Lcom/mbridge/msdk/nativex/view/MBNativeRollView$a;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public instantiateItem(Landroid/view/ViewGroup;I)Ljava/lang/Object;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/nativex/adapter/RollingAdapter;->mvinterface:Lcom/mbridge/msdk/nativex/view/MBNativeRollView$a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/nativex/adapter/RollingAdapter;->list:Ljava/util/List;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 45
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/nativex/adapter/RollingAdapter;->mvinterface:Lcom/mbridge/msdk/nativex/view/MBNativeRollView$a;
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/nativex/adapter/RollingAdapter;->list:Ljava/util/List;
|
|
|
|
.line 46
|
|
invoke-interface {v1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/mbridge/msdk/out/Frame;
|
|
|
|
invoke-interface {v0, v1, p2}, Lcom/mbridge/msdk/nativex/view/MBNativeRollView$a;->a(Lcom/mbridge/msdk/out/Frame;I)Landroid/view/View;
|
|
|
|
move-result-object p2
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/nativex/adapter/RollingAdapter;->listview:Ljava/util/List;
|
|
|
|
.line 48
|
|
invoke-interface {v0, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 49
|
|
invoke-virtual {p1, p2}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
return-object p2
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public isViewFromObject(Landroid/view/View;Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
if-ne p1, p2, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method public setMvinterface(Lcom/mbridge/msdk/nativex/view/MBNativeRollView$a;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/nativex/adapter/RollingAdapter;->mvinterface:Lcom/mbridge/msdk/nativex/view/MBNativeRollView$a;
|
|
|
|
return-void
|
|
.end method
|