Files
rr3-apk/smali/androidx/room/util/UUIDUtil.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

86 lines
2.1 KiB
Smali

.class public final Landroidx/room/util/UUIDUtil;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
# direct methods
.method public static final convertByteToUUID([B)Ljava/util/UUID;
.locals 4
const-string v0, "bytes"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 37
invoke-static {p0}, Ljava/nio/ByteBuffer;->wrap([B)Ljava/nio/ByteBuffer;
move-result-object p0
.line 38
invoke-virtual {p0}, Ljava/nio/ByteBuffer;->getLong()J
move-result-wide v0
.line 39
invoke-virtual {p0}, Ljava/nio/ByteBuffer;->getLong()J
move-result-wide v2
.line 40
new-instance p0, Ljava/util/UUID;
invoke-direct {p0, v0, v1, v2, v3}, Ljava/util/UUID;-><init>(JJ)V
return-object p0
.end method
.method public static final convertUUIDToByte(Ljava/util/UUID;)[B
.locals 3
const-string v0, "uuid"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/16 v0, 0x10
new-array v0, v0, [B
.line 51
invoke-static {v0}, Ljava/nio/ByteBuffer;->wrap([B)Ljava/nio/ByteBuffer;
move-result-object v0
.line 52
invoke-virtual {p0}, Ljava/util/UUID;->getMostSignificantBits()J
move-result-wide v1
invoke-virtual {v0, v1, v2}, Ljava/nio/ByteBuffer;->putLong(J)Ljava/nio/ByteBuffer;
.line 53
invoke-virtual {p0}, Ljava/util/UUID;->getLeastSignificantBits()J
move-result-wide v1
invoke-virtual {v0, v1, v2}, Ljava/nio/ByteBuffer;->putLong(J)Ljava/nio/ByteBuffer;
.line 54
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->array()[B
move-result-object p0
const-string v0, "buffer.array()"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method