Files
rr3-apk/smali/androidx/datastore/preferences/protobuf/InvalidProtocolBufferException.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

240 lines
8.1 KiB
Smali

.class public Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
.super Ljava/io/IOException;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException$InvalidWireTypeException;
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x166db9773d0dffacL
# instance fields
.field private unfinishedMessage:Landroidx/datastore/preferences/protobuf/MessageLite;
# direct methods
.method public constructor <init>(Ljava/io/IOException;)V
.locals 1
.line 50
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
const/4 p1, 0x0
iput-object p1, p0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->unfinishedMessage:Landroidx/datastore/preferences/protobuf/MessageLite;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;)V
.locals 0
.line 46
invoke-direct {p0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
const/4 p1, 0x0
iput-object p1, p0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->unfinishedMessage:Landroidx/datastore/preferences/protobuf/MessageLite;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/io/IOException;)V
.locals 0
.line 54
invoke-direct {p0, p1, p2}, Ljava/io/IOException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
const/4 p1, 0x0
iput-object p1, p0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->unfinishedMessage:Landroidx/datastore/preferences/protobuf/MessageLite;
return-void
.end method
.method public static invalidEndTag()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
.locals 2
.line 106
new-instance v0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
const-string v1, "Protocol message end-group tag did not match expected tag."
invoke-direct {v0, v1}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;-><init>(Ljava/lang/String;)V
return-object v0
.end method
.method public static invalidTag()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
.locals 2
.line 102
new-instance v0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
const-string v1, "Protocol message contained an invalid tag (zero)."
invoke-direct {v0, v1}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;-><init>(Ljava/lang/String;)V
return-object v0
.end method
.method public static invalidUtf8()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
.locals 2
.line 141
new-instance v0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
const-string v1, "Protocol message had invalid UTF-8."
invoke-direct {v0, v1}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;-><init>(Ljava/lang/String;)V
return-object v0
.end method
.method public static invalidWireType()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException$InvalidWireTypeException;
.locals 2
.line 111
new-instance v0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException$InvalidWireTypeException;
const-string v1, "Protocol message tag had invalid wire type."
invoke-direct {v0, v1}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException$InvalidWireTypeException;-><init>(Ljava/lang/String;)V
return-object v0
.end method
.method public static malformedVarint()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
.locals 2
.line 98
new-instance v0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
const-string v1, "CodedInputStream encountered a malformed varint."
invoke-direct {v0, v1}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;-><init>(Ljava/lang/String;)V
return-object v0
.end method
.method public static negativeSize()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
.locals 2
.line 92
new-instance v0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
const-string v1, "CodedInputStream encountered an embedded string or message which claimed to have negative size."
invoke-direct {v0, v1}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;-><init>(Ljava/lang/String;)V
return-object v0
.end method
.method public static parseFailure()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
.locals 2
.line 137
new-instance v0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
const-string v1, "Failed to parse the message."
invoke-direct {v0, v1}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;-><init>(Ljava/lang/String;)V
return-object v0
.end method
.method public static recursionLimitExceeded()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
.locals 2
.line 125
new-instance v0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
const-string v1, "Protocol message had too many levels of nesting. May be malicious. Use CodedInputStream.setRecursionLimit() to increase the depth limit."
invoke-direct {v0, v1}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;-><init>(Ljava/lang/String;)V
return-object v0
.end method
.method public static sizeLimitExceeded()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
.locals 2
.line 131
new-instance v0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
const-string v1, "Protocol message was too large. May be malicious. Use CodedInputStream.setSizeLimit() to increase the size limit."
invoke-direct {v0, v1}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;-><init>(Ljava/lang/String;)V
return-object v0
.end method
.method public static truncatedMessage()Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
.locals 2
.line 84
new-instance v0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
const-string v1, "While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length."
invoke-direct {v0, v1}, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;-><init>(Ljava/lang/String;)V
return-object v0
.end method
# virtual methods
.method public getUnfinishedMessage()Landroidx/datastore/preferences/protobuf/MessageLite;
.locals 1
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->unfinishedMessage:Landroidx/datastore/preferences/protobuf/MessageLite;
return-object v0
.end method
.method public setUnfinishedMessage(Landroidx/datastore/preferences/protobuf/MessageLite;)Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;
.locals 0
iput-object p1, p0, Landroidx/datastore/preferences/protobuf/InvalidProtocolBufferException;->unfinishedMessage:Landroidx/datastore/preferences/protobuf/MessageLite;
return-object p0
.end method
.method public unwrapIOException()Ljava/io/IOException;
.locals 1
.line 80
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v0
instance-of v0, v0, Ljava/io/IOException;
if-eqz v0, :cond_0
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v0
check-cast v0, Ljava/io/IOException;
goto :goto_0
:cond_0
move-object v0, p0
:goto_0
return-object v0
.end method