what-the-bank/sources/o/nWP.java

39 lines
1.6 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* loaded from: classes.dex */
public final class nWP {
public static nWP e;
public int a;
public long b;
public long c;
public final void e(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.a = 1;
} else {
if (sin2 > -1.0d) {
double acos = (float) (Math.acos(sin2) / 6.283185307179586d);
this.b = Math.round((round + acos) * 8.64E7d) + 946728000000L;
long round2 = Math.round((round - acos) * 8.64E7d) + 946728000000L;
this.c = round2;
if (round2 >= j || this.b <= j) {
this.a = 1;
return;
} else {
this.a = 0;
return;
}
}
this.a = 0;
}
this.b = -1L;
this.c = -1L;
}
}