- 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
476 lines
11 KiB
Smali
476 lines
11 KiB
Smali
.class public Lcom/ea/nimble/Error;
|
|
.super Ljava/lang/Exception;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroid/os/Parcelable;
|
|
.implements Ljava/io/Externalizable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/ea/nimble/Error$Code;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroid/os/Parcelable$Creator<",
|
|
"Lcom/ea/nimble/Error;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final ERROR_DOMAIN:Ljava/lang/String; = "NimbleError"
|
|
|
|
.field private static final serialVersionUID:J = 0x1L
|
|
|
|
|
|
# instance fields
|
|
.field private m_code:I
|
|
|
|
.field private m_domain:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 163
|
|
new-instance v0, Lcom/ea/nimble/Error$1;
|
|
|
|
invoke-direct {v0}, Lcom/ea/nimble/Error$1;-><init>()V
|
|
|
|
sput-object v0, Lcom/ea/nimble/Error;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 102
|
|
invoke-direct {p0}, Ljava/lang/Exception;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/os/Parcel;)V
|
|
.locals 0
|
|
|
|
.line 190
|
|
invoke-direct {p0}, Ljava/lang/Exception;-><init>()V
|
|
|
|
.line 191
|
|
invoke-virtual {p0, p1}, Lcom/ea/nimble/Error;->readFromParcel(Landroid/os/Parcel;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/ea/nimble/Error$Code;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 91
|
|
invoke-direct {p0, p1, p2, v0}, Lcom/ea/nimble/Error;-><init>(Lcom/ea/nimble/Error$Code;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/ea/nimble/Error$Code;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
|
|
const-string v0, "NimbleError"
|
|
|
|
.line 86
|
|
invoke-virtual {p1}, Lcom/ea/nimble/Error$Code;->intValue()I
|
|
|
|
move-result p1
|
|
|
|
invoke-direct {p0, v0, p1, p2, p3}, Lcom/ea/nimble/Error;-><init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 78
|
|
invoke-direct {p0, p1, p2, p3, v0}, Lcom/ea/nimble/Error;-><init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
.line 71
|
|
invoke-direct {p0, p3, p4}, Ljava/lang/Exception;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
iput-object p1, p0, Lcom/ea/nimble/Error;->m_domain:Ljava/lang/String;
|
|
|
|
iput p2, p0, Lcom/ea/nimble/Error;->m_code:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public describeContents()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getCode()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/ea/nimble/Error;->m_code:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDomain()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/Error;->m_domain:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public isError(Lcom/ea/nimble/Error$Code;)Z
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/ea/nimble/Error;->m_code:I
|
|
|
|
.line 118
|
|
invoke-virtual {p1}, Lcom/ea/nimble/Error$Code;->intValue()I
|
|
|
|
move-result p1
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method public readExternal(Ljava/io/ObjectInput;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;,
|
|
Ljava/lang/ClassNotFoundException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 277
|
|
invoke-interface {p1}, Ljava/io/DataInput;->readUTF()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/ea/nimble/Error;->m_domain:Ljava/lang/String;
|
|
|
|
.line 280
|
|
invoke-interface {p1}, Ljava/io/DataInput;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lcom/ea/nimble/Error;->m_code:I
|
|
|
|
.line 283
|
|
invoke-interface {p1}, Ljava/io/ObjectInput;->readObject()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
.line 284
|
|
invoke-virtual {p0, p1}, Ljava/lang/Throwable;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public readFromParcel(Landroid/os/Parcel;)V
|
|
.locals 2
|
|
|
|
.line 254
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/ea/nimble/Error;->m_domain:Ljava/lang/String;
|
|
|
|
.line 257
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lcom/ea/nimble/Error;->m_code:I
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x21
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const-class v1, Ljava/lang/Throwable;
|
|
|
|
.line 263
|
|
invoke-static {p1, v0, v1}, Lcom/ea/nimble/Error$$ExternalSyntheticApiModelOutline0;->m(Landroid/os/Parcel;Ljava/lang/ClassLoader;Ljava/lang/Class;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
goto :goto_0
|
|
|
|
.line 267
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readSerializable()Ljava/io/Serializable;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
.line 269
|
|
:goto_0
|
|
invoke-virtual {p0, p1}, Ljava/lang/Throwable;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 4
|
|
|
|
.line 124
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget-object v1, p0, Lcom/ea/nimble/Error;->m_domain:Ljava/lang/String;
|
|
|
|
const-string v2, "("
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 125
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v1
|
|
|
|
if-lez v1, :cond_0
|
|
|
|
iget-object v1, p0, Lcom/ea/nimble/Error;->m_domain:Ljava/lang/String;
|
|
|
|
.line 127
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v1, "Error"
|
|
|
|
.line 131
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:goto_0
|
|
iget v1, p0, Lcom/ea/nimble/Error;->m_code:I
|
|
|
|
.line 133
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ")"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 134
|
|
invoke-virtual {p0}, Ljava/lang/Throwable;->getLocalizedMessage()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 135
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v2
|
|
|
|
if-lez v2, :cond_1
|
|
|
|
const-string v2, ": "
|
|
|
|
.line 137
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 139
|
|
:cond_1
|
|
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
const-string v2, "\nCaused by: "
|
|
|
|
.line 142
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 143
|
|
new-instance v2, Ljava/io/StringWriter;
|
|
|
|
invoke-direct {v2}, Ljava/io/StringWriter;-><init>()V
|
|
|
|
.line 144
|
|
new-instance v3, Ljava/io/PrintWriter;
|
|
|
|
invoke-direct {v3, v2}, Ljava/io/PrintWriter;-><init>(Ljava/io/Writer;)V
|
|
|
|
invoke-virtual {v1, v3}, Ljava/lang/Throwable;->printStackTrace(Ljava/io/PrintWriter;)V
|
|
|
|
.line 145
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const-string v1, "\nCaused by: null"
|
|
|
|
.line 149
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 151
|
|
:goto_1
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public writeExternal(Ljava/io/ObjectOutput;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/Error;->m_domain:Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 292
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/Error;->m_domain:Ljava/lang/String;
|
|
|
|
.line 294
|
|
invoke-interface {p1, v0}, Ljava/io/DataOutput;->writeUTF(Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v0, ""
|
|
|
|
.line 299
|
|
invoke-interface {p1, v0}, Ljava/io/DataOutput;->writeUTF(Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
iget v0, p0, Lcom/ea/nimble/Error;->m_code:I
|
|
|
|
.line 304
|
|
invoke-interface {p1, v0}, Ljava/io/DataOutput;->writeInt(I)V
|
|
|
|
.line 308
|
|
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
.line 309
|
|
invoke-interface {p1, v0}, Ljava/io/ObjectOutput;->writeObject(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 1
|
|
|
|
iget-object p2, p0, Lcom/ea/nimble/Error;->m_domain:Ljava/lang/String;
|
|
|
|
const-string v0, ""
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 216
|
|
invoke-virtual {p2}, Ljava/lang/String;->length()I
|
|
|
|
move-result p2
|
|
|
|
if-lez p2, :cond_0
|
|
|
|
iget-object p2, p0, Lcom/ea/nimble/Error;->m_domain:Ljava/lang/String;
|
|
|
|
.line 218
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 223
|
|
:cond_0
|
|
invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
iget p2, p0, Lcom/ea/nimble/Error;->m_code:I
|
|
|
|
.line 228
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
.line 232
|
|
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object p2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 235
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeSerializable(Ljava/io/Serializable;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 240
|
|
:cond_1
|
|
invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeSerializable(Ljava/io/Serializable;)V
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|