Files
rr3-apk/smali_classes2/com/ea/eadp/pushnotification/services/AndroidPushService$4.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

176 lines
5.5 KiB
Smali

.class Lcom/ea/eadp/pushnotification/services/AndroidPushService$4;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/ea/eadp/http/models/HttpRequestListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/ea/eadp/pushnotification/services/AndroidPushService;->sendTrackingEvent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/ea/eadp/pushnotification/services/AndroidPushService;
# direct methods
.method public constructor <init>(Lcom/ea/eadp/pushnotification/services/AndroidPushService;)V
.locals 0
iput-object p1, p0, Lcom/ea/eadp/pushnotification/services/AndroidPushService$4;->this$0:Lcom/ea/eadp/pushnotification/services/AndroidPushService;
.line 320
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onComplete(Lcom/ea/eadp/http/models/HttpResponse;)V
.locals 6
.line 324
invoke-interface {p1}, Lcom/ea/eadp/http/models/HttpResponse;->getCode()I
move-result v0
const/16 v1, 0xc8
const-string v2, "response: %s"
const/4 v3, 0x0
const-string v4, "PushManager"
if-lt v0, v1, :cond_0
const/16 v1, 0x12c
if-ge v0, v1, :cond_0
const-string v1, "Tracking request successful!"
new-array v5, v3, [Ljava/lang/Object;
.line 327
invoke-static {v4, v1, v5}, Lcom/ea/nimble/Log$Helper;->LOGIS(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
.line 328
invoke-interface {p1}, Lcom/ea/eadp/http/models/HttpResponse;->getBody()Ljava/lang/String;
move-result-object v1
filled-new-array {v1}, [Ljava/lang/Object;
move-result-object v1
invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
new-array v2, v3, [Ljava/lang/Object;
invoke-static {v4, v1, v2}, Lcom/ea/nimble/Log$Helper;->LOGDS(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v1, p0, Lcom/ea/eadp/pushnotification/services/AndroidPushService$4;->this$0:Lcom/ea/eadp/pushnotification/services/AndroidPushService;
.line 330
invoke-static {v1}, Lcom/ea/eadp/pushnotification/services/AndroidPushService;->access$300(Lcom/ea/eadp/pushnotification/services/AndroidPushService;)Lcom/ea/eadp/pushnotification/listeners/IPushListener;
move-result-object v1
if-eqz v1, :cond_1
iget-object v1, p0, Lcom/ea/eadp/pushnotification/services/AndroidPushService$4;->this$0:Lcom/ea/eadp/pushnotification/services/AndroidPushService;
.line 332
invoke-static {v1}, Lcom/ea/eadp/pushnotification/services/AndroidPushService;->access$300(Lcom/ea/eadp/pushnotification/services/AndroidPushService;)Lcom/ea/eadp/pushnotification/listeners/IPushListener;
move-result-object v1
invoke-interface {p1}, Lcom/ea/eadp/http/models/HttpResponse;->getBody()Ljava/lang/String;
move-result-object p1
invoke-interface {v1, v0, p1}, Lcom/ea/eadp/pushnotification/listeners/IPushListener;->onTrackingSuccess(ILjava/lang/String;)V
goto :goto_0
.line 337
:cond_0
invoke-interface {p1}, Lcom/ea/eadp/http/models/HttpResponse;->getCode()I
move-result v1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-interface {p1}, Lcom/ea/eadp/http/models/HttpResponse;->getMessage()Ljava/lang/String;
move-result-object v5
filled-new-array {v1, v5}, [Ljava/lang/Object;
move-result-object v1
const-string v5, "Tracking request failed! Status: %s, Message: %s"
invoke-static {v5, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
new-array v5, v3, [Ljava/lang/Object;
.line 338
invoke-static {v4, v1, v5}, Lcom/ea/nimble/Log$Helper;->LOGES(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
.line 339
invoke-interface {p1}, Lcom/ea/eadp/http/models/HttpResponse;->getBody()Ljava/lang/String;
move-result-object p1
filled-new-array {p1}, [Ljava/lang/Object;
move-result-object p1
invoke-static {v2, p1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
new-array v2, v3, [Ljava/lang/Object;
invoke-static {v4, p1, v2}, Lcom/ea/nimble/Log$Helper;->LOGDS(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
iget-object p1, p0, Lcom/ea/eadp/pushnotification/services/AndroidPushService$4;->this$0:Lcom/ea/eadp/pushnotification/services/AndroidPushService;
.line 341
invoke-static {p1}, Lcom/ea/eadp/pushnotification/services/AndroidPushService;->access$300(Lcom/ea/eadp/pushnotification/services/AndroidPushService;)Lcom/ea/eadp/pushnotification/listeners/IPushListener;
move-result-object p1
if-eqz p1, :cond_1
iget-object p1, p0, Lcom/ea/eadp/pushnotification/services/AndroidPushService$4;->this$0:Lcom/ea/eadp/pushnotification/services/AndroidPushService;
.line 343
invoke-static {p1}, Lcom/ea/eadp/pushnotification/services/AndroidPushService;->access$300(Lcom/ea/eadp/pushnotification/services/AndroidPushService;)Lcom/ea/eadp/pushnotification/listeners/IPushListener;
move-result-object p1
invoke-interface {p1, v0, v1}, Lcom/ea/eadp/pushnotification/listeners/IPushListener;->onConnectionError(ILjava/lang/String;)V
:cond_1
:goto_0
return-void
.end method