- 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
270 lines
6.5 KiB
Smali
270 lines
6.5 KiB
Smali
.class final Lcom/amazonaws/util/json/GsonFactory$GsonReader;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/amazonaws/util/json/AwsJsonReader;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/amazonaws/util/json/GsonFactory;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "GsonReader"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/io/Reader;)V
|
|
.locals 1
|
|
|
|
.line 49
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 50
|
|
new-instance v0, Lcom/google/gson/stream/JsonReader;
|
|
|
|
invoke-direct {v0, p1}, Lcom/google/gson/stream/JsonReader;-><init>(Ljava/io/Reader;)V
|
|
|
|
iput-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public beginArray()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 55
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->beginArray()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public beginObject()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 65
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->beginObject()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public close()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 119
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->close()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public endArray()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 60
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->endArray()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public endObject()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 70
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->endObject()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public hasNext()Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 82
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public isContainer()Z
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 75
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->peek()Lcom/google/gson/stream/JsonToken;
|
|
|
|
move-result-object v0
|
|
|
|
.line 76
|
|
sget-object v1, Lcom/google/gson/stream/JsonToken;->BEGIN_ARRAY:Lcom/google/gson/stream/JsonToken;
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
sget-object v1, Lcom/google/gson/stream/JsonToken;->BEGIN_OBJECT:Lcom/google/gson/stream/JsonToken;
|
|
|
|
.line 77
|
|
invoke-virtual {v1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
:goto_1
|
|
return v0
|
|
.end method
|
|
|
|
.method public nextName()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 87
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->nextName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public nextString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 92
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->peek()Lcom/google/gson/stream/JsonToken;
|
|
|
|
move-result-object v0
|
|
|
|
.line 93
|
|
sget-object v1, Lcom/google/gson/stream/JsonToken;->NULL:Lcom/google/gson/stream/JsonToken;
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 94
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->nextNull()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
.line 97
|
|
:cond_0
|
|
sget-object v1, Lcom/google/gson/stream/JsonToken;->BOOLEAN:Lcom/google/gson/stream/JsonToken;
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 98
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->nextBoolean()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const-string v0, "true"
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const-string v0, "false"
|
|
|
|
:goto_0
|
|
return-object v0
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 100
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public peek()Lcom/amazonaws/util/json/AwsJsonToken;
|
|
.locals 1
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 111
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->peek()Lcom/google/gson/stream/JsonToken;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/amazonaws/util/json/GsonFactory;->access$000(Lcom/google/gson/stream/JsonToken;)Lcom/amazonaws/util/json/AwsJsonToken;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catch Ljava/io/EOFException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object v0
|
|
|
|
:catch_0
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public skipValue()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/amazonaws/util/json/GsonFactory$GsonReader;->reader:Lcom/google/gson/stream/JsonReader;
|
|
|
|
.line 105
|
|
invoke-virtual {v0}, Lcom/google/gson/stream/JsonReader;->skipValue()V
|
|
|
|
return-void
|
|
.end method
|