- 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
98 lines
2.0 KiB
Smali
98 lines
2.0 KiB
Smali
.class public final Lcom/facebook/internal/FileLruCache$Limits;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/facebook/internal/FileLruCache;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Limits"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private byteCount:I
|
|
|
|
.field private fileCount:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 503
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/high16 v0, 0x100000
|
|
|
|
iput v0, p0, Lcom/facebook/internal/FileLruCache$Limits;->byteCount:I
|
|
|
|
const/16 v0, 0x400
|
|
|
|
iput v0, p0, Lcom/facebook/internal/FileLruCache$Limits;->fileCount:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getByteCount()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/facebook/internal/FileLruCache$Limits;->byteCount:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getFileCount()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/facebook/internal/FileLruCache$Limits;->fileCount:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final setByteCount(I)V
|
|
.locals 1
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
iput p1, p0, Lcom/facebook/internal/FileLruCache$Limits;->byteCount:I
|
|
|
|
return-void
|
|
|
|
.line 514
|
|
:cond_0
|
|
new-instance p1, Ljava/security/InvalidParameterException;
|
|
|
|
const-string v0, "Cache byte-count limit must be >= 0"
|
|
|
|
invoke-direct {p1, v0}, Ljava/security/InvalidParameterException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final setFileCount(I)V
|
|
.locals 1
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
iput p1, p0, Lcom/facebook/internal/FileLruCache$Limits;->fileCount:I
|
|
|
|
return-void
|
|
|
|
.line 521
|
|
:cond_0
|
|
new-instance p1, Ljava/security/InvalidParameterException;
|
|
|
|
const-string v0, "Cache file count limit must be >= 0"
|
|
|
|
invoke-direct {p1, v0}, Ljava/security/InvalidParameterException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|