- 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
179 lines
4.3 KiB
Smali
179 lines
4.3 KiB
Smali
.class public Lcom/facebook/ads/internal/util/parcelable/WrappedParcelable;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroid/os/Parcelable;
|
|
|
|
|
|
# annotations
|
|
.annotation build Lcom/facebook/infer/annotation/Nullsafe;
|
|
value = .enum Lcom/facebook/infer/annotation/Nullsafe$Mode;->LOCAL:Lcom/facebook/infer/annotation/Nullsafe$Mode;
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroid/os/Parcelable$Creator<",
|
|
"Lcom/facebook/ads/internal/util/parcelable/WrappedParcelable;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field private final mParcelableBytes:[B
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 59
|
|
new-instance v0, Lcom/facebook/ads/internal/util/parcelable/WrappedParcelable$1;
|
|
|
|
invoke-direct {v0}, Lcom/facebook/ads/internal/util/parcelable/WrappedParcelable$1;-><init>()V
|
|
|
|
sput-object v0, Lcom/facebook/ads/internal/util/parcelable/WrappedParcelable;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/os/Parcel;)V
|
|
.locals 0
|
|
|
|
.line 15
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 16
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->createByteArray()[B
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/facebook/ads/internal/util/parcelable/WrappedParcelable;->mParcelableBytes:[B
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/os/Parcelable;)V
|
|
.locals 0
|
|
|
|
.line 19
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 20
|
|
invoke-static {p1}, Lcom/facebook/ads/internal/util/parcelable/WrappedParcelable;->marshallParcelable(Landroid/os/Parcelable;)[B
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/facebook/ads/internal/util/parcelable/WrappedParcelable;->mParcelableBytes:[B
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>([B)V
|
|
.locals 0
|
|
.param p1 # [B
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 23
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/facebook/ads/internal/util/parcelable/WrappedParcelable;->mParcelableBytes:[B
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static marshallParcelable(Landroid/os/Parcelable;)[B
|
|
.locals 2
|
|
|
|
.line 52
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 53
|
|
invoke-virtual {v0, p0, v1}, Landroid/os/Parcel;->writeParcelable(Landroid/os/Parcelable;I)V
|
|
|
|
.line 54
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->marshall()[B
|
|
|
|
move-result-object p0
|
|
|
|
.line 55
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public describeContents()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public unwrap(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;
|
|
.locals 4
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 39
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/facebook/ads/internal/util/parcelable/WrappedParcelable;->mParcelableBytes:[B
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 41
|
|
array-length v2, v1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-virtual {v0, v1, v3, v2}, Landroid/os/Parcel;->unmarshall([BII)V
|
|
|
|
.line 42
|
|
invoke-virtual {v0, v3}, Landroid/os/Parcel;->setDataPosition(I)V
|
|
|
|
.line 43
|
|
invoke-virtual {v0, p1}, Landroid/os/Parcel;->readParcelable(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;
|
|
|
|
move-result-object p1
|
|
|
|
.line 44
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 0
|
|
|
|
iget-object p2, p0, Lcom/facebook/ads/internal/util/parcelable/WrappedParcelable;->mParcelableBytes:[B
|
|
|
|
.line 34
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeByteArray([B)V
|
|
|
|
return-void
|
|
.end method
|