Files
rr3-apk/smali_classes2/com/ea/nimble/mtx/googleplay/GooglePlay$1.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

137 lines
4.3 KiB
Smali

.class Lcom/ea/nimble/mtx/googleplay/GooglePlay$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/android/billingclient/api/BillingClientStateListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/ea/nimble/mtx/googleplay/GooglePlay;->createBillingHelper()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
# direct methods
.method public constructor <init>(Lcom/ea/nimble/mtx/googleplay/GooglePlay;)V
.locals 0
iput-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$1;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
.line 289
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onBillingServiceDisconnected()V
.locals 2
iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$1;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
.line 305
invoke-static {v0}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$600(Lcom/ea/nimble/mtx/googleplay/GooglePlay;)Lcom/ea/nimble/mtx/googleplay/billing/BillingHelper;
move-result-object v0
invoke-virtual {v0}, Lcom/ea/nimble/mtx/googleplay/billing/BillingHelper;->dispose()V
iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$1;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
const/4 v1, 0x0
.line 306
invoke-static {v0, v1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$602(Lcom/ea/nimble/mtx/googleplay/GooglePlay;Lcom/ea/nimble/mtx/googleplay/billing/BillingHelper;)Lcom/ea/nimble/mtx/googleplay/billing/BillingHelper;
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/Object;
const-string v1, "Billing Service Disconnected"
.line 307
invoke-static {p0, v1, v0}, Lcom/ea/nimble/Log$Helper;->LOGD(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
return-void
.end method
.method public onBillingSetupFinished(Lcom/android/billingclient/api/BillingResult;)V
.locals 3
.param p1 # Lcom/android/billingclient/api/BillingResult;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$1;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
const/4 v1, 0x0
.line 293
invoke-static {v0, v1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$402(Lcom/ea/nimble/mtx/googleplay/GooglePlay;Z)Z
.line 294
invoke-virtual {p1}, Lcom/android/billingclient/api/BillingResult;->getResponseCode()I
move-result v0
if-eqz v0, :cond_0
.line 296
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Error setting up the billing helper: "
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Lcom/android/billingclient/api/BillingResult;->getResponseCode()I
move-result v2
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v2, " "
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Lcom/android/billingclient/api/BillingResult;->getDebugMessage()Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-array v0, v1, [Ljava/lang/Object;
invoke-static {p0, p1, v0}, Lcom/ea/nimble/Log$Helper;->LOGD(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
return-void
:cond_0
iget-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$1;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
.line 299
invoke-static {p1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$500(Lcom/ea/nimble/mtx/googleplay/GooglePlay;)Lcom/ea/nimble/mtx/googleplay/GooglePlay$ItemRestorer;
move-result-object p1
invoke-virtual {p1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay$ItemRestorer;->restoreItems()V
return-void
.end method