- 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
138 lines
3.2 KiB
Smali
138 lines
3.2 KiB
Smali
.class public Lcsdk/glucentralservices/network/NetworkResponse;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public final body:[B
|
|
|
|
.field public final code:I
|
|
|
|
.field public final exception:Ljava/lang/Exception;
|
|
|
|
.field public responseHeaders:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(I[BLjava/util/Map;Ljava/lang/Exception;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I[B",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;>;",
|
|
"Ljava/lang/Exception;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 13
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Lcsdk/glucentralservices/network/NetworkResponse;->code:I
|
|
|
|
iput-object p2, p0, Lcsdk/glucentralservices/network/NetworkResponse;->body:[B
|
|
|
|
iput-object p4, p0, Lcsdk/glucentralservices/network/NetworkResponse;->exception:Ljava/lang/Exception;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-object p1, p0, Lcsdk/glucentralservices/network/NetworkResponse;->responseHeaders:Ljava/util/Map;
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
.line 20
|
|
new-instance p1, Ljava/util/HashMap;
|
|
|
|
invoke-direct {p1}, Ljava/util/HashMap;-><init>()V
|
|
|
|
iput-object p1, p0, Lcsdk/glucentralservices/network/NetworkResponse;->responseHeaders:Ljava/util/Map;
|
|
|
|
.line 21
|
|
invoke-interface {p3}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Ljava/util/Map$Entry;
|
|
|
|
.line 22
|
|
invoke-interface {p2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
|
|
|
move-result-object p3
|
|
|
|
check-cast p3, Ljava/lang/String;
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
.line 23
|
|
invoke-interface {p2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object p4
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
invoke-interface {p2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object p4
|
|
|
|
check-cast p4, Ljava/util/List;
|
|
|
|
invoke-interface {p4}, Ljava/util/List;->size()I
|
|
|
|
move-result p4
|
|
|
|
if-lez p4, :cond_0
|
|
|
|
iget-object p4, p0, Lcsdk/glucentralservices/network/NetworkResponse;->responseHeaders:Ljava/util/Map;
|
|
|
|
.line 24
|
|
invoke-interface {p2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Ljava/util/List;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-interface {p2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Ljava/lang/String;
|
|
|
|
invoke-interface {p4, p3, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|