Files
rr3-apk/smali_classes2/com/facebook/share/ShareApi$3.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- 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
2026-02-18 16:13:44 -08:00

173 lines
4.6 KiB
Smali

.class Lcom/facebook/share/ShareApi$3;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/internal/CollectionMapper$Collection;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/facebook/share/ShareApi;->stageArrayList(Ljava/util/ArrayList;Lcom/facebook/internal/CollectionMapper$OnMapValueCompleteListener;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/facebook/internal/CollectionMapper$Collection<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/facebook/share/ShareApi;
.field final synthetic val$arrayList:Ljava/util/ArrayList;
.field final synthetic val$stagedObject:Lorg/json/JSONArray;
# direct methods
.method public constructor <init>(Lcom/facebook/share/ShareApi;Ljava/util/ArrayList;Lorg/json/JSONArray;)V
.locals 0
iput-object p1, p0, Lcom/facebook/share/ShareApi$3;->this$0:Lcom/facebook/share/ShareApi;
iput-object p2, p0, Lcom/facebook/share/ShareApi$3;->val$arrayList:Ljava/util/ArrayList;
iput-object p3, p0, Lcom/facebook/share/ShareApi$3;->val$stagedObject:Lorg/json/JSONArray;
.line 397
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public get(Ljava/lang/Integer;)Ljava/lang/Object;
.locals 1
iget-object v0, p0, Lcom/facebook/share/ShareApi$3;->val$arrayList:Ljava/util/ArrayList;
.line 420
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic get(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.line 397
check-cast p1, Ljava/lang/Integer;
invoke-virtual {p0, p1}, Lcom/facebook/share/ShareApi$3;->get(Ljava/lang/Integer;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public keyIterator()Ljava/util/Iterator;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/facebook/share/ShareApi$3;->val$arrayList:Ljava/util/ArrayList;
.line 400
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
.line 401
new-instance v1, Lcom/facebook/internal/Mutable;
const/4 v2, 0x0
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-direct {v1, v2}, Lcom/facebook/internal/Mutable;-><init>(Ljava/lang/Object;)V
.line 402
new-instance v2, Lcom/facebook/share/ShareApi$3$1;
invoke-direct {v2, p0, v1, v0}, Lcom/facebook/share/ShareApi$3$1;-><init>(Lcom/facebook/share/ShareApi$3;Lcom/facebook/internal/Mutable;I)V
return-object v2
.end method
.method public set(Ljava/lang/Integer;Ljava/lang/Object;Lcom/facebook/internal/CollectionMapper$OnErrorListener;)V
.locals 1
:try_start_0
iget-object v0, p0, Lcom/facebook/share/ShareApi$3;->val$stagedObject:Lorg/json/JSONArray;
.line 427
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
invoke-virtual {v0, p1, p2}, Lorg/json/JSONArray;->put(ILjava/lang/Object;)Lorg/json/JSONArray;
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p1
.line 429
invoke-virtual {p1}, Ljava/lang/Throwable;->getLocalizedMessage()Ljava/lang/String;
move-result-object p1
if-nez p1, :cond_0
const-string p1, "Error staging object."
.line 433
:cond_0
new-instance p2, Lcom/facebook/FacebookException;
invoke-direct {p2, p1}, Lcom/facebook/FacebookException;-><init>(Ljava/lang/String;)V
invoke-interface {p3, p2}, Lcom/facebook/internal/CollectionMapper$OnErrorListener;->onError(Lcom/facebook/FacebookException;)V
:goto_0
return-void
.end method
.method public bridge synthetic set(Ljava/lang/Object;Ljava/lang/Object;Lcom/facebook/internal/CollectionMapper$OnErrorListener;)V
.locals 0
.line 397
check-cast p1, Ljava/lang/Integer;
invoke-virtual {p0, p1, p2, p3}, Lcom/facebook/share/ShareApi$3;->set(Ljava/lang/Integer;Ljava/lang/Object;Lcom/facebook/internal/CollectionMapper$OnErrorListener;)V
return-void
.end method