- 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
169 lines
4.2 KiB
Smali
169 lines
4.2 KiB
Smali
.class public Lcom/google/firebase/perf/metrics/Counter;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroid/os/Parcelable;
|
|
|
|
|
|
# static fields
|
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroid/os/Parcelable$Creator<",
|
|
"Lcom/google/firebase/perf/metrics/Counter;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public final count:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
.field public final name:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 101
|
|
new-instance v0, Lcom/google/firebase/perf/metrics/Counter$1;
|
|
|
|
invoke-direct {v0}, Lcom/google/firebase/perf/metrics/Counter$1;-><init>()V
|
|
|
|
sput-object v0, Lcom/google/firebase/perf/metrics/Counter;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/os/Parcel;)V
|
|
.locals 3
|
|
|
|
.line 42
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 43
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/google/firebase/perf/metrics/Counter;->name:Ljava/lang/String;
|
|
|
|
.line 44
|
|
new-instance v0, Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readLong()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-direct {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicLong;-><init>(J)V
|
|
|
|
iput-object v0, p0, Lcom/google/firebase/perf/metrics/Counter;->count:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Landroid/os/Parcel;Lcom/google/firebase/perf/metrics/Counter$1;)V
|
|
.locals 0
|
|
|
|
.line 27
|
|
invoke-direct {p0, p1}, Lcom/google/firebase/perf/metrics/Counter;-><init>(Landroid/os/Parcel;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
.line 37
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/firebase/perf/metrics/Counter;->name:Ljava/lang/String;
|
|
|
|
.line 39
|
|
new-instance p1, Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
invoke-direct {p1, v0, v1}, Ljava/util/concurrent/atomic/AtomicLong;-><init>(J)V
|
|
|
|
iput-object p1, p0, Lcom/google/firebase/perf/metrics/Counter;->count:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public describeContents()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getCount()J
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/perf/metrics/Counter;->count:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
.line 72
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getName()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/perf/metrics/Counter;->name:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public increment(J)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/perf/metrics/Counter;->count:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
.line 53
|
|
invoke-virtual {v0, p1, p2}, Ljava/util/concurrent/atomic/AtomicLong;->addAndGet(J)J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCount(J)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/perf/metrics/Counter;->count:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
.line 81
|
|
invoke-virtual {v0, p1, p2}, Ljava/util/concurrent/atomic/AtomicLong;->set(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 2
|
|
|
|
iget-object p2, p0, Lcom/google/firebase/perf/metrics/Counter;->name:Ljava/lang/String;
|
|
|
|
.line 92
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
iget-object p2, p0, Lcom/google/firebase/perf/metrics/Counter;->count:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
.line 93
|
|
invoke-virtual {p2}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroid/os/Parcel;->writeLong(J)V
|
|
|
|
return-void
|
|
.end method
|