- 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
195 lines
5.4 KiB
Smali
195 lines
5.4 KiB
Smali
.class Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/firemint/realracing/LocalNotificationsCenter;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "LocalNotification"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public mDelayTime:J
|
|
|
|
.field public mId:I
|
|
|
|
.field public mMessage:Ljava/lang/String;
|
|
|
|
.field public mReminderRemain:I
|
|
|
|
.field public mURL:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ILjava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 87
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, -0x1
|
|
|
|
iput v0, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mReminderRemain:I
|
|
|
|
iput p1, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mId:I
|
|
|
|
iput-object p2, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mMessage:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mURL:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lorg/json/JSONObject;)V
|
|
.locals 1
|
|
|
|
.line 82
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, -0x1
|
|
|
|
iput v0, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mReminderRemain:I
|
|
|
|
.line 83
|
|
invoke-virtual {p0, p1}, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->Serialise(Lorg/json/JSONObject;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public Serialise()Lorg/json/JSONObject;
|
|
.locals 4
|
|
|
|
.line 48
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
:try_start_0
|
|
const-string v1, "id"
|
|
|
|
iget v2, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mId:I
|
|
|
|
.line 51
|
|
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
const-string v1, "firetime"
|
|
|
|
iget-wide v2, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mDelayTime:J
|
|
|
|
.line 52
|
|
invoke-virtual {v0, v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;
|
|
|
|
const-string v1, "message"
|
|
|
|
iget-object v2, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mMessage:Ljava/lang/String;
|
|
|
|
.line 53
|
|
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v1, "deepLinkUrl"
|
|
|
|
iget-object v2, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mURL:Ljava/lang/String;
|
|
|
|
.line 54
|
|
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v1, "reminder"
|
|
|
|
iget v2, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mReminderRemain:I
|
|
|
|
.line 55
|
|
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
.line 59
|
|
invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lcom/firemint/realracing/LocalNotificationsCenter;->-$$Nest$smLogError(Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public Serialise(Lorg/json/JSONObject;)V
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
const-string v0, "id"
|
|
|
|
.line 69
|
|
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mId:I
|
|
|
|
const-string v0, "firetime"
|
|
|
|
.line 70
|
|
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
iput-wide v0, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mDelayTime:J
|
|
|
|
const-string v0, "message"
|
|
|
|
.line 71
|
|
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mMessage:Ljava/lang/String;
|
|
|
|
const-string v0, "deepLinkUrl"
|
|
|
|
.line 72
|
|
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mURL:Ljava/lang/String;
|
|
|
|
const-string v0, "reminder"
|
|
|
|
.line 73
|
|
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/firemint/realracing/LocalNotificationsCenter$LocalNotification;->mReminderRemain:I
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 77
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lcom/firemint/realracing/LocalNotificationsCenter;->-$$Nest$smLogError(Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|