花瓣 v4.6.12版本的 MD5 值为:6a3515d4d16d98931f1b3d25a91b257e
以下内容为反编译后的 g.java 源代码,内容仅作参考
package com.ss.android.downloadlib.utils;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import com.huawei.hms.push.constant.RemoteMessageConst;
import com.kuaishou.weapon.p0.t;
import com.ss.android.download.api.config.r;
import com.ss.android.download.api.constant.BaseConstants;
import com.ss.android.downloadlib.activity.JumpKllkActivity;
import com.ss.android.downloadlib.activity.TTDelegateActivity;
import com.ss.android.downloadlib.addownload.model.OpenAppResult;
import com.ss.android.downloadlib.constants.EventConstants;
import com.ss.android.downloadlib.event.AdEventHandler;
import com.ss.android.socialbase.downloader.setting.DownloadSetting;
import com.ss.android.socialbase.downloader.utils.DownloadExpSwitchCode;
import com.umeng.analytics.pro.au;
import com.umeng.analytics.pro.bi;
import java.util.HashMap;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public class g {
public static Uri a(com.ss.android.downloadlib.addownload.model.e eVar) {
String e2 = eVar.e();
Uri.Builder builder = new Uri.Builder();
JSONObject jSONObject = new JSONObject();
JSONObject i2 = com.ss.android.downloadlib.addownload.j.i();
String a = com.ss.android.socialbase.appdownloader.f.c.a(i2.optString(au.t), i2.optString("s"));
builder.scheme(BaseConstants.SCHEME_MARKET).authority("details").appendQueryParameter("id", e2);
if (!TextUtils.isEmpty(a)) {
builder.appendPath(a);
}
Uri build = builder.build();
b(eVar, jSONObject, -1, 6, build.toString());
return build;
}
public static OpenAppResult a(Context context, Uri uri) {
if (context == null || uri == null || !BaseConstants.SCHEME_MARKET.equals(uri.getScheme())) {
return new OpenAppResult(6, 12);
}
try {
Intent intent = new Intent("android.intent.action.VIEW", uri);
if (k.a(context, intent)) {
String i2 = com.ss.android.socialbase.appdownloader.f.d.i();
if (k.d(context, i2) && !com.ss.android.socialbase.appdownloader.f.d.f()) {
intent.setPackage(i2);
}
if (DownloadSetting.obtainGlobal().optBugFix("fix_jump_market")) {
intent.addFlags(335544320);
} else if (!(context instanceof Activity)) {
intent.addFlags(268435456);
}
if (DownloadSetting.obtainGlobal().optInt("test_jump_market_failed") == 1) {
com.ss.android.downloadlib.exception.c.a().a(false, "jump market error");
return new OpenAppResult(6, 25);
}
intent.putExtra(BaseConstants.START_ONLY_FOR_ANDROID, true);
context.startActivity(intent);
return new OpenAppResult(5);
}
return new OpenAppResult(6, 13);
} catch (Exception unused) {
return new OpenAppResult(6, 14);
}
}
public static OpenAppResult a(Context context, com.ss.android.downloadlib.addownload.model.e eVar, String str) {
if (context == null || TextUtils.isEmpty(str)) {
return new OpenAppResult(6, 11);
}
if (com.ss.android.socialbase.appdownloader.f.d.f() && k.d(context, "com.sec.android.app.samsungapps")) {
return d(context, str);
}
if (!eVar.b.isAd() || !eVar.f11803d.enableAM()) {
return a(context, Uri.parse(BaseConstants.MARKET_PREFIX + str));
}
JSONArray optJSONArray = com.ss.android.downloadlib.addownload.j.i().optJSONArray("am_plans");
if (com.ss.android.socialbase.appdownloader.f.d.b() && com.ss.android.socialbase.appdownloader.f.a.a(optJSONArray, "am_0")) {
b(context, eVar, str);
return new OpenAppResult(7, OpenAppResult.Source.AM_M1);
} else if (com.ss.android.socialbase.appdownloader.f.d.d() && com.ss.android.socialbase.appdownloader.f.a.a(optJSONArray, "am_3")) {
return c(context, eVar, str);
} else {
if (com.ss.android.socialbase.appdownloader.f.d.e() && com.ss.android.socialbase.appdownloader.f.a.a(optJSONArray, "am_2")) {
d(context, eVar, str);
return new OpenAppResult(7, OpenAppResult.Source.AM_M2);
} else if (com.ss.android.socialbase.appdownloader.f.d.b() && com.ss.android.socialbase.appdownloader.f.a.a(optJSONArray, "am_6")) {
return a(context, a(eVar));
} else {
if (com.ss.android.socialbase.appdownloader.f.d.c() && com.ss.android.socialbase.appdownloader.f.a.a(optJSONArray, "am_5")) {
e(context, eVar, str);
return new OpenAppResult(7, OpenAppResult.Source.AM_V1);
}
return a(context, Uri.parse(BaseConstants.MARKET_PREFIX + str));
}
}
}
public static OpenAppResult a(Context context, String str) {
if (context == null || TextUtils.isEmpty(str)) {
return new OpenAppResult(6, 11);
}
if (com.ss.android.socialbase.appdownloader.f.d.f() && k.d(context, "com.sec.android.app.samsungapps")) {
return d(context, str);
}
return a(context, Uri.parse(BaseConstants.MARKET_PREFIX + str));
}
public static OpenAppResult a(Context context, String str, com.ss.android.downloadad.api.a.a aVar) {
Intent f2 = k.f(context, str);
if (f2 == null) {
return new OpenAppResult(4, 22);
}
if (Build.VERSION.SDK_INT >= 26 && com.ss.android.downloadlib.addownload.j.i().optInt("open_package_mode") == 1 && com.ss.android.downloadlib.addownload.j.k() != null && com.ss.android.downloadlib.addownload.j.k().a() && aVar.q()) {
TTDelegateActivity.b(str, aVar);
return new OpenAppResult(3);
}
f2.putExtra(BaseConstants.START_ONLY_FOR_ANDROID, true);
try {
context.startActivity(f2);
return new OpenAppResult(3);
} catch (Exception unused) {
return new OpenAppResult(4, 23);
}
}
public static OpenAppResult a(@NonNull com.ss.android.downloadad.api.a.b bVar, String str, String str2) {
OpenAppResult b = b(str, bVar);
return (com.ss.android.downloadlib.b.f.a(bVar) && b.getType() == 2) ? a(str2, bVar) : b;
}
static OpenAppResult a(String str, com.ss.android.downloadad.api.a.a aVar) {
return a(com.ss.android.downloadlib.addownload.j.getContext(), str, aVar);
}
private static String a(String str, @NonNull JSONObject jSONObject, String str2) {
if (TextUtils.isEmpty(str)) {
return null;
}
String a = com.ss.android.socialbase.appdownloader.f.c.a(jSONObject.optString("g"), str2);
String a2 = com.ss.android.socialbase.appdownloader.f.c.a(jSONObject.optString("h"), str2);
return (TextUtils.isEmpty(a) || TextUtils.isEmpty(a2)) ? str : str.replace(a, a2);
}
public static void a(@NonNull Activity activity, String str, long j, String str2, String str3) {
JSONObject jSONObject;
try {
jSONObject = new JSONObject(str3);
} catch (JSONException unused) {
jSONObject = new JSONObject();
}
com.ss.android.downloadlib.addownload.model.e e2 = com.ss.android.downloadlib.addownload.model.f.a().e(j);
try {
JSONObject i2 = com.ss.android.downloadlib.addownload.j.i();
boolean a = com.ss.android.socialbase.appdownloader.f.a.a(i2, activity, com.ss.android.socialbase.appdownloader.f.c.a(i2.optString("bg"), i2.optString("s")));
HashMap<String, String> b = k.b(new JSONObject(str2));
if (a && !b.isEmpty() && a(activity, str, b)) {
b(e2, jSONObject, -1, 5, BaseConstants.MARKET_PREFIX + str);
com.ss.android.downloadlib.b.a.a(OpenAppResult.Source.AM_V1, jSONObject, e2, true);
return;
}
int i3 = a ? b.isEmpty() ? 1 : 2 : 3;
b(e2, jSONObject, i3, 5, BaseConstants.MARKET_PREFIX + str);
com.ss.android.downloadlib.b.a.a(a(activity, Uri.parse(BaseConstants.MARKET_PREFIX + str)), e2, true);
} catch (Exception unused2) {
Context context = com.ss.android.downloadlib.addownload.j.getContext();
com.ss.android.downloadlib.b.a.a(a(context, Uri.parse(BaseConstants.MARKET_PREFIX + str)), e2, true);
b(e2, jSONObject, 4, 5, BaseConstants.MARKET_PREFIX + str);
}
}
public static void a(Context context, String str, long j, boolean z) {
JSONObject jSONObject = new JSONObject();
com.ss.android.downloadlib.addownload.model.e e2 = com.ss.android.downloadlib.addownload.model.f.a().e(j);
try {
JSONObject i2 = com.ss.android.downloadlib.addownload.j.i();
String optString = i2.optString("s");
String a = com.ss.android.socialbase.appdownloader.f.c.a(i2.optString("aa"), optString);
String a2 = com.ss.android.socialbase.appdownloader.f.c.a(i2.optString("ac"), optString);
String a3 = com.ss.android.socialbase.appdownloader.f.c.a(i2.optString("af"), optString);
boolean a4 = com.ss.android.socialbase.appdownloader.f.a.a(i2, context, a2);
StringBuilder sb = new StringBuilder(String.format(a, str, a3, a2));
Intent intent = new Intent("android.intent.action.VIEW");
String i3 = com.ss.android.socialbase.appdownloader.f.d.i();
if (k.d(context, i3)) {
intent.setPackage(i3);
}
if (z) {
sb.append(com.ss.android.socialbase.appdownloader.f.c.a(i2.optString("ae"), optString));
} else {
intent.addFlags(335544320);
}
k.a(jSONObject, "mf", Boolean.valueOf(a4));
k.a(jSONObject, "if", Boolean.valueOf(z));
intent.setData(Uri.parse(sb.toString()));
intent.putExtra(BaseConstants.START_ONLY_FOR_ANDROID, true);
context.startActivity(intent);
com.ss.android.downloadlib.b.a.a(OpenAppResult.Source.AM_KLLK2, jSONObject, e2, true);
if (a4) {
b(e2, jSONObject, -1, 3, sb.toString());
} else {
b(e2, jSONObject, 3, 3, sb.toString());
}
} catch (Exception unused) {
Context context2 = com.ss.android.downloadlib.addownload.j.getContext();
com.ss.android.downloadlib.b.a.a(a(context2, Uri.parse(BaseConstants.MARKET_PREFIX + str)), e2, true);
b(e2, jSONObject, 2, 3, BaseConstants.MARKET_PREFIX + str);
}
}
private static boolean a(@NonNull Activity activity, @NonNull String str, @NonNull HashMap<String, String> hashMap) {
Intent intent = new Intent("android.intent.action.VIEW");
intent.setData(Uri.parse(BaseConstants.MARKET_PREFIX + str));
intent.putExtra(BaseConstants.START_ONLY_FOR_ANDROID, true);
intent.putExtra(RemoteMessageConst.MessageBody.PARAM, hashMap);
String i2 = com.ss.android.socialbase.appdownloader.f.d.i();
if (k.d(com.ss.android.downloadlib.addownload.j.getContext(), i2)) {
intent.setPackage(i2);
}
if (k.a(com.ss.android.downloadlib.addownload.j.getContext(), intent)) {
try {
activity.startActivity(intent);
return true;
} catch (Exception e2) {
com.ss.android.downloadlib.exception.c.a().a(e2, "start v1");
return false;
}
}
return false;
}
public static OpenAppResult b(Context context, String str) {
if (TextUtils.isEmpty(str)) {
return new OpenAppResult(4, 11);
}
if (context == null) {
context = com.ss.android.downloadlib.addownload.j.getContext();
}
Intent f2 = k.f(context, str);
if (f2 == null) {
return new OpenAppResult(4, 22);
}
f2.putExtra(BaseConstants.START_ONLY_FOR_ANDROID, true);
try {
context.startActivity(f2);
return new OpenAppResult(3);
} catch (Exception unused) {
return new OpenAppResult(4, 23);
}
}
public static OpenAppResult b(String str, @NonNull com.ss.android.downloadad.api.a.a aVar) {
if (TextUtils.isEmpty(str)) {
return new OpenAppResult(2, 21);
}
Context context = com.ss.android.downloadlib.addownload.j.getContext();
Uri parse = Uri.parse(str);
Intent intent = new Intent("android.intent.action.VIEW");
intent.setData(parse);
intent.addFlags(268435456);
intent.putExtra(EventConstants.ExtraJson.OPEN_URL, str);
intent.putExtra(BaseConstants.START_ONLY_FOR_ANDROID, true);
if (DownloadSetting.obtainGlobal().optBugFix("fix_app_link_flag")) {
intent.addFlags(DownloadExpSwitchCode.BACK_BUGFIX_SIGBUS);
}
if (k.b(context, intent)) {
if (com.ss.android.downloadlib.addownload.j.i().optInt("open_url_mode") == 0 && com.ss.android.downloadlib.addownload.j.k() != null && com.ss.android.downloadlib.addownload.j.k().a() && Build.VERSION.SDK_INT >= 26 && aVar.q()) {
TTDelegateActivity.a(str, aVar);
} else {
try {
com.ss.android.downloadlib.addownload.j.getContext().startActivity(intent);
} catch (Exception unused) {
return new OpenAppResult(2);
}
}
return new OpenAppResult(1);
}
return new OpenAppResult(2, 24);
}
private static void b(final Context context, final com.ss.android.downloadlib.addownload.model.e eVar, final String str) {
com.ss.android.downloadlib.d.a().a(new Runnable() {
@Override
public void run() {
final JSONObject i2 = com.ss.android.downloadlib.addownload.j.i();
final String optString = i2.optString("s");
final JSONObject jSONObject = new JSONObject();
String a = com.ss.android.socialbase.appdownloader.f.c.a(i2.optString("x"), optString);
JSONObject jSONObject2 = new JSONObject();
k.a(jSONObject2, "p", str);
k.a(jSONObject2, "i", Build.VERSION.INCREMENTAL);
k.a(jSONObject2, "m", Build.MODEL);
k.a(jSONObject2, "im", com.ss.android.downloadlib.a.a.b.a(context));
k.a(jSONObject2, t.t, com.ss.android.downloadlib.a.a.b.b(context));
k.a(jSONObject2, bi.aL, "m");
byte[] bytes = jSONObject2.toString().getBytes();
com.ss.android.downloadlib.addownload.j.d().a(a, com.ss.android.downloadlib.addownload.j.q().a(bytes, bytes.length), "application/octet-stream;tt-data=a", 0, new r() {
@Override
public void a(String str2) {
AnonymousClass1 anonymousClass1 = AnonymousClass1.this;
g.b(context, str, str2, eVar, jSONObject, i2, optString);
}
@Override
public void a(Throwable th) {
Context context2 = context;
com.ss.android.downloadlib.b.a.a(g.a(context2, Uri.parse(BaseConstants.MARKET_PREFIX + str)), eVar, true);
k.a(jSONObject, EventConstants.ExtraJson.KEY_MESSAGE, th != null ? th.getMessage() : "null");
com.ss.android.downloadlib.addownload.model.e eVar2 = eVar;
JSONObject jSONObject3 = jSONObject;
g.b(eVar2, jSONObject3, 4, 1, BaseConstants.MARKET_PREFIX + str);
}
});
}
});
}
public static void b(Context context, String str, String str2, @NonNull com.ss.android.downloadlib.addownload.model.e eVar, @NonNull JSONObject jSONObject) {
k.a(jSONObject, EventConstants.ExtraJson.KEY_TYPE, (Object) 5);
try {
String a = com.ss.android.socialbase.appdownloader.f.c.a(new JSONObject(str2).optString("a"));
if (TextUtils.isEmpty(a)) {
com.ss.android.downloadlib.b.a.a(a(context, Uri.parse(BaseConstants.MARKET_PREFIX + str)), eVar, true);
b(eVar, jSONObject, 5, 5, BaseConstants.MARKET_PREFIX + str);
} else {
TTDelegateActivity.a(str, eVar.a, a, jSONObject);
}
} catch (Exception unused) {
com.ss.android.downloadlib.b.a.a(a(context, Uri.parse(BaseConstants.MARKET_PREFIX + str)), eVar, true);
b(eVar, jSONObject, 6, 5, BaseConstants.MARKET_PREFIX + str);
}
}
public static void b(Context context, String str, String str2, @NonNull com.ss.android.downloadlib.addownload.model.e eVar, @NonNull JSONObject jSONObject, @NonNull JSONObject jSONObject2, String str3) {
k.a(jSONObject, EventConstants.ExtraJson.KEY_TYPE, (Object) 1);
try {
String a = a(com.ss.android.socialbase.appdownloader.f.c.a(new JSONObject(str2).optString("a")), jSONObject2, str3);
k.a(jSONObject, EventConstants.ExtraJson.OPEN_URL, a);
if (e(context, a)) {
b(eVar, jSONObject, -1, 1, a);
com.ss.android.downloadlib.b.a.a(OpenAppResult.Source.AM_M1, jSONObject, eVar, true);
} else {
com.ss.android.downloadlib.b.a.a(a(context, Uri.parse(BaseConstants.MARKET_PREFIX + str)), eVar, true);
b(eVar, jSONObject, 2, 1, BaseConstants.MARKET_PREFIX + str);
}
} catch (Exception unused) {
com.ss.android.downloadlib.b.a.a(a(context, Uri.parse(BaseConstants.MARKET_PREFIX + str)), eVar, true);
b(eVar, jSONObject, 3, 1, BaseConstants.MARKET_PREFIX + str);
}
}
public static void b(com.ss.android.downloadlib.addownload.model.e eVar, JSONObject jSONObject, int i2, int i3, String str) {
k.a(jSONObject, "error_code", Integer.valueOf(i2));
k.a(jSONObject, EventConstants.ExtraJson.KEY_TYPE, Integer.valueOf(i3));
k.a(jSONObject, EventConstants.ExtraJson.KEY_REAL_MARKET_URL, str);
k.a(jSONObject, com.ss.android.socialbase.appdownloader.f.d.i(), Integer.valueOf(k.b(com.ss.android.downloadlib.addownload.j.getContext(), com.ss.android.socialbase.appdownloader.f.d.i())));
AdEventHandler.a().b(EventConstants.Label.ANTI_MARKET_RESULT, jSONObject, eVar);
}
private static OpenAppResult c(Context context, com.ss.android.downloadlib.addownload.model.e eVar, String str) {
Intent intent = new Intent(context, JumpKllkActivity.class);
intent.addFlags(268435456);
intent.putExtra("p", str);
intent.putExtra("id", eVar.a);
intent.putExtra(BaseConstants.START_ONLY_FOR_ANDROID, true);
JSONObject jSONObject = new JSONObject();
try {
context.startActivity(intent);
return new OpenAppResult(7, OpenAppResult.Source.AM_KLLK2);
} catch (Throwable unused) {
b(eVar, jSONObject, 1, 3, BaseConstants.MARKET_PREFIX + str);
return a(context, Uri.parse(BaseConstants.MARKET_PREFIX + str));
}
}
public static boolean c(Context context, String str) {
if (context == null) {
return false;
}
try {
Uri parse = Uri.parse(str);
Intent intent = new Intent("android.intent.action.VIEW");
intent.setData(parse);
intent.addFlags(268435456);
intent.putExtra(EventConstants.ExtraJson.OPEN_URL, str);
intent.putExtra(BaseConstants.START_ONLY_FOR_ANDROID, true);
context.startActivity(intent);
return true;
} catch (Throwable th) {
th.printStackTrace();
return false;
}
}
private static OpenAppResult d(@NonNull Context context, @NonNull String str) {
try {
Uri parse = Uri.parse("https://www.samsungapps.com/appquery/appDetail.as?appId=" + str);
Intent intent = new Intent();
intent.setClassName("com.sec.android.app.samsungapps", "com.sec.android.app.samsungapps.Main");
intent.setData(parse);
if (!(context instanceof Activity)) {
intent.addFlags(268435456);
}
intent.putExtra(BaseConstants.START_ONLY_FOR_ANDROID, true);
context.startActivity(intent);
return new OpenAppResult(5);
} catch (Exception unused) {
return new OpenAppResult(6, 14);
}
}
private static void d(final Context context, final com.ss.android.downloadlib.addownload.model.e eVar, final String str) {
com.ss.android.downloadlib.d.a().a(new Runnable() {
@Override
public void run() {
Context context2 = context;
com.ss.android.downloadlib.b.a.a(g.a(context2, Uri.parse(BaseConstants.MARKET_PREFIX + str)), eVar, true);
JSONObject jSONObject = new JSONObject();
try {
JSONObject i2 = com.ss.android.downloadlib.addownload.j.i();
Thread.sleep(i2.optInt("m2_delay_millis", 1000));
com.ss.android.downloadlib.a.b.a.a().a(context, true);
com.ss.android.downloadlib.a.b.b bVar = new com.ss.android.downloadlib.a.b.b();
bVar.a = 1;
bVar.b = 0;
String a = com.ss.android.socialbase.appdownloader.f.c.a(i2.optString("v"), i2.optString("s"));
bVar.c = String.format(a, str);
com.ss.android.downloadlib.a.b.a.a().a(bVar, (com.ss.android.downloadlib.a.b.d) null);
com.ss.android.downloadlib.a.b.a.a().b();
g.b(eVar, jSONObject, -1, 2, String.format(a, str));
} catch (Throwable th) {
th.printStackTrace();
com.ss.android.downloadlib.addownload.model.e eVar2 = eVar;
g.b(eVar2, jSONObject, 1, 2, BaseConstants.MARKET_PREFIX + str);
}
}
});
}
private static void e(final Context context, final com.ss.android.downloadlib.addownload.model.e eVar, final String str) {
com.ss.android.downloadlib.d.a().a(new Runnable() {
@Override
public void run() {
JSONObject i2 = com.ss.android.downloadlib.addownload.j.i();
String optString = i2.optString("s");
final JSONObject jSONObject = new JSONObject();
String a = com.ss.android.socialbase.appdownloader.f.c.a(i2.optString("x"), optString);
JSONObject jSONObject2 = new JSONObject();
k.a(jSONObject2, bi.aL, "v");
k.a(jSONObject2, "p", str);
byte[] bytes = jSONObject2.toString().getBytes();
com.ss.android.downloadlib.addownload.j.d().a(a, com.ss.android.downloadlib.addownload.j.q().a(bytes, bytes.length), "application/octet-stream;tt-data=a", 0, new r() {
@Override
public void a(String str2) {
AnonymousClass3 anonymousClass3 = AnonymousClass3.this;
g.b(context, str, str2, eVar, jSONObject);
}
@Override
public void a(Throwable th) {
Context context2 = context;
com.ss.android.downloadlib.b.a.a(g.a(context2, Uri.parse(BaseConstants.MARKET_PREFIX + str)), eVar, true);
k.a(jSONObject, EventConstants.ExtraJson.KEY_MESSAGE, th != null ? th.getMessage() : "null");
com.ss.android.downloadlib.addownload.model.e eVar2 = eVar;
JSONObject jSONObject3 = jSONObject;
g.b(eVar2, jSONObject3, 7, 5, BaseConstants.MARKET_PREFIX + str);
}
});
}
});
}
private static boolean e(Context context, String str) {
if (context == null) {
context = com.ss.android.downloadlib.addownload.j.getContext();
}
if (TextUtils.isEmpty(str)) {
return false;
}
Intent intent = new Intent("android.intent.action.VIEW");
if (!(context instanceof Activity)) {
intent.addFlags(268435456);
if (DownloadSetting.obtainGlobal().optBugFix("fix_app_link_flag")) {
intent.addFlags(32768);
}
}
intent.setData(Uri.parse(str));
intent.putExtra(BaseConstants.START_ONLY_FOR_ANDROID, true);
String i2 = com.ss.android.socialbase.appdownloader.f.d.i();
if (k.d(com.ss.android.downloadlib.addownload.j.getContext(), i2)) {
intent.setPackage(i2);
}
if (k.a(com.ss.android.downloadlib.addownload.j.getContext(), intent)) {
try {
context.startActivity(intent);
return true;
} catch (Exception unused) {
return false;
}
}
return false;
}
public static String g1665470693896dc(String str) {
while (true) {
char c = 'J';
char c2 = '7';
while (true) {
switch (c) {
case 'H':
break;
case 'I':
switch (c2) {
case '^':
break;
case '_':
case '`':
break;
default:
switch (c2) {
}
}
c = 'I';
c2 = '`';
break;
case 'J':
switch (c2) {
}
c = 'I';
c2 = '`';
break;
default:
c = 'H';
}
}
}
char[] charArray = str.toCharArray();
for (int i2 = 0; i2 < charArray.length; i2++) {
charArray[i2] = (char) (charArray[i2] ^ i2);
}
return new String(charArray);
}
}