Exploit databaseDownload repository ZIP
GH-14fb583d3d1bd2da10251bb1a37b93d6
gitchw/ghostlock-cve-2026-43499
Sources for CVE-2026-43499
165 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files13
gitchw/ghostlock-cve-2026-43499Revision 96acd93156f6
- ↑..Parent directory
- ActionBar.java
- AlertController.java
- AlertDialog.java
- AppCompatActivity.java
- AppCompatCallback.java
- AppCompatDelegate.java
- AppCompatDelegateImpl.java
- AppCompatDialog.java
- AppCompatViewInflater.java
- ResourcesFlusher.java
- TwilightCalculator.java
- TwilightManager.java
- WindowDecorActionBar.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
workspace/decomp/HeyOTA/sources/androidx/appcompat/app/TwilightCalculator.java
Java · 1,999 bytespackage androidx.appcompat.app;
/* loaded from: classes.dex */
class TwilightCalculator {
private static TwilightCalculator sInstance;
public int state;
public long sunrise;
public long sunset;
TwilightCalculator() {
}
/* JADX INFO: Access modifiers changed from: package-private */
public static TwilightCalculator getInstance() {
if (sInstance == null) {
sInstance = new TwilightCalculator();
}
return sInstance;
}
public void calculateTwilight(long j, double d, double d2) {
double d3 = (0.01720197f * (((float) (j - 946728000000L)) / 8.64E7f)) + 6.24006f;
double sin = (Math.sin(d3) * 0.03341960161924362d) + d3 + (Math.sin(2.0f * r4) * 3.4906598739326E-4d) + (Math.sin(r4 * 3.0f) * 5.236000106378924E-6d) + 1.796593063d + 3.141592653589793d;
double round = ((float) Math.round((r3 - 9.0E-4f) - r9)) + 9.0E-4f + ((-d2) / 360.0d) + (Math.sin(d3) * 0.0053d) + (Math.sin(2.0d * sin) * (-0.0069d));
double asin = Math.asin(Math.sin(sin) * Math.sin(0.4092797040939331d));
double d4 = 0.01745329238474369d * d;
double sin2 = (Math.sin(-0.10471975803375244d) - (Math.sin(d4) * Math.sin(asin))) / (Math.cos(d4) * Math.cos(asin));
if (sin2 >= 1.0d) {
this.state = 1;
this.sunset = -1L;
this.sunrise = -1L;
} else {
if (sin2 <= -1.0d) {
this.state = 0;
this.sunset = -1L;
this.sunrise = -1L;
return;
}
double acos = (float) (Math.acos(sin2) / 6.283185307179586d);
this.sunset = Math.round((round + acos) * 8.64E7d) + 946728000000L;
long round2 = Math.round((round - acos) * 8.64E7d) + 946728000000L;
this.sunrise = round2;
if (round2 < j && this.sunset > j) {
this.state = 0;
} else {
this.state = 1;
}
}
}
}