Files
rr3-apk/smali_classes3/com/google/common/collect/Collections2.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

36 lines
773 B
Smali

.class public abstract Lcom/google/common/collect/Collections2;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static newStringBuilderForCollection(I)Ljava/lang/StringBuilder;
.locals 5
const-string v0, "size"
.line 334
invoke-static {p0, v0}, Lcom/google/common/collect/CollectPreconditions;->checkNonnegative(ILjava/lang/String;)I
.line 335
new-instance v0, Ljava/lang/StringBuilder;
int-to-long v1, p0
const-wide/16 v3, 0x8
mul-long/2addr v1, v3
const-wide/32 v3, 0x40000000
invoke-static {v1, v2, v3, v4}, Ljava/lang/Math;->min(JJ)J
move-result-wide v1
long-to-int p0, v1
invoke-direct {v0, p0}, Ljava/lang/StringBuilder;-><init>(I)V
return-object v0
.end method