From 83b9db4540d7a8303f6eeefe6e5ee3e414963eae Mon Sep 17 00:00:00 2001 From: Cuynu Date: Sat, 4 Apr 2026 13:31:59 +0700 Subject: [PATCH] misc: add checksum files Signed-off-by: Cuynu --- MBCPApp/blob_patches/checksum/a0.java | 44 +++++++++++ MBCPApp/blob_patches/checksum/a0.smali | 100 +++++++++++++++++++++++++ 2 files changed, 144 insertions(+) create mode 100644 MBCPApp/blob_patches/checksum/a0.java create mode 100644 MBCPApp/blob_patches/checksum/a0.smali diff --git a/MBCPApp/blob_patches/checksum/a0.java b/MBCPApp/blob_patches/checksum/a0.java new file mode 100644 index 0000000..01764bb --- /dev/null +++ b/MBCPApp/blob_patches/checksum/a0.java @@ -0,0 +1,44 @@ +// +// Decompiled by Jadx - 5 + +// By developer-krushna (https://github.com/developer-krushna/) + +package g; + +import android.location.Location; +import android.location.LocationListener; +import android.os.Bundle; +import android.os.ConditionVariable; +import org.json.JSONException; +import org.json.JSONObject; + +public final class a0 implements LocationListener { + public final /* synthetic */ JSONObject a; + public final /* synthetic */ ConditionVariable b; + + public final void onLocationChanged(Location location) { + try { + this.a.put("latitude", location.getLatitude()); + this.a.put("longitude", location.getLongitude()); + this.b.open(); + } catch (JSONException unused) { + } + } + + public a0(JSONObject jSONObject, ConditionVariable conditionVariable) { + this.a = jSONObject; + this.b = conditionVariable; + } + + public final void onProviderDisabled(String str) { + } + + public final void onProviderEnabled(String str) { + } + + public final void onStatusChanged(String str, int i, Bundle bundle) { + } +} + +// By developer-krushna (https://github.com/developer-krushna/) + diff --git a/MBCPApp/blob_patches/checksum/a0.smali b/MBCPApp/blob_patches/checksum/a0.smali new file mode 100644 index 0000000..072118a --- /dev/null +++ b/MBCPApp/blob_patches/checksum/a0.smali @@ -0,0 +1,100 @@ +.class public final Lg/a0; +.super Ljava/lang/Object; +.source "SourceFile" + +# interfaces +.implements Landroid/location/LocationListener; + + +# instance fields +.field public final synthetic a:Lorg/json/JSONObject; + +.field public final synthetic b:Landroid/os/ConditionVariable; + + +# direct methods +.method public constructor (Lorg/json/JSONObject;Landroid/os/ConditionVariable;)V + .registers 3 + + .line 1 + iput-object p1, p0, Lg/a0;->a:Lorg/json/JSONObject; + + .line 3 + iput-object p2, p0, Lg/a0;->b:Landroid/os/ConditionVariable; + + .line 5 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 8 + return-void +.end method + + +# virtual methods +.method public final onLocationChanged(Landroid/location/Location;)V + .registers 6 + + .line 1 + :try_start_0 + iget-object v0, p0, Lg/a0;->a:Lorg/json/JSONObject; + + .line 3 + const-string v1, "latitude" + + .line 5 + invoke-virtual {p1}, Landroid/location/Location;->getLatitude()D + + .line 8 + move-result-wide v2 + + .line 9 + invoke-virtual {v0, v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;D)Lorg/json/JSONObject; + + .line 12 + iget-object v0, p0, Lg/a0;->a:Lorg/json/JSONObject; + + .line 14 + const-string v1, "longitude" + + .line 16 + invoke-virtual {p1}, Landroid/location/Location;->getLongitude()D + + .line 19 + move-result-wide v2 + + .line 20 + invoke-virtual {v0, v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;D)Lorg/json/JSONObject; + + .line 23 + iget-object p1, p0, Lg/a0;->b:Landroid/os/ConditionVariable; + + .line 25 + invoke-virtual {p1}, Landroid/os/ConditionVariable;->open()V + :try_end_1b + .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_1b} :catch_1b + + .line 28 + :catch_1b + return-void +.end method + +.method public final onProviderDisabled(Ljava/lang/String;)V + .registers 2 + + .line 1 + return-void +.end method + +.method public final onProviderEnabled(Ljava/lang/String;)V + .registers 2 + + .line 1 + return-void +.end method + +.method public final onStatusChanged(Ljava/lang/String;ILandroid/os/Bundle;)V + .registers 4 + + .line 1 + return-void +.end method