ZBZB Slots v1.0.0版本的 MD5 值为:550b16b9ec01cdbae13aa8b62cc187d8
以下内容为反编译后的 f.java 源代码,内容仅作参考
package d5;
import com.kano.sonna.abusive.WebViewActivity;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import kotlinx.coroutines.internal.n;
import org.json.JSONObject;
import x5.o;
import x5.v0;
import x5.w;
public final class f extends l5.g implements p5.e {
public int f2872f;
public final WebViewActivity f2873g;
public final p5.c f2874h;
public f(WebViewActivity webViewActivity, p5.c cVar, j5.d dVar) {
super(2, dVar);
this.f2873g = webViewActivity;
this.f2874h = cVar;
}
@Override
public final j5.d a(Object obj, j5.d dVar) {
return new f(this.f2873g, this.f2874h, dVar);
}
@Override
public final Object g(Object obj, Object obj2) {
return ((f) a((o) obj, (j5.d) obj2)).i(g5.i.f3546a);
}
@Override
public final Object i(Object obj) {
String str;
v0 v0Var;
e eVar;
k5.a aVar = k5.a.COROUTINE_SUSPENDED;
int i5 = this.f2872f;
if (i5 != 0) {
if (i5 == 1) {
i4.b.U(obj);
} else {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
} else {
i4.b.U(obj);
int i6 = WebViewActivity.C;
WebViewActivity webViewActivity = this.f2873g;
webViewActivity.getClass();
URLConnection openConnection = new URL("https://fhuang.s3.ap-east-1.amazonaws.com/zbzb.json").openConnection();
j5.f.n(openConnection, "null cannot be cast to non-null type java.net.HttpURLConnection");
HttpURLConnection httpURLConnection = (HttpURLConnection) openConnection;
httpURLConnection.setRequestMethod("GET");
int responseCode = httpURLConnection.getResponseCode();
if (responseCode == 200) {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(httpURLConnection.getInputStream()));
StringBuilder sb = new StringBuilder();
while (true) {
String readLine = bufferedReader.readLine();
if (readLine == null) {
break;
}
sb.append(readLine);
}
bufferedReader.close();
i4.b.D("Response: " + ((Object) sb));
try {
str = new JSONObject(sb.toString()).getJSONObject("0140").getString("host");
httpURLConnection.disconnect();
} catch (Exception e5) {
e5.printStackTrace();
}
kotlinx.coroutines.scheduling.d dVar = w.f5876a;
v0Var = n.f4221a;
eVar = new e(str, webViewActivity, this.f2874h, null);
this.f2872f = 1;
if (h5.e.G(v0Var, eVar, this) == aVar) {
return aVar;
}
} else {
i4.b.D("HTTP request failed with status code " + responseCode);
}
httpURLConnection.disconnect();
str = null;
kotlinx.coroutines.scheduling.d dVar2 = w.f5876a;
v0Var = n.f4221a;
eVar = new e(str, webViewActivity, this.f2874h, null);
this.f2872f = 1;
if (h5.e.G(v0Var, eVar, this) == aVar) {
}
}
return g5.i.f3546a;
}
}