- 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
296 lines
8.4 KiB
Smali
296 lines
8.4 KiB
Smali
.class public final Lcom/facebook/share/model/ShareMediaContent$Builder;
|
|
.super Lcom/facebook/share/model/ShareContent$Builder;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/facebook/share/model/ShareMediaContent;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Builder"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/facebook/share/model/ShareContent$Builder<",
|
|
"Lcom/facebook/share/model/ShareMediaContent;",
|
|
"Lcom/facebook/share/model/ShareMediaContent$Builder;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final media:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lcom/facebook/share/model/ShareMedia<",
|
|
"**>;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 38
|
|
invoke-direct {p0}, Lcom/facebook/share/model/ShareContent$Builder;-><init>()V
|
|
|
|
.line 39
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/facebook/share/model/ShareMediaContent$Builder;->media:Ljava/util/List;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final addMedia(Ljava/util/List;)Lcom/facebook/share/model/ShareMediaContent$Builder;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Lcom/facebook/share/model/ShareMedia<",
|
|
"**>;>;)",
|
|
"Lcom/facebook/share/model/ShareMediaContent$Builder;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 74
|
|
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/facebook/share/model/ShareMedia;
|
|
|
|
.line 75
|
|
invoke-virtual {p0, v0}, Lcom/facebook/share/model/ShareMediaContent$Builder;->addMedium(Lcom/facebook/share/model/ShareMedia;)Lcom/facebook/share/model/ShareMediaContent$Builder;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final addMedium(Lcom/facebook/share/model/ShareMedia;)Lcom/facebook/share/model/ShareMediaContent$Builder;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/facebook/share/model/ShareMedia<",
|
|
"**>;)",
|
|
"Lcom/facebook/share/model/ShareMediaContent$Builder;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 51
|
|
instance-of v0, p1, Lcom/facebook/share/model/SharePhoto;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 52
|
|
new-instance v0, Lcom/facebook/share/model/SharePhoto$Builder;
|
|
|
|
invoke-direct {v0}, Lcom/facebook/share/model/SharePhoto$Builder;-><init>()V
|
|
|
|
check-cast p1, Lcom/facebook/share/model/SharePhoto;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/facebook/share/model/SharePhoto$Builder;->readFrom(Lcom/facebook/share/model/SharePhoto;)Lcom/facebook/share/model/SharePhoto$Builder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lcom/facebook/share/model/SharePhoto$Builder;->build()Lcom/facebook/share/model/SharePhoto;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
.line 54
|
|
:cond_0
|
|
instance-of v0, p1, Lcom/facebook/share/model/ShareVideo;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 55
|
|
new-instance v0, Lcom/facebook/share/model/ShareVideo$Builder;
|
|
|
|
invoke-direct {v0}, Lcom/facebook/share/model/ShareVideo$Builder;-><init>()V
|
|
|
|
check-cast p1, Lcom/facebook/share/model/ShareVideo;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/facebook/share/model/ShareVideo$Builder;->readFrom(Lcom/facebook/share/model/ShareVideo;)Lcom/facebook/share/model/ShareVideo$Builder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lcom/facebook/share/model/ShareVideo$Builder;->build()Lcom/facebook/share/model/ShareVideo;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
iget-object v0, p0, Lcom/facebook/share/model/ShareMediaContent$Builder;->media:Ljava/util/List;
|
|
|
|
.line 61
|
|
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_1
|
|
|
|
.line 58
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "medium must be either a SharePhoto or ShareVideo"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_2
|
|
:goto_1
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public build()Lcom/facebook/share/model/ShareMediaContent;
|
|
.locals 2
|
|
|
|
.line 82
|
|
new-instance v0, Lcom/facebook/share/model/ShareMediaContent;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, p0, v1}, Lcom/facebook/share/model/ShareMediaContent;-><init>(Lcom/facebook/share/model/ShareMediaContent$Builder;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic build()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 38
|
|
invoke-virtual {p0}, Lcom/facebook/share/model/ShareMediaContent$Builder;->build()Lcom/facebook/share/model/ShareMediaContent;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getMedia$facebook_common_release()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Lcom/facebook/share/model/ShareMedia<",
|
|
"**>;>;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/facebook/share/model/ShareMediaContent$Builder;->media:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic readFrom(Lcom/facebook/share/model/ShareContent;)Lcom/facebook/share/model/ShareContent$Builder;
|
|
.locals 0
|
|
|
|
.line 38
|
|
check-cast p1, Lcom/facebook/share/model/ShareMediaContent;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/facebook/share/model/ShareMediaContent$Builder;->readFrom(Lcom/facebook/share/model/ShareMediaContent;)Lcom/facebook/share/model/ShareMediaContent$Builder;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public readFrom(Lcom/facebook/share/model/ShareMediaContent;)Lcom/facebook/share/model/ShareMediaContent$Builder;
|
|
.locals 1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
move-object p1, p0
|
|
|
|
goto :goto_0
|
|
|
|
.line 88
|
|
:cond_0
|
|
invoke-super {p0, p1}, Lcom/facebook/share/model/ShareContent$Builder;->readFrom(Lcom/facebook/share/model/ShareContent;)Lcom/facebook/share/model/ShareContent$Builder;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/facebook/share/model/ShareMediaContent$Builder;
|
|
|
|
invoke-virtual {p1}, Lcom/facebook/share/model/ShareMediaContent;->getMedia()Ljava/util/List;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Lcom/facebook/share/model/ShareMediaContent$Builder;->addMedia(Ljava/util/List;)Lcom/facebook/share/model/ShareMediaContent$Builder;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public bridge synthetic readFrom(Lcom/facebook/share/model/ShareModel;)Lcom/facebook/share/model/ShareModelBuilder;
|
|
.locals 0
|
|
|
|
.line 38
|
|
check-cast p1, Lcom/facebook/share/model/ShareMediaContent;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/facebook/share/model/ShareMediaContent$Builder;->readFrom(Lcom/facebook/share/model/ShareMediaContent;)Lcom/facebook/share/model/ShareMediaContent$Builder;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final setMedia(Ljava/util/List;)Lcom/facebook/share/model/ShareMediaContent$Builder;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Lcom/facebook/share/model/ShareMedia<",
|
|
"**>;>;)",
|
|
"Lcom/facebook/share/model/ShareMediaContent$Builder;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/facebook/share/model/ShareMediaContent$Builder;->media:Ljava/util/List;
|
|
|
|
.line 98
|
|
invoke-interface {v0}, Ljava/util/List;->clear()V
|
|
|
|
.line 99
|
|
invoke-virtual {p0, p1}, Lcom/facebook/share/model/ShareMediaContent$Builder;->addMedia(Ljava/util/List;)Lcom/facebook/share/model/ShareMediaContent$Builder;
|
|
|
|
return-object p0
|
|
.end method
|