Files
rr3-apk/smali_classes2/com/facebook/appevents/ml/MTensor$Companion.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

94 lines
1.8 KiB
Smali

.class public final Lcom/facebook/appevents/ml/MTensor$Companion;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/appevents/ml/MTensor;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 36
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
.line 0
invoke-direct {p0}, Lcom/facebook/appevents/ml/MTensor$Companion;-><init>()V
return-void
.end method
.method public static final synthetic access$getCapacity(Lcom/facebook/appevents/ml/MTensor$Companion;[I)I
.locals 0
.line 36
invoke-direct {p0, p1}, Lcom/facebook/appevents/ml/MTensor$Companion;->getCapacity([I)I
move-result p0
return p0
.end method
.method private final getCapacity([I)I
.locals 4
.line 41
array-length v0, p1
if-eqz v0, :cond_1
const/4 v0, 0x0
.line 43
aget v0, p1, v0
.line 44
invoke-static {p1}, Lkotlin/collections/ArraysKt;->getLastIndex([I)I
move-result v1
const/4 v2, 0x1
if-gt v2, v1, :cond_0
.line 45
:goto_0
aget v3, p1, v2
mul-int/2addr v0, v3
if-eq v2, v1, :cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
return v0
.line 42
:cond_1
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Empty array can\'t be reduced."
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method