X-plore v4.37.09版本的 MD5 值为:1ac588cd7c13e9578c2d4266387e2f4f
以下内容为反编译后的 C1470a.java 源代码,内容仅作参考
package S6;
import F6.C1141j;
import F7.C1160d;
import J6.k;
import P.AbstractC1363o;
import P.InterfaceC1357l;
import a7.AbstractC1664a;
import android.accounts.Account;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import androidx.compose.foundation.relocation.zHt.VwmfTGoaDK;
import c3.dDy.EPlQ;
import com.lonelycatgames.Xplore.App;
import com.lonelycatgames.Xplore.Browser;
import d7.C6449c;
import h7.AbstractC6736y;
import h7.C6709J;
import i7.AbstractC6843u;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import t6.InterfaceC7374e;
import u6.AbstractC7556B;
import v7.InterfaceC7625a;
import w7.AbstractC7780t;
import w7.AbstractC7781u;
public final class C1470a extends U {
public static final C1470a f11202g = new C1470a();
public static final class C0323a extends AbstractC7781u implements v7.l {
final FileOutputStream f11203b;
C0323a(FileOutputStream fileOutputStream) {
super(1);
this.f11203b = fileOutputStream;
}
public final void a(String str) {
AbstractC7780t.f(str, "s");
try {
FileOutputStream fileOutputStream = this.f11203b;
byte[] bytes = (str + '\n').getBytes(C1160d.f4033b);
AbstractC7780t.e(bytes, "getBytes(...)");
fileOutputStream.write(bytes);
} catch (IOException e9) {
e9.printStackTrace();
}
}
@Override
public Object h(Object obj) {
a((String) obj);
return C6709J.f49946a;
}
}
public static final class b extends AbstractC7781u implements v7.l {
public static final b f11204b = new b();
b() {
super(1);
}
public final void a(InterfaceC7374e interfaceC7374e) {
AbstractC7780t.f(interfaceC7374e, "$this$asyncTask");
while (true) {
new ArrayList().add(new byte[1048576]);
Thread.sleep(10L);
}
}
@Override
public Object h(Object obj) {
a((InterfaceC7374e) obj);
return C6709J.f49946a;
}
}
public static final class c extends AbstractC7781u implements v7.l {
public static final c f11205b = new c();
c() {
super(1);
}
public final void a(C6709J c6709j) {
AbstractC7780t.f(c6709j, "it");
}
@Override
public Object h(Object obj) {
a((C6709J) obj);
return C6709J.f49946a;
}
}
public static final class d extends C1141j {
private final String f11206f0;
d(com.lonelycatgames.Xplore.FileSystem.l lVar) {
super(lVar, 0L, 2, null);
this.f11206f0 = "X-plore data";
}
@Override
public Object clone() {
return super.clone();
}
@Override
public String l0() {
return this.f11206f0;
}
}
public static final class e extends AbstractC7781u implements v7.l {
final int f11207b;
e(int i9) {
super(1);
this.f11207b = i9;
}
public final void a(InterfaceC7374e interfaceC7374e) {
AbstractC7780t.f(interfaceC7374e, "$this$asyncTask");
App.f43875F0.o("Async " + this.f11207b);
}
@Override
public Object h(Object obj) {
a((InterfaceC7374e) obj);
return C6709J.f49946a;
}
}
public static final class f extends AbstractC7781u implements v7.l {
final int f11208b;
f(int i9) {
super(1);
this.f11208b = i9;
}
public final void a(C6709J c6709j) {
AbstractC7780t.f(c6709j, "it");
App.f43875F0.o(" done " + this.f11208b);
}
@Override
public Object h(Object obj) {
a((C6709J) obj);
return C6709J.f49946a;
}
}
public static final class g extends AbstractC7781u implements InterfaceC7625a {
final h f11209b;
final App f11210c;
g(h hVar, App app) {
super(0);
this.f11209b = hVar;
this.f11210c = app;
}
public final void a() {
this.f11209b.b();
this.f11210c.X2();
}
@Override
public Object c() {
a();
return C6709J.f49946a;
}
}
public static final class h implements J6.g {
private final StringBuilder f11211a = new StringBuilder();
final App f11212b;
h(App app) {
this.f11212b = app;
}
@Override
public synchronized void a(String str) {
try {
AbstractC7780t.f(str, "s");
F7.t.h(this.f11211a, str, '\n');
} catch (Throwable th) {
throw th;
}
}
public synchronized void b() {
try {
this.f11212b.u("--- Billing log ---\n" + ((Object) this.f11211a));
this.f11211a.setLength(0);
} catch (Throwable th) {
throw th;
}
}
}
public static final class i extends C5.a {
final App f11213S;
final boolean f11214T;
final Browser f11215U;
static final class C0324a extends AbstractC7781u implements InterfaceC7625a {
final Browser f11216b;
C0324a(Browser browser) {
super(0);
this.f11216b = browser;
}
public final void a() {
com.lonelycatgames.Xplore.ui.a.t1(this.f11216b, new Intent("android.intent.action.VIEW", Uri.parse("https://www.lonelycatgames.com")), 0, 2, null);
}
@Override
public Object c() {
a();
return C6709J.f49946a;
}
}
static final class b extends AbstractC7781u implements v7.l {
final Browser f11217b;
b(Browser browser) {
super(1);
this.f11217b = browser;
}
public final void a(String str) {
AbstractC7780t.f(str, "s");
try {
C1470a.f11202g.I(this.f11217b, Integer.parseInt(str));
} catch (NumberFormatException unused) {
App.f43875F0.d("Invalid number: " + str);
}
}
@Override
public Object h(Object obj) {
a((String) obj);
return C6709J.f49946a;
}
}
static final class c extends AbstractC7781u implements InterfaceC7625a {
final Browser f11219c;
c(Browser browser) {
super(0);
this.f11219c = browser;
}
public final void a() {
i.this.dismiss();
this.f11219c.u1(J6.i.f6395K);
}
@Override
public Object c() {
a();
return C6709J.f49946a;
}
}
static final class d extends AbstractC7781u implements v7.l {
final Browser f11220b;
d(Browser browser) {
super(1);
this.f11220b = browser;
}
public final void a(k.d dVar) {
Object obj;
AbstractC7780t.f(dVar, "pi");
Browser browser = this.f11220b;
Iterator it = J6.t.b().iterator();
while (true) {
if (!it.hasNext()) {
obj = null;
break;
} else {
obj = it.next();
if (((J6.k) obj).k().contains(dVar)) {
break;
}
}
}
browser.h1(dVar, (J6.k) obj);
}
@Override
public Object h(Object obj) {
a((k.d) obj);
return C6709J.f49946a;
}
}
i(App app, boolean z8, Browser browser, C5.g gVar, int i9) {
super(gVar, null, Integer.valueOf(i9), false, null, 26, null);
this.f11213S = app;
this.f11214T = z8;
this.f11215U = browser;
}
@Override
protected void d(b0.g gVar, InterfaceC1357l interfaceC1357l, int i9) {
AbstractC7780t.f(gVar, "modifier");
interfaceC1357l.e(1963242566);
if (AbstractC1363o.G()) {
AbstractC1363o.S(1963242566, i9, -1, "com.lonelycatgames.Xplore.ops.AboutOperation.run.<no name provided>.RenderContent (AboutOperation.kt:183)");
}
AbstractC1664a.a(new C0324a(this.f11215U), new b(this.f11215U), AbstractC6736y.a("Device ID", this.f11213S.Q()), J6.h.f6348a.n(), this.f11214T ? new c(this.f11215U) : null, new d(this.f11215U), interfaceC1357l, 4096);
if (AbstractC1363o.G()) {
AbstractC1363o.R();
}
interfaceC1357l.M();
}
}
static final class j extends AbstractC7781u implements InterfaceC7625a {
final i f11221b;
final Browser f11222c;
final Account f11223d;
j(i iVar, Browser browser, Account account) {
super(0);
this.f11221b = iVar;
this.f11222c = browser;
this.f11223d = account;
}
public final void a() {
this.f11221b.dismiss();
this.f11222c.c1(this.f11223d);
}
@Override
public Object c() {
a();
return C6709J.f49946a;
}
}
private C1470a() {
super(AbstractC7556B.f55692X1, u6.F.f56298a, "AboutOperation");
}
public final void I(Browser browser, int i9) {
int m9;
App T02 = browser.T0();
if (i9 != 152) {
if (i9 == 200) {
X6.m mVar = browser.M2().F()[0];
d dVar = new d(com.lonelycatgames.Xplore.FileSystem.l.f44637n.d());
String parent = T02.getFilesDir().getParent();
if (parent == null) {
throw new IllegalArgumentException("Required value was null.".toString());
}
dVar.Y0(parent);
m9 = AbstractC6843u.m(mVar.f1());
mVar.k0(dVar, m9);
return;
}
if (i9 == 899) {
for (int i10 = 0; i10 < 300; i10++) {
t6.k.h(new e(i10), (r16 & 2) != 0 ? null : null, (r16 & 4) != 0 ? null : null, (r16 & 8) != 0 ? null : null, (r16 & 16) != 0, (r16 & 32) != 0 ? null : null, new f(i10));
}
return;
}
switch (i9) {
case 901:
h hVar = new h(T02);
J6.h.f6348a.D();
Iterator it = J6.t.b().iterator();
while (it.hasNext()) {
((J6.k) it.next()).q(true, hVar);
}
t6.k.j0(5000, new g(hVar, T02));
return;
case 902:
J6.h.f6348a.D();
return;
case 903:
Iterator it2 = J6.t.b().iterator();
while (it2.hasNext()) {
J6.k.r((J6.k) it2.next(), true, null, 2, null);
}
return;
default:
switch (i9) {
case 906:
App.f43875F0.o("Clear file metadata");
T02.U().g();
return;
case 907:
Q.f11043g.W();
browser.P2();
return;
case 908:
App.f43875F0.o("Clear Android keystore");
x5.h.f58681e.c();
return;
case 909:
App.f43875F0.o("SC: " + T02.T1());
return;
case 910:
SharedPreferences.Editor edit = T02.F0().edit();
edit.putLong(EPlQ.GFFVhbx, 1L);
edit.apply();
return;
case 911:
T02.X2();
return;
default:
switch (i9) {
case 990:
App.f43875F0.o(VwmfTGoaDK.kemkOdOtENvOaA);
com.google.firebase.crashlytics.a.a().d(true);
throw new RuntimeException("Testing crash");
case 991:
App.f43875F0.o("assert");
return;
case 992:
t6.k.h(b.f11204b, (r16 & 2) != 0 ? null : null, (r16 & 4) != 0 ? null : null, (r16 & 8) != 0 ? null : null, (r16 & 16) != 0, (r16 & 32) != 0 ? null : null, c.f11205b);
return;
case 993:
T02.U().f0("rating_time", 0);
T02.N().T(0L);
browser.X2(15);
return;
case 994:
if (J6.d.f6272a.q()) {
Browser.h3(browser, false, 1, null);
return;
}
return;
case 995:
T02.B2(String.valueOf(t6.k.B()), true);
return;
case 996:
T02.d0(true);
return;
default:
return;
}
}
}
}
App.D2(T02, "Creating log of file volumes", false, 2, null);
File file = new File("/sdcard/X-plore volumes.txt");
file.delete();
try {
FileOutputStream fileOutputStream = new FileOutputStream(file);
try {
new C6449c(T02, new C0323a(fileOutputStream));
t7.c.a(fileOutputStream, null);
} finally {
}
} catch (IOException e9) {
e9.printStackTrace();
App.D2(T02, t6.k.Q(e9), false, 2, null);
}
}
@Override
public void B(Browser browser, boolean z8) {
AbstractC7780t.f(browser, "browser");
App T02 = browser.T0();
i iVar = new i(T02, (J6.h.f6348a.l().isEmpty() ^ true) && (T02.r0().isEmpty() ^ true), browser, browser.Y0(), u6.F.f56298a);
Account y02 = T02.y0();
if (y02 != null) {
iVar.L(N.a.a(B5.J.j()), Integer.valueOf(u6.F.f56328d), new j(iVar, browser, y02));
}
}
@Override
public boolean m() {
return false;
}
}