- 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
104 lines
2.5 KiB
Smali
104 lines
2.5 KiB
Smali
.class public Lcom/unity3d/services/ads/operation/OperationState;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/unity3d/services/core/webview/bridge/IWebViewSharedObject;
|
|
|
|
|
|
# static fields
|
|
.field private static _emptyPlacementId:Ljava/lang/String; = ""
|
|
|
|
|
|
# instance fields
|
|
.field public configuration:Lcom/unity3d/services/core/configuration/Configuration;
|
|
|
|
.field public id:Ljava/lang/String;
|
|
|
|
.field public placementId:Ljava/lang/String;
|
|
|
|
.field public startTime:J
|
|
|
|
.field public timeoutTimer:Lcom/unity3d/services/core/timer/BaseTimer;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;Lcom/unity3d/services/core/configuration/Configuration;)V
|
|
.locals 0
|
|
|
|
.line 20
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
sget-object p1, Lcom/unity3d/services/ads/operation/OperationState;->_emptyPlacementId:Ljava/lang/String;
|
|
|
|
:cond_0
|
|
iput-object p1, p0, Lcom/unity3d/services/ads/operation/OperationState;->placementId:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lcom/unity3d/services/ads/operation/OperationState;->configuration:Lcom/unity3d/services/core/configuration/Configuration;
|
|
|
|
.line 23
|
|
invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/util/UUID;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/unity3d/services/ads/operation/OperationState;->id:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public duration()J
|
|
.locals 5
|
|
|
|
.line 36
|
|
sget-object v0, Ljava/util/concurrent/TimeUnit;->NANOSECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
move-result-wide v1
|
|
|
|
iget-wide v3, p0, Lcom/unity3d/services/ads/operation/OperationState;->startTime:J
|
|
|
|
sub-long/2addr v1, v3
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getId()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/unity3d/services/ads/operation/OperationState;->id:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public start()V
|
|
.locals 2
|
|
|
|
.line 32
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
move-result-wide v0
|
|
|
|
iput-wide v0, p0, Lcom/unity3d/services/ads/operation/OperationState;->startTime:J
|
|
|
|
return-void
|
|
.end method
|