- 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
340 lines
8.9 KiB
Smali
340 lines
8.9 KiB
Smali
.class public Lcom/google/android/gms/internal/ads/zzbsi;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field private final zza:Lcom/google/android/gms/internal/ads/zzcex;
|
|
|
|
.field private final zzb:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/google/android/gms/internal/ads/zzcex;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzbsi;->zza:Lcom/google/android/gms/internal/ads/zzcex;
|
|
|
|
iput-object p2, p0, Lcom/google/android/gms/internal/ads/zzbsi;->zzb:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final zzg(IIII)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
:try_start_0
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
const-string v1, "x"
|
|
|
|
.line 2
|
|
invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "y"
|
|
|
|
invoke-virtual {p1, v0, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "width"
|
|
|
|
invoke-virtual {p1, p2, p3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "height"
|
|
|
|
invoke-virtual {p1, p2, p4}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object p2, p0, Lcom/google/android/gms/internal/ads/zzbsi;->zza:Lcom/google/android/gms/internal/ads/zzcex;
|
|
|
|
const-string p3, "onDefaultPositionReceived"
|
|
|
|
.line 3
|
|
invoke-interface {p2, p3, p1}, Lcom/google/android/gms/internal/ads/zzbmk;->zze(Ljava/lang/String;Lorg/json/JSONObject;)V
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
const-string p2, "Error occurred while dispatching default position."
|
|
|
|
.line 4
|
|
invoke-static {p2, p1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final zzh(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
:try_start_0
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
const-string v1, "message"
|
|
|
|
invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "action"
|
|
|
|
iget-object v1, p0, Lcom/google/android/gms/internal/ads/zzbsi;->zzb:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzbsi;->zza:Lcom/google/android/gms/internal/ads/zzcex;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v1, "onError"
|
|
|
|
.line 2
|
|
invoke-interface {v0, v1, p1}, Lcom/google/android/gms/internal/ads/zzbmk;->zze(Ljava/lang/String;Lorg/json/JSONObject;)V
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
|
|
:goto_0
|
|
const-string v0, "Error occurred while dispatching error event."
|
|
|
|
.line 3
|
|
invoke-static {v0, p1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final zzi(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
:try_start_0
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
const-string v1, "js"
|
|
|
|
invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzbsi;->zza:Lcom/google/android/gms/internal/ads/zzcex;
|
|
|
|
const-string v1, "onReadyEventReceived"
|
|
|
|
.line 2
|
|
invoke-interface {v0, v1, p1}, Lcom/google/android/gms/internal/ads/zzbmk;->zze(Ljava/lang/String;Lorg/json/JSONObject;)V
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
const-string v0, "Error occurred while dispatching ready Event."
|
|
|
|
.line 3
|
|
invoke-static {v0, p1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final zzj(IIIIFI)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
:try_start_0
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
const-string v1, "width"
|
|
|
|
.line 2
|
|
invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "height"
|
|
|
|
.line 3
|
|
invoke-virtual {p1, v0, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "maxSizeWidth"
|
|
|
|
.line 4
|
|
invoke-virtual {p1, p2, p3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "maxSizeHeight"
|
|
|
|
.line 5
|
|
invoke-virtual {p1, p2, p4}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "density"
|
|
|
|
float-to-double p3, p5
|
|
|
|
.line 6
|
|
invoke-virtual {p1, p2, p3, p4}, Lorg/json/JSONObject;->put(Ljava/lang/String;D)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "rotation"
|
|
|
|
.line 7
|
|
invoke-virtual {p1, p2, p6}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object p2, p0, Lcom/google/android/gms/internal/ads/zzbsi;->zza:Lcom/google/android/gms/internal/ads/zzcex;
|
|
|
|
const-string p3, "onScreenInfoChanged"
|
|
|
|
.line 8
|
|
invoke-interface {p2, p3, p1}, Lcom/google/android/gms/internal/ads/zzbmk;->zze(Ljava/lang/String;Lorg/json/JSONObject;)V
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
const-string p2, "Error occurred while obtaining screen information."
|
|
|
|
.line 9
|
|
invoke-static {p2, p1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final zzk(IIII)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
:try_start_0
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
const-string v1, "x"
|
|
|
|
.line 2
|
|
invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "y"
|
|
|
|
invoke-virtual {p1, v0, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "width"
|
|
|
|
invoke-virtual {p1, p2, p3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "height"
|
|
|
|
invoke-virtual {p1, p2, p4}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object p2, p0, Lcom/google/android/gms/internal/ads/zzbsi;->zza:Lcom/google/android/gms/internal/ads/zzcex;
|
|
|
|
const-string p3, "onSizeChanged"
|
|
|
|
.line 3
|
|
invoke-interface {p2, p3, p1}, Lcom/google/android/gms/internal/ads/zzbmk;->zze(Ljava/lang/String;Lorg/json/JSONObject;)V
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
const-string p2, "Error occurred while dispatching size change."
|
|
|
|
.line 4
|
|
invoke-static {p2, p1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final zzl(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
:try_start_0
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
const-string v1, "state"
|
|
|
|
invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzbsi;->zza:Lcom/google/android/gms/internal/ads/zzcex;
|
|
|
|
const-string v1, "onStateChanged"
|
|
|
|
.line 2
|
|
invoke-interface {v0, v1, p1}, Lcom/google/android/gms/internal/ads/zzbmk;->zze(Ljava/lang/String;Lorg/json/JSONObject;)V
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
const-string v0, "Error occurred while dispatching state change."
|
|
|
|
.line 3
|
|
invoke-static {v0, p1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|