Files
rr3-apk/smali_classes4/com/unity3d/services/ads/measurements/MeasurementsStatusReceiver.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

124 lines
3.8 KiB
Smali

.class public final Lcom/unity3d/services/ads/measurements/MeasurementsStatusReceiver;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/os/OutcomeReceiver;
# annotations
.annotation build Landroid/annotation/SuppressLint;
value = {
"NewApi",
"MissingPermission"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroid/os/OutcomeReceiver;"
}
.end annotation
# instance fields
.field private final eventSender:Lcom/unity3d/services/core/webview/bridge/IEventSender;
# direct methods
.method public constructor <init>(Lcom/unity3d/services/core/webview/bridge/IEventSender;)V
.locals 1
const-string v0, "eventSender"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 8
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/unity3d/services/ads/measurements/MeasurementsStatusReceiver;->eventSender:Lcom/unity3d/services/core/webview/bridge/IEventSender;
return-void
.end method
# virtual methods
.method public onError(Ljava/lang/Exception;)V
.locals 4
const-string v0, "error"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lcom/unity3d/services/ads/measurements/MeasurementsStatusReceiver;->eventSender:Lcom/unity3d/services/core/webview/bridge/IEventSender;
.line 15
sget-object v1, Lcom/unity3d/services/core/webview/WebViewEventCategory;->MEASUREMENTS:Lcom/unity3d/services/core/webview/WebViewEventCategory;
sget-object v2, Lcom/unity3d/services/ads/measurements/MeasurementsEvents;->NOT_AVAILABLE:Lcom/unity3d/services/ads/measurements/MeasurementsEvents;
sget-object v3, Lcom/unity3d/services/ads/measurements/MeasurementsErrors;->ERROR_EXCEPTION:Lcom/unity3d/services/ads/measurements/MeasurementsErrors;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
filled-new-array {v3, p1}, [Ljava/lang/Object;
move-result-object p1
invoke-interface {v0, v1, v2, p1}, Lcom/unity3d/services/core/webview/bridge/IEventSender;->sendEvent(Ljava/lang/Enum;Ljava/lang/Enum;[Ljava/lang/Object;)Z
return-void
.end method
.method public bridge synthetic onError(Ljava/lang/Throwable;)V
.locals 0
.line 8
check-cast p1, Ljava/lang/Exception;
invoke-virtual {p0, p1}, Lcom/unity3d/services/ads/measurements/MeasurementsStatusReceiver;->onError(Ljava/lang/Exception;)V
return-void
.end method
.method public onResult(I)V
.locals 3
iget-object v0, p0, Lcom/unity3d/services/ads/measurements/MeasurementsStatusReceiver;->eventSender:Lcom/unity3d/services/core/webview/bridge/IEventSender;
.line 11
sget-object v1, Lcom/unity3d/services/core/webview/WebViewEventCategory;->MEASUREMENTS:Lcom/unity3d/services/core/webview/WebViewEventCategory;
sget-object v2, Lcom/unity3d/services/ads/measurements/MeasurementsEvents;->AVAILABLE:Lcom/unity3d/services/ads/measurements/MeasurementsEvents;
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
filled-new-array {p1}, [Ljava/lang/Object;
move-result-object p1
invoke-interface {v0, v1, v2, p1}, Lcom/unity3d/services/core/webview/bridge/IEventSender;->sendEvent(Ljava/lang/Enum;Ljava/lang/Enum;[Ljava/lang/Object;)Z
return-void
.end method
.method public bridge synthetic onResult(Ljava/lang/Object;)V
.locals 0
.line 8
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
move-result p1
invoke-virtual {p0, p1}, Lcom/unity3d/services/ads/measurements/MeasurementsStatusReceiver;->onResult(I)V
return-void
.end method