- 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
194 lines
3.3 KiB
Smali
194 lines
3.3 KiB
Smali
.class public final Lcom/google/android/gms/internal/ads/zzguo;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public static final zza(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;I)V
|
|
.locals 3
|
|
|
|
if-ltz p3, :cond_1
|
|
|
|
.line 1
|
|
invoke-virtual {p1}, Ljava/nio/Buffer;->remaining()I
|
|
|
|
move-result v0
|
|
|
|
if-lt v0, p3, :cond_1
|
|
|
|
invoke-virtual {p2}, Ljava/nio/Buffer;->remaining()I
|
|
|
|
move-result v0
|
|
|
|
if-lt v0, p3, :cond_1
|
|
|
|
invoke-virtual {p0}, Ljava/nio/Buffer;->remaining()I
|
|
|
|
move-result v0
|
|
|
|
if-lt v0, p3, :cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-ge v0, p3, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->get()B
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p2}, Ljava/nio/ByteBuffer;->get()B
|
|
|
|
move-result v2
|
|
|
|
xor-int/2addr v1, v2
|
|
|
|
int-to-byte v1, v1
|
|
|
|
invoke-virtual {p0, v1}, Ljava/nio/ByteBuffer;->put(B)Ljava/nio/ByteBuffer;
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "That combination of buffers, offsets and length to xor result in out-of-bond accesses."
|
|
|
|
.line 3
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static varargs zzb([[B)[B
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/security/GeneralSecurityException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
move v1, v0
|
|
|
|
move v2, v1
|
|
|
|
.line 1
|
|
:goto_0
|
|
array-length v3, p0
|
|
|
|
if-ge v1, v3, :cond_1
|
|
|
|
aget-object v3, p0, v1
|
|
|
|
.line 2
|
|
array-length v3, v3
|
|
|
|
const v4, 0x7fffffff
|
|
|
|
sub-int/2addr v4, v3
|
|
|
|
if-gt v2, v4, :cond_0
|
|
|
|
add-int/2addr v2, v3
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
new-instance p0, Ljava/security/GeneralSecurityException;
|
|
|
|
const-string v0, "exceeded size limit"
|
|
|
|
invoke-direct {p0, v0}, Ljava/security/GeneralSecurityException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
.line 4
|
|
:cond_1
|
|
new-array v1, v2, [B
|
|
|
|
move v2, v0
|
|
|
|
move v4, v2
|
|
|
|
:goto_1
|
|
if-ge v2, v3, :cond_2
|
|
|
|
.line 5
|
|
aget-object v5, p0, v2
|
|
|
|
.line 6
|
|
array-length v6, v5
|
|
|
|
invoke-static {v5, v0, v1, v4, v6}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
add-int/2addr v4, v6
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public static final zzc([BI[BII)[B
|
|
.locals 3
|
|
|
|
.line 1
|
|
array-length p3, p0
|
|
|
|
add-int/lit8 p3, p3, -0x10
|
|
|
|
if-lt p3, p1, :cond_1
|
|
|
|
const/16 p3, 0x10
|
|
|
|
new-array p4, p3, [B
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-ge v0, p3, :cond_0
|
|
|
|
add-int v1, v0, p1
|
|
|
|
.line 3
|
|
aget-byte v1, p0, v1
|
|
|
|
aget-byte v2, p2, v0
|
|
|
|
xor-int/2addr v1, v2
|
|
|
|
int-to-byte v1, v1
|
|
|
|
aput-byte v1, p4, v0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object p4
|
|
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "That combination of buffers, offsets and length to xor result in out-of-bond accesses."
|
|
|
|
.line 2
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|