Files
rr3-apk/smali_classes4/com/singular/sdk/internal/ApiSubmitEvent$OnEventSubmitCallback.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

102 lines
2.2 KiB
Smali

.class public Lcom/singular/sdk/internal/ApiSubmitEvent$OnEventSubmitCallback;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/singular/sdk/internal/Api$OnApiCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/singular/sdk/internal/ApiSubmitEvent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "OnEventSubmitCallback"
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/singular/sdk/internal/ApiSubmitEvent;
# direct methods
.method public constructor <init>(Lcom/singular/sdk/internal/ApiSubmitEvent;)V
.locals 0
iput-object p1, p0, Lcom/singular/sdk/internal/ApiSubmitEvent$OnEventSubmitCallback;->this$0:Lcom/singular/sdk/internal/ApiSubmitEvent;
.line 50
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public handle(Lcom/singular/sdk/internal/SingularInstance;ILjava/lang/String;)Z
.locals 2
const/16 p1, 0x19d
const/4 v0, 0x1
if-ne p2, p1, :cond_0
return v0
:cond_0
const/16 p1, 0xc8
const/4 v1, 0x0
if-eq p2, p1, :cond_1
return v1
.line 71
:cond_1
:try_start_0
new-instance p1, Lorg/json/JSONObject;
invoke-direct {p1, p3}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
const-string p2, "status"
const-string p3, ""
.line 73
invoke-virtual {p1, p2, p3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
const-string p2, "ok"
.line 74
invoke-virtual {p1, p2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
move-result p1
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
if-eqz p1, :cond_2
return v0
:catch_0
move-exception p1
.line 78
invoke-static {}, Lcom/singular/sdk/internal/ApiSubmitEvent;->access$000()Lcom/singular/sdk/internal/SingularLog;
move-result-object p2
const-string p3, "error in handle()"
invoke-virtual {p2, p3, p1}, Lcom/singular/sdk/internal/SingularLog;->error(Ljava/lang/String;Ljava/lang/Throwable;)I
:cond_2
return v1
.end method