Files
rr3-apk/smali_classes2/com/facebook/gamingservices/Tournament.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

213 lines
6.1 KiB
Smali

.class public final Lcom/facebook/gamingservices/Tournament;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/share/model/ShareModel;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/gamingservices/Tournament$Builder;,
Lcom/facebook/gamingservices/Tournament$CREATOR;
}
.end annotation
# static fields
.field public static final CREATOR:Lcom/facebook/gamingservices/Tournament$CREATOR;
# instance fields
.field public endTime:Ljava/lang/String;
.annotation runtime Lcom/google/gson/annotations/SerializedName;
value = "tournament_end_time"
.end annotation
.end field
.field public final identifier:Ljava/lang/String;
.annotation runtime Lcom/google/gson/annotations/SerializedName;
value = "id"
.end annotation
.end field
.field public final payload:Ljava/lang/String;
.annotation runtime Lcom/google/gson/annotations/SerializedName;
value = "tournament_payload"
.end annotation
.end field
.field public final title:Ljava/lang/String;
.annotation runtime Lcom/google/gson/annotations/SerializedName;
value = "tournament_title"
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lcom/facebook/gamingservices/Tournament$CREATOR;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/facebook/gamingservices/Tournament$CREATOR;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lcom/facebook/gamingservices/Tournament;->CREATOR:Lcom/facebook/gamingservices/Tournament$CREATOR;
return-void
.end method
.method public constructor <init>(Landroid/os/Parcel;)V
.locals 3
const-string v0, "parcel"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 57
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v2
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, v0, v1, v2, p1}, Lcom/facebook/gamingservices/Tournament;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.locals 1
const-string v0, "identifier"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 47
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/gamingservices/Tournament;->identifier:Ljava/lang/String;
iput-object p2, p0, Lcom/facebook/gamingservices/Tournament;->endTime:Ljava/lang/String;
iput-object p3, p0, Lcom/facebook/gamingservices/Tournament;->title:Ljava/lang/String;
iput-object p4, p0, Lcom/facebook/gamingservices/Tournament;->payload:Ljava/lang/String;
if-nez p2, :cond_0
const/4 p1, 0x0
goto :goto_0
.line 52
:cond_0
sget-object p1, Lcom/facebook/gamingservices/internal/DateFormatter;->INSTANCE:Lcom/facebook/gamingservices/internal/DateFormatter;
invoke-virtual {p1, p2}, Lcom/facebook/gamingservices/internal/DateFormatter;->format$facebook_gamingservices_release(Ljava/lang/String;)Ljava/time/ZonedDateTime;
move-result-object p1
:goto_0
invoke-direct {p0, p1}, Lcom/facebook/gamingservices/Tournament;->setExpiration(Ljava/time/ZonedDateTime;)V
return-void
.end method
.method private final setExpiration(Ljava/time/ZonedDateTime;)V
.locals 1
if-eqz p1, :cond_0
.line 36
sget-object v0, Ljava/time/format/DateTimeFormatter;->ISO_DATE_TIME:Ljava/time/format/DateTimeFormatter;
invoke-virtual {p1, v0}, Ljava/time/ZonedDateTime;->format(Ljava/time/format/DateTimeFormatter;)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/facebook/gamingservices/Tournament;->endTime:Ljava/lang/String;
.line 37
invoke-direct {p0, p1}, Lcom/facebook/gamingservices/Tournament;->setExpiration(Ljava/time/ZonedDateTime;)V
:cond_0
return-void
.end method
# virtual methods
.method public describeContents()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public final getExpiration()Ljava/time/ZonedDateTime;
.locals 2
iget-object v0, p0, Lcom/facebook/gamingservices/Tournament;->endTime:Ljava/lang/String;
if-nez v0, :cond_0
const/4 v0, 0x0
goto :goto_0
.line 30
:cond_0
sget-object v1, Lcom/facebook/gamingservices/internal/DateFormatter;->INSTANCE:Lcom/facebook/gamingservices/internal/DateFormatter;
invoke-virtual {v1, v0}, Lcom/facebook/gamingservices/internal/DateFormatter;->format$facebook_gamingservices_release(Ljava/lang/String;)Ljava/time/ZonedDateTime;
move-result-object v0
:goto_0
return-object v0
.end method
.method public writeToParcel(Landroid/os/Parcel;I)V
.locals 0
const-string p2, "out"
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p2, p0, Lcom/facebook/gamingservices/Tournament;->identifier:Ljava/lang/String;
.line 95
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
iget-object p2, p0, Lcom/facebook/gamingservices/Tournament;->endTime:Ljava/lang/String;
.line 96
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
iget-object p2, p0, Lcom/facebook/gamingservices/Tournament;->title:Ljava/lang/String;
.line 97
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
iget-object p2, p0, Lcom/facebook/gamingservices/Tournament;->payload:Ljava/lang/String;
.line 98
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
return-void
.end method