- 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
209 lines
6.1 KiB
Smali
209 lines
6.1 KiB
Smali
.class public final Lcom/amazon/device/iap/internal/b/d/a;
|
|
.super Lcom/amazon/device/iap/internal/b/e;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/amazon/device/iap/model/RequestId;Z)V
|
|
.locals 1
|
|
|
|
.line 21
|
|
invoke-direct {p0, p1}, Lcom/amazon/device/iap/internal/b/e;-><init>(Lcom/amazon/device/iap/model/RequestId;)V
|
|
|
|
.line 23
|
|
new-instance p1, Lcom/amazon/device/iap/internal/b/e/c;
|
|
|
|
invoke-direct {p1, p0}, Lcom/amazon/device/iap/internal/b/e/c;-><init>(Lcom/amazon/device/iap/internal/b/e;)V
|
|
|
|
.line 24
|
|
new-instance v0, Lcom/amazon/device/iap/internal/b/d/c;
|
|
|
|
invoke-direct {v0, p0, p2}, Lcom/amazon/device/iap/internal/b/d/c;-><init>(Lcom/amazon/device/iap/internal/b/e;Z)V
|
|
|
|
invoke-virtual {p1, v0}, Lcom/amazon/device/iap/internal/b/i;->a(Lcom/amazon/device/iap/internal/b/i;)V
|
|
|
|
.line 26
|
|
new-instance p2, Lcom/amazon/device/iap/internal/b/e/d;
|
|
|
|
invoke-direct {p2, p0}, Lcom/amazon/device/iap/internal/b/e/d;-><init>(Lcom/amazon/device/iap/internal/b/e;)V
|
|
|
|
.line 27
|
|
new-instance v0, Lcom/amazon/device/iap/internal/b/d/d;
|
|
|
|
invoke-direct {v0, p0}, Lcom/amazon/device/iap/internal/b/d/d;-><init>(Lcom/amazon/device/iap/internal/b/e;)V
|
|
|
|
invoke-virtual {p2, v0}, Lcom/amazon/device/iap/internal/b/i;->a(Lcom/amazon/device/iap/internal/b/i;)V
|
|
|
|
.line 28
|
|
invoke-virtual {p1, p2}, Lcom/amazon/device/iap/internal/b/i;->b(Lcom/amazon/device/iap/internal/b/i;)V
|
|
|
|
.line 30
|
|
invoke-virtual {p0, p1}, Lcom/amazon/device/iap/internal/b/e;->a(Lcom/amazon/device/iap/internal/b/i;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()V
|
|
.locals 5
|
|
|
|
.line 36
|
|
invoke-virtual {p0}, Lcom/amazon/device/iap/internal/b/e;->d()Lcom/amazon/device/iap/internal/b/h;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/amazon/device/iap/internal/b/h;->a()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/amazon/device/iap/model/PurchaseUpdatesResponse;
|
|
|
|
.line 37
|
|
invoke-virtual {v0}, Lcom/amazon/device/iap/model/PurchaseUpdatesResponse;->getReceipts()Ljava/util/List;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
invoke-virtual {v0}, Lcom/amazon/device/iap/model/PurchaseUpdatesResponse;->getReceipts()Ljava/util/List;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v1}, Ljava/util/List;->size()I
|
|
|
|
move-result v1
|
|
|
|
if-lez v1, :cond_2
|
|
|
|
.line 38
|
|
new-instance v1, Ljava/util/HashSet;
|
|
|
|
invoke-direct {v1}, Ljava/util/HashSet;-><init>()V
|
|
|
|
.line 39
|
|
invoke-virtual {v0}, Lcom/amazon/device/iap/model/PurchaseUpdatesResponse;->getReceipts()Ljava/util/List;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v2
|
|
|
|
:cond_0
|
|
:goto_0
|
|
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Lcom/amazon/device/iap/model/Receipt;
|
|
|
|
.line 40
|
|
invoke-virtual {v3}, Lcom/amazon/device/iap/model/Receipt;->getReceiptId()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-static {v4}, Lcom/amazon/device/iap/internal/util/d;->a(Ljava/lang/String;)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
.line 41
|
|
invoke-virtual {v3}, Lcom/amazon/device/iap/model/Receipt;->getReceiptId()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 44
|
|
:cond_1
|
|
new-instance v2, Lcom/amazon/device/iap/internal/b/g/a;
|
|
|
|
sget-object v3, Lcom/amazon/device/iap/internal/model/a;->a:Lcom/amazon/device/iap/internal/model/a;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-direct {v2, p0, v1, v3}, Lcom/amazon/device/iap/internal/b/g/a;-><init>(Lcom/amazon/device/iap/internal/b/e;Ljava/util/Set;Ljava/lang/String;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/4 v2, 0x0
|
|
|
|
.line 48
|
|
:goto_1
|
|
invoke-virtual {p0, v0, v2}, Lcom/amazon/device/iap/internal/b/e;->a(Ljava/lang/Object;Lcom/amazon/device/iap/internal/b/i;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b()V
|
|
.locals 2
|
|
|
|
.line 53
|
|
invoke-virtual {p0}, Lcom/amazon/device/iap/internal/b/e;->d()Lcom/amazon/device/iap/internal/b/h;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/amazon/device/iap/internal/b/h;->a()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 55
|
|
instance-of v1, v0, Lcom/amazon/device/iap/model/PurchaseUpdatesResponse;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 61
|
|
:cond_0
|
|
check-cast v0, Lcom/amazon/device/iap/model/PurchaseUpdatesResponse;
|
|
|
|
goto :goto_1
|
|
|
|
.line 56
|
|
:cond_1
|
|
:goto_0
|
|
new-instance v0, Lcom/amazon/device/iap/internal/model/PurchaseUpdatesResponseBuilder;
|
|
|
|
invoke-direct {v0}, Lcom/amazon/device/iap/internal/model/PurchaseUpdatesResponseBuilder;-><init>()V
|
|
|
|
invoke-virtual {p0}, Lcom/amazon/device/iap/internal/b/e;->c()Lcom/amazon/device/iap/model/RequestId;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/amazon/device/iap/internal/model/PurchaseUpdatesResponseBuilder;->setRequestId(Lcom/amazon/device/iap/model/RequestId;)Lcom/amazon/device/iap/internal/model/PurchaseUpdatesResponseBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/amazon/device/iap/model/PurchaseUpdatesResponse$RequestStatus;->FAILED:Lcom/amazon/device/iap/model/PurchaseUpdatesResponse$RequestStatus;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/amazon/device/iap/internal/model/PurchaseUpdatesResponseBuilder;->setRequestStatus(Lcom/amazon/device/iap/model/PurchaseUpdatesResponse$RequestStatus;)Lcom/amazon/device/iap/internal/model/PurchaseUpdatesResponseBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/amazon/device/iap/internal/model/PurchaseUpdatesResponseBuilder;->build()Lcom/amazon/device/iap/model/PurchaseUpdatesResponse;
|
|
|
|
move-result-object v0
|
|
|
|
.line 63
|
|
:goto_1
|
|
invoke-virtual {p0, v0}, Lcom/amazon/device/iap/internal/b/e;->a(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|