- 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
97 lines
2.3 KiB
Smali
97 lines
2.3 KiB
Smali
.class public final Lcom/google/zxing/aztec/encoder/SimpleToken;
|
|
.super Lcom/google/zxing/aztec/encoder/Token;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public final bitCount:S
|
|
|
|
.field public final value:S
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/google/zxing/aztec/encoder/Token;II)V
|
|
.locals 0
|
|
|
|
.line 28
|
|
invoke-direct {p0, p1}, Lcom/google/zxing/aztec/encoder/Token;-><init>(Lcom/google/zxing/aztec/encoder/Token;)V
|
|
|
|
int-to-short p1, p2
|
|
|
|
iput-short p1, p0, Lcom/google/zxing/aztec/encoder/SimpleToken;->value:S
|
|
|
|
int-to-short p1, p3
|
|
|
|
iput-short p1, p0, Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public appendTo(Lcom/google/zxing/common/BitArray;[B)V
|
|
.locals 1
|
|
|
|
iget-short p2, p0, Lcom/google/zxing/aztec/encoder/SimpleToken;->value:S
|
|
|
|
iget-short v0, p0, Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S
|
|
|
|
.line 35
|
|
invoke-virtual {p1, p2, v0}, Lcom/google/zxing/common/BitArray;->appendBits(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 4
|
|
|
|
iget-short v0, p0, Lcom/google/zxing/aztec/encoder/SimpleToken;->value:S
|
|
|
|
iget-short v1, p0, Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S
|
|
|
|
const/4 v2, 0x1
|
|
|
|
shl-int v3, v2, v1
|
|
|
|
sub-int/2addr v3, v2
|
|
|
|
and-int/2addr v0, v3
|
|
|
|
shl-int v1, v2, v1
|
|
|
|
or-int/2addr v0, v1
|
|
|
|
.line 42
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v3, "<"
|
|
|
|
invoke-direct {v1, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-short v3, p0, Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S
|
|
|
|
shl-int v3, v2, v3
|
|
|
|
or-int/2addr v0, v3
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->toBinaryString(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v0, 0x3e
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|