酷狗概念版 v2.5.5版本的 MD5 值为:782d327088fca4e58310f35a56f41319
以下内容为反编译后的 t.java 源代码,内容仅作参考
package com.kugou.android.mymusic.localmusic;
import android.content.Context;
import android.text.TextUtils;
import cn.com.mma.mobile.tracking.util.SharedPreferencedUtil;
import com.google.gson.Gson;
import com.kugou.android.common.entity.LocalMusic;
import com.kugou.common.utils.ag;
import com.kugou.common.utils.au;
import com.kugou.svplayer.worklog.WorkLog;
import com.tencent.connect.common.Constants;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import org.json.JSONException;
import org.json.JSONObject;
import tmsdk.common.gourd.vine.IActionReportService;
public class t {
private static boolean f30387a = false;
public static void a(final Context context) {
if (f30387a) {
return;
}
f30387a = true;
au.a().a(new Runnable() {
@Override
public void run() {
int i;
ArrayList arrayList;
String str;
String str2;
String str3;
String str4;
int i2;
int i3;
int i4;
int i5;
int i6;
int i7;
String sb;
String substring;
String substring2;
Object obj;
String str5;
int i8;
int i9;
int i10;
Object obj2;
String str6;
Object obj3;
Object obj4;
StringBuilder sb2;
Object obj5;
StringBuilder sb3;
Object obj6;
List list;
int i11;
int i12;
int i13;
ArrayList arrayList2;
StringBuilder sb4;
StringBuilder sb5;
int i14;
int i15;
StringBuilder sb6;
ArrayList arrayList3;
int i16;
StringBuilder sb7;
ArrayList arrayList4;
StringBuilder sb8;
ArrayList arrayList5;
ArrayList arrayList6;
int i17;
int i18;
int i19;
StringBuilder sb9;
ArrayList arrayList7;
int i20;
int i21;
StringBuilder sb10;
int i22;
int i23;
int i24;
AnonymousClass1 anonymousClass1 = this;
List<LocalMusic> a2 = r.a(false);
long j = SharedPreferencedUtil.getLong(context, "competivite", "time");
HashMap hashMap = new HashMap();
ArrayList arrayList8 = new ArrayList();
ArrayList arrayList9 = new ArrayList();
ArrayList arrayList10 = new ArrayList();
ArrayList arrayList11 = new ArrayList();
String str7 = "4";
ArrayList arrayList12 = new ArrayList();
String str8 = "3";
ArrayList arrayList13 = new ArrayList();
String str9 = "2";
ArrayList arrayList14 = new ArrayList();
String str10 = "1";
ArrayList arrayList15 = new ArrayList();
String str11 = "0";
List arrayList16 = new ArrayList();
String str12 = "lastSong";
String str13 = "competivite";
if (a2.size() > 20) {
arrayList16 = com.kugou.framework.musicfees.k.a(a2, 20);
} else {
arrayList16.add(a2);
}
int i25 = 0;
while (i25 < arrayList16.size()) {
List list2 = (List) arrayList16.get(i25);
hashMap.clear();
arrayList8.clear();
arrayList9.clear();
arrayList10.clear();
arrayList11.clear();
arrayList12.clear();
arrayList13.clear();
arrayList14.clear();
arrayList15.clear();
List list3 = arrayList16;
StringBuilder sb11 = new StringBuilder("v0/");
int i26 = i25;
StringBuilder sb12 = new StringBuilder("v1/");
StringBuilder sb13 = new StringBuilder("v2/");
ArrayList arrayList17 = arrayList15;
StringBuilder sb14 = new StringBuilder("v3/");
ArrayList arrayList18 = arrayList14;
StringBuilder sb15 = new StringBuilder("v4/");
ArrayList arrayList19 = arrayList13;
StringBuilder sb16 = new StringBuilder("v5/");
StringBuilder sb17 = new StringBuilder("v6/");
StringBuilder sb18 = new StringBuilder("v7/");
StringBuilder sb19 = sb14;
ArrayList arrayList20 = arrayList12;
StringBuilder sb20 = new StringBuilder("v8/");
StringBuilder sb21 = sb15;
StringBuilder sb22 = sb13;
ArrayList arrayList21 = arrayList10;
ArrayList arrayList22 = arrayList11;
int i27 = 0;
int i28 = 0;
int i29 = 0;
int i30 = 0;
int i31 = 0;
int i32 = 0;
int i33 = 0;
int i34 = 0;
int i35 = 0;
int i36 = 0;
int i37 = 0;
int i38 = 0;
int i39 = 0;
int i40 = 0;
int i41 = 0;
int i42 = 0;
int i43 = 0;
int i44 = 0;
while (true) {
i = i32;
arrayList = arrayList9;
if (i30 >= list2.size()) {
break;
}
String aq = ((LocalMusic) list2.get(i30)).aq();
if (TextUtils.isEmpty(aq) || !ag.z(aq)) {
list = list2;
i11 = i29;
i12 = i30;
i13 = i33;
arrayList2 = arrayList18;
sb4 = sb20;
sb5 = sb19;
i14 = i36;
i15 = i42;
sb6 = sb22;
arrayList3 = arrayList;
i16 = i28;
sb7 = sb12;
arrayList4 = arrayList17;
sb8 = sb16;
arrayList5 = arrayList20;
arrayList6 = arrayList21;
i17 = i37;
i18 = i40;
i19 = i44;
sb9 = sb21;
arrayList7 = arrayList22;
i20 = i35;
i21 = i38;
sb10 = sb17;
i22 = i39;
i23 = i43;
} else {
long aC = ((LocalMusic) list2.get(i30)).aC();
list = list2;
LocalMusic localMusic = (LocalMusic) list2.get(i30);
String r = localMusic.r();
if (r == null) {
r = com.kugou.framework.mymusic.cloudtool.s.b(aq);
}
i12 = i30;
String str14 = r;
i13 = i33;
String v = localMusic.v();
if (r.i(localMusic)) {
int i45 = i29 + 1;
hashMap.put(str14, localMusic);
if (aC > j) {
sb11.append(str14 + WorkLog.SEPARATOR_KEY_VALUE + v + IActionReportService.COMMON_SEPARATOR);
i31++;
}
i11 = i45;
} else {
i11 = i29;
if (aq.contains("qqmusic/song/")) {
i28++;
arrayList8.add(localMusic);
if (aC > j) {
i27++;
sb12.append(str14 + WorkLog.SEPARATOR_KEY_VALUE + v + IActionReportService.COMMON_SEPARATOR);
}
} else if (aq.contains("ttpod/song/")) {
int i46 = i13 + 1;
arrayList.add(localMusic);
if (aC > j) {
StringBuilder sb23 = sb22;
sb23.append(str14 + WorkLog.SEPARATOR_KEY_VALUE + v + IActionReportService.COMMON_SEPARATOR);
i16 = i28;
i33 = i46;
sb6 = sb23;
arrayList3 = arrayList;
arrayList2 = arrayList18;
sb4 = sb20;
sb5 = sb19;
arrayList6 = arrayList21;
i14 = i36;
i24 = i38;
i32 = i + 1;
sb7 = sb12;
arrayList4 = arrayList17;
sb8 = sb16;
sb10 = sb17;
arrayList5 = arrayList20;
sb9 = sb21;
arrayList7 = arrayList22;
sb20 = sb4;
arrayList17 = arrayList4;
arrayList18 = arrayList2;
i30 = i12 + 1;
arrayList20 = arrayList5;
arrayList22 = arrayList7;
sb12 = sb7;
sb21 = sb9;
sb16 = sb8;
sb17 = sb10;
sb19 = sb5;
i36 = i14;
i38 = i24;
arrayList21 = arrayList6;
arrayList9 = arrayList3;
i28 = i16;
list2 = list;
i29 = i11;
sb22 = sb6;
} else {
i33 = i46;
arrayList3 = arrayList;
arrayList2 = arrayList18;
sb4 = sb20;
sb5 = sb19;
i14 = i36;
i24 = i38;
sb6 = sb22;
i32 = i;
i16 = i28;
sb7 = sb12;
arrayList4 = arrayList17;
sb8 = sb16;
sb10 = sb17;
arrayList5 = arrayList20;
arrayList6 = arrayList21;
sb9 = sb21;
arrayList7 = arrayList22;
sb20 = sb4;
arrayList17 = arrayList4;
arrayList18 = arrayList2;
i30 = i12 + 1;
arrayList20 = arrayList5;
arrayList22 = arrayList7;
sb12 = sb7;
sb21 = sb9;
sb16 = sb8;
sb17 = sb10;
sb19 = sb5;
i36 = i14;
i38 = i24;
arrayList21 = arrayList6;
arrayList9 = arrayList3;
i28 = i16;
list2 = list;
i29 = i11;
sb22 = sb6;
}
} else {
sb6 = sb22;
arrayList3 = arrayList;
i16 = i28;
if (aq.contains("netease/cloudmusic/Music/")) {
i34++;
arrayList6 = arrayList21;
arrayList6.add(localMusic);
if (aC > j) {
StringBuilder sb24 = sb19;
sb24.append(str14 + WorkLog.SEPARATOR_KEY_VALUE + v + IActionReportService.COMMON_SEPARATOR);
sb5 = sb24;
sb7 = sb12;
arrayList4 = arrayList17;
arrayList2 = arrayList18;
sb4 = sb20;
sb9 = sb21;
arrayList7 = arrayList22;
i14 = i36 + 1;
i24 = i38;
i32 = i;
i33 = i13;
sb8 = sb16;
sb10 = sb17;
arrayList5 = arrayList20;
} else {
i14 = i36;
arrayList2 = arrayList18;
sb8 = sb16;
sb4 = sb20;
arrayList5 = arrayList20;
sb9 = sb21;
arrayList7 = arrayList22;
sb5 = sb19;
i24 = i38;
i32 = i;
i33 = i13;
sb7 = sb12;
arrayList4 = arrayList17;
sb10 = sb17;
}
} else {
sb5 = sb19;
arrayList6 = arrayList21;
i14 = i36;
sb7 = sb12;
if (aq.contains("DUOMI/down/")) {
i35++;
ArrayList arrayList23 = arrayList22;
arrayList23.add(localMusic);
if (aC > j) {
StringBuilder sb25 = sb21;
sb25.append(str14 + WorkLog.SEPARATOR_KEY_VALUE + v + IActionReportService.COMMON_SEPARATOR);
sb9 = sb25;
arrayList7 = arrayList23;
arrayList4 = arrayList17;
arrayList2 = arrayList18;
sb8 = sb16;
sb4 = sb20;
arrayList5 = arrayList20;
i24 = i38 + 1;
i32 = i;
i33 = i13;
sb10 = sb17;
} else {
i24 = i38;
arrayList2 = arrayList18;
sb8 = sb16;
sb10 = sb17;
sb4 = sb20;
arrayList5 = arrayList20;
sb9 = sb21;
i32 = i;
i33 = i13;
arrayList7 = arrayList23;
arrayList4 = arrayList17;
}
} else {
sb9 = sb21;
arrayList7 = arrayList22;
i20 = i35;
i21 = i38;
if (aq.contains("KuwoMusic/music/")) {
i37++;
ArrayList arrayList24 = arrayList20;
arrayList24.add(localMusic);
if (aC > j) {
i40++;
StringBuilder sb26 = sb16;
sb26.append(str14 + WorkLog.SEPARATOR_KEY_VALUE + v + IActionReportService.COMMON_SEPARATOR);
sb8 = sb26;
arrayList5 = arrayList24;
arrayList4 = arrayList17;
arrayList2 = arrayList18;
sb10 = sb17;
sb4 = sb20;
i24 = i21;
i32 = i;
i33 = i13;
} else {
arrayList2 = arrayList18;
sb8 = sb16;
sb10 = sb17;
sb4 = sb20;
i24 = i21;
i32 = i;
i33 = i13;
arrayList5 = arrayList24;
arrayList4 = arrayList17;
}
} else {
sb8 = sb16;
arrayList5 = arrayList20;
i17 = i37;
i18 = i40;
if (aq.contains("Baidu_music/download/")) {
i39++;
ArrayList arrayList25 = arrayList19;
arrayList25.add(localMusic);
if (aC > j) {
i43++;
StringBuilder sb27 = sb17;
sb27.append(str14 + WorkLog.SEPARATOR_KEY_VALUE + v + IActionReportService.COMMON_SEPARATOR);
sb10 = sb27;
arrayList19 = arrayList25;
arrayList4 = arrayList17;
arrayList2 = arrayList18;
} else {
arrayList19 = arrayList25;
arrayList4 = arrayList17;
arrayList2 = arrayList18;
sb10 = sb17;
}
sb4 = sb20;
i24 = i21;
i40 = i18;
i32 = i;
i33 = i13;
} else {
sb10 = sb17;
i22 = i39;
i23 = i43;
if (aq.contains("xiami/audios/")) {
i42++;
arrayList2 = arrayList18;
arrayList2.add(localMusic);
if (aC > j) {
i44++;
sb18.append(str14 + WorkLog.SEPARATOR_KEY_VALUE + v + IActionReportService.COMMON_SEPARATOR);
}
arrayList4 = arrayList17;
sb4 = sb20;
i24 = i21;
i40 = i18;
i43 = i23;
i32 = i;
i33 = i13;
i39 = i22;
} else {
arrayList2 = arrayList18;
i15 = i42;
i41++;
i19 = i44;
arrayList4 = arrayList17;
arrayList4.add(localMusic);
if (aC > j) {
i41++;
sb4 = sb20;
sb4.append(str14 + WorkLog.SEPARATOR_KEY_VALUE + v + IActionReportService.COMMON_SEPARATOR);
} else {
sb4 = sb20;
}
}
}
i37 = i17;
}
i35 = i20;
}
}
sb20 = sb4;
arrayList17 = arrayList4;
arrayList18 = arrayList2;
i30 = i12 + 1;
arrayList20 = arrayList5;
arrayList22 = arrayList7;
sb12 = sb7;
sb21 = sb9;
sb16 = sb8;
sb17 = sb10;
sb19 = sb5;
i36 = i14;
i38 = i24;
arrayList21 = arrayList6;
arrayList9 = arrayList3;
i28 = i16;
list2 = list;
i29 = i11;
sb22 = sb6;
}
}
arrayList2 = arrayList18;
sb4 = sb20;
sb5 = sb19;
i14 = i36;
i24 = i38;
sb6 = sb22;
i32 = i;
arrayList3 = arrayList;
i33 = i13;
i16 = i28;
sb7 = sb12;
arrayList4 = arrayList17;
sb8 = sb16;
sb10 = sb17;
arrayList5 = arrayList20;
arrayList6 = arrayList21;
sb9 = sb21;
arrayList7 = arrayList22;
sb20 = sb4;
arrayList17 = arrayList4;
arrayList18 = arrayList2;
i30 = i12 + 1;
arrayList20 = arrayList5;
arrayList22 = arrayList7;
sb12 = sb7;
sb21 = sb9;
sb16 = sb8;
sb17 = sb10;
sb19 = sb5;
i36 = i14;
i38 = i24;
arrayList21 = arrayList6;
arrayList9 = arrayList3;
i28 = i16;
list2 = list;
i29 = i11;
sb22 = sb6;
}
i42 = i15;
i24 = i21;
i43 = i23;
i44 = i19;
i32 = i;
i33 = i13;
i39 = i22;
i35 = i20;
i40 = i18;
i37 = i17;
sb20 = sb4;
arrayList17 = arrayList4;
arrayList18 = arrayList2;
i30 = i12 + 1;
arrayList20 = arrayList5;
arrayList22 = arrayList7;
sb12 = sb7;
sb21 = sb9;
sb16 = sb8;
sb17 = sb10;
sb19 = sb5;
i36 = i14;
i38 = i24;
arrayList21 = arrayList6;
arrayList9 = arrayList3;
i28 = i16;
list2 = list;
i29 = i11;
sb22 = sb6;
}
int i47 = i29;
int i48 = i33;
ArrayList arrayList26 = arrayList18;
StringBuilder sb28 = sb19;
int i49 = i36;
int i50 = i42;
StringBuilder sb29 = sb22;
int i51 = i28;
StringBuilder sb30 = sb12;
ArrayList arrayList27 = arrayList17;
StringBuilder sb31 = sb16;
ArrayList arrayList28 = arrayList20;
ArrayList arrayList29 = arrayList21;
int i52 = i37;
int i53 = i40;
int i54 = i44;
StringBuilder sb32 = sb21;
ArrayList arrayList30 = arrayList22;
int i55 = i35;
int i56 = i38;
StringBuilder sb33 = sb17;
int i57 = i39;
int i58 = i43;
Iterator it = arrayList8.iterator();
int i59 = 0;
int i60 = 0;
while (it.hasNext()) {
LocalMusic localMusic2 = (LocalMusic) it.next();
Iterator it2 = it;
if (hashMap.containsKey(localMusic2.r())) {
i59++;
}
if (localMusic2.Q() > 0) {
i60++;
}
it = it2;
}
Iterator it3 = arrayList.iterator();
long j2 = j;
int i61 = 0;
int i62 = 0;
while (it3.hasNext()) {
LocalMusic localMusic3 = (LocalMusic) it3.next();
Iterator it4 = it3;
if (hashMap.containsKey(localMusic3.r())) {
i61++;
}
if (localMusic3.Q() > 0) {
i62++;
}
it3 = it4;
}
Iterator it5 = arrayList29.iterator();
int i63 = 0;
int i64 = 0;
while (it5.hasNext()) {
LocalMusic localMusic4 = (LocalMusic) it5.next();
Iterator it6 = it5;
if (hashMap.containsKey(localMusic4.r())) {
i64++;
}
if (localMusic4.Q() > 0) {
i63++;
}
it5 = it6;
}
Iterator it7 = arrayList30.iterator();
int i65 = i63;
ArrayList arrayList31 = arrayList8;
int i66 = 0;
int i67 = 0;
while (it7.hasNext()) {
LocalMusic localMusic5 = (LocalMusic) it7.next();
Iterator it8 = it7;
if (hashMap.containsKey(localMusic5.r())) {
i67++;
}
if (localMusic5.Q() > 0) {
i66++;
}
it7 = it8;
}
Iterator it9 = arrayList28.iterator();
int i68 = i66;
int i69 = i67;
int i70 = 0;
int i71 = 0;
while (it9.hasNext()) {
LocalMusic localMusic6 = (LocalMusic) it9.next();
Iterator it10 = it9;
if (hashMap.containsKey(localMusic6.r())) {
i70++;
}
if (localMusic6.Q() > 0) {
i71++;
}
it9 = it10;
}
Iterator it11 = arrayList19.iterator();
int i72 = i70;
int i73 = i71;
int i74 = 0;
int i75 = 0;
while (it11.hasNext()) {
LocalMusic localMusic7 = (LocalMusic) it11.next();
Iterator it12 = it11;
if (hashMap.containsKey(localMusic7.r())) {
i75++;
}
if (localMusic7.Q() > 0) {
i74++;
}
it11 = it12;
}
Iterator it13 = arrayList26.iterator();
int i76 = i74;
int i77 = 0;
int i78 = 0;
while (it13.hasNext()) {
LocalMusic localMusic8 = (LocalMusic) it13.next();
Iterator it14 = it13;
if (hashMap.containsKey(localMusic8.r())) {
i78++;
}
if (localMusic8.Q() > 0) {
i77++;
}
it13 = it14;
}
Iterator it15 = arrayList27.iterator();
while (it15.hasNext()) {
LocalMusic localMusic9 = (LocalMusic) it15.next();
Iterator it16 = it15;
hashMap.containsKey(localMusic9.r());
int i79 = (localMusic9.Q() > 0L ? 1 : (localMusic9.Q() == 0L ? 0 : -1));
it15 = it16;
}
StringBuilder sb34 = new StringBuilder();
HashMap hashMap2 = hashMap;
StringBuilder sb35 = new StringBuilder();
int i80 = i77;
StringBuilder sb36 = new StringBuilder();
int i81 = i78;
try {
int i82 = i75;
String str15 = str12;
int i83 = i64;
String str16 = str13;
try {
JSONObject jSONObject = new JSONObject(SharedPreferencedUtil.getString(context, str16, str15));
if (i31 > 0) {
try {
sb34.append((CharSequence) sb11);
StringBuilder sb37 = new StringBuilder();
sb37.append("v0:");
str13 = str16;
if (jSONObject.length() <= 1) {
str3 = str11;
obj = 0;
} else {
str3 = str11;
try {
obj = jSONObject.get(str3);
} catch (JSONException e2) {
e = e2;
str4 = str15;
str = str9;
str2 = str10;
i2 = i50;
i3 = i34;
i4 = i51;
i5 = i48;
i6 = i47;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap3 = new HashMap();
hashMap3.put(str3, Integer.valueOf(i6));
hashMap3.put(str2, Integer.valueOf(i4));
hashMap3.put(str, Integer.valueOf(i5));
String str17 = str8;
hashMap3.put(str17, Integer.valueOf(i3));
String str18 = str7;
hashMap3.put(str18, Integer.valueOf(i55));
hashMap3.put("5", Integer.valueOf(i52));
hashMap3.put("6", Integer.valueOf(i57));
hashMap3.put("7", Integer.valueOf(i2));
hashMap3.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str19 = str4;
String str20 = str13;
SharedPreferencedUtil.putString(context, str20, str19, new Gson().toJson(hashMap3));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str17;
str7 = str18;
str12 = str19;
str11 = str3;
str13 = str20;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
}
try {
sb37.append(obj);
sb37.append(WorkLog.SEPARATOR_KEY_VALUE);
i6 = i47;
try {
sb37.append(i6);
sb37.append(WorkLog.SEPARATOR_KEY_VALUE);
sb37.append(i31);
sb37.append(IActionReportService.COMMON_SEPARATOR);
sb35.append(sb37.toString());
} catch (JSONException e3) {
e = e3;
str4 = str15;
str = str9;
str2 = str10;
i2 = i50;
i3 = i34;
i4 = i51;
i5 = i48;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap32 = new HashMap();
hashMap32.put(str3, Integer.valueOf(i6));
hashMap32.put(str2, Integer.valueOf(i4));
hashMap32.put(str, Integer.valueOf(i5));
String str172 = str8;
hashMap32.put(str172, Integer.valueOf(i3));
String str182 = str7;
hashMap32.put(str182, Integer.valueOf(i55));
hashMap32.put("5", Integer.valueOf(i52));
hashMap32.put("6", Integer.valueOf(i57));
hashMap32.put("7", Integer.valueOf(i2));
hashMap32.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str192 = str4;
String str202 = str13;
SharedPreferencedUtil.putString(context, str202, str192, new Gson().toJson(hashMap32));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str172;
str7 = str182;
str12 = str192;
str11 = str3;
str13 = str202;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
} catch (JSONException e4) {
e = e4;
i6 = i47;
str4 = str15;
str = str9;
str2 = str10;
i2 = i50;
i3 = i34;
i4 = i51;
i5 = i48;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap322 = new HashMap();
hashMap322.put(str3, Integer.valueOf(i6));
hashMap322.put(str2, Integer.valueOf(i4));
hashMap322.put(str, Integer.valueOf(i5));
String str1722 = str8;
hashMap322.put(str1722, Integer.valueOf(i3));
String str1822 = str7;
hashMap322.put(str1822, Integer.valueOf(i55));
hashMap322.put("5", Integer.valueOf(i52));
hashMap322.put("6", Integer.valueOf(i57));
hashMap322.put("7", Integer.valueOf(i2));
hashMap322.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str1922 = str4;
String str2022 = str13;
SharedPreferencedUtil.putString(context, str2022, str1922, new Gson().toJson(hashMap322));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str1722;
str7 = str1822;
str12 = str1922;
str11 = str3;
str13 = str2022;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
} catch (JSONException e5) {
e = e5;
str13 = str16;
str3 = str11;
}
} else {
str13 = str16;
str3 = str11;
i6 = i47;
}
if (i27 > 0) {
try {
sb34.append((CharSequence) sb30);
sb3 = new StringBuilder();
sb3.append("v1:");
str4 = str15;
if (jSONObject.length() <= 1) {
str2 = str10;
obj6 = 0;
} else {
str2 = str10;
try {
obj6 = jSONObject.get(str2);
} catch (JSONException e6) {
e = e6;
str = str9;
i2 = i50;
i3 = i34;
i4 = i51;
i5 = i48;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap3222 = new HashMap();
hashMap3222.put(str3, Integer.valueOf(i6));
hashMap3222.put(str2, Integer.valueOf(i4));
hashMap3222.put(str, Integer.valueOf(i5));
String str17222 = str8;
hashMap3222.put(str17222, Integer.valueOf(i3));
String str18222 = str7;
hashMap3222.put(str18222, Integer.valueOf(i55));
hashMap3222.put("5", Integer.valueOf(i52));
hashMap3222.put("6", Integer.valueOf(i57));
hashMap3222.put("7", Integer.valueOf(i2));
hashMap3222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str19222 = str4;
String str20222 = str13;
SharedPreferencedUtil.putString(context, str20222, str19222, new Gson().toJson(hashMap3222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str17222;
str7 = str18222;
str12 = str19222;
str11 = str3;
str13 = str20222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
}
} catch (JSONException e7) {
e = e7;
str4 = str15;
str2 = str10;
}
try {
sb3.append(obj6);
sb3.append(WorkLog.SEPARATOR_KEY_VALUE);
i4 = i51;
try {
sb3.append(i4);
sb3.append(WorkLog.SEPARATOR_KEY_VALUE);
sb3.append(i27);
sb3.append(IActionReportService.COMMON_SEPARATOR);
sb35.append(sb3.toString());
sb36.append("v1:" + i59 + WorkLog.SEPARATOR_KEY_VALUE + i60 + IActionReportService.COMMON_SEPARATOR);
} catch (JSONException e8) {
e = e8;
str = str9;
i2 = i50;
i3 = i34;
i5 = i48;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap32222 = new HashMap();
hashMap32222.put(str3, Integer.valueOf(i6));
hashMap32222.put(str2, Integer.valueOf(i4));
hashMap32222.put(str, Integer.valueOf(i5));
String str172222 = str8;
hashMap32222.put(str172222, Integer.valueOf(i3));
String str182222 = str7;
hashMap32222.put(str182222, Integer.valueOf(i55));
hashMap32222.put("5", Integer.valueOf(i52));
hashMap32222.put("6", Integer.valueOf(i57));
hashMap32222.put("7", Integer.valueOf(i2));
hashMap32222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str192222 = str4;
String str202222 = str13;
SharedPreferencedUtil.putString(context, str202222, str192222, new Gson().toJson(hashMap32222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str172222;
str7 = str182222;
str12 = str192222;
str11 = str3;
str13 = str202222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
} catch (JSONException e9) {
e = e9;
i4 = i51;
str = str9;
i2 = i50;
i3 = i34;
i5 = i48;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap322222 = new HashMap();
hashMap322222.put(str3, Integer.valueOf(i6));
hashMap322222.put(str2, Integer.valueOf(i4));
hashMap322222.put(str, Integer.valueOf(i5));
String str1722222 = str8;
hashMap322222.put(str1722222, Integer.valueOf(i3));
String str1822222 = str7;
hashMap322222.put(str1822222, Integer.valueOf(i55));
hashMap322222.put("5", Integer.valueOf(i52));
hashMap322222.put("6", Integer.valueOf(i57));
hashMap322222.put("7", Integer.valueOf(i2));
hashMap322222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str1922222 = str4;
String str2022222 = str13;
SharedPreferencedUtil.putString(context, str2022222, str1922222, new Gson().toJson(hashMap322222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str1722222;
str7 = str1822222;
str12 = str1922222;
str11 = str3;
str13 = str2022222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
} else {
str4 = str15;
str2 = str10;
i4 = i51;
}
if (i > 0) {
try {
sb34.append((CharSequence) sb29);
sb2 = new StringBuilder();
sb2.append("v2:");
if (jSONObject.length() <= 1) {
str = str9;
obj5 = 0;
} else {
str = str9;
try {
obj5 = jSONObject.get(str);
} catch (JSONException e10) {
e = e10;
i2 = i50;
i3 = i34;
i5 = i48;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap3222222 = new HashMap();
hashMap3222222.put(str3, Integer.valueOf(i6));
hashMap3222222.put(str2, Integer.valueOf(i4));
hashMap3222222.put(str, Integer.valueOf(i5));
String str17222222 = str8;
hashMap3222222.put(str17222222, Integer.valueOf(i3));
String str18222222 = str7;
hashMap3222222.put(str18222222, Integer.valueOf(i55));
hashMap3222222.put("5", Integer.valueOf(i52));
hashMap3222222.put("6", Integer.valueOf(i57));
hashMap3222222.put("7", Integer.valueOf(i2));
hashMap3222222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str19222222 = str4;
String str20222222 = str13;
SharedPreferencedUtil.putString(context, str20222222, str19222222, new Gson().toJson(hashMap3222222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str17222222;
str7 = str18222222;
str12 = str19222222;
str11 = str3;
str13 = str20222222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
}
} catch (JSONException e11) {
e = e11;
str = str9;
}
try {
sb2.append(obj5);
sb2.append(WorkLog.SEPARATOR_KEY_VALUE);
i5 = i48;
try {
sb2.append(i5);
sb2.append(WorkLog.SEPARATOR_KEY_VALUE);
sb2.append(i);
sb2.append(IActionReportService.COMMON_SEPARATOR);
sb35.append(sb2.toString());
sb36.append("v2:" + i61 + WorkLog.SEPARATOR_KEY_VALUE + i62 + IActionReportService.COMMON_SEPARATOR);
} catch (JSONException e12) {
e = e12;
i2 = i50;
i3 = i34;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap32222222 = new HashMap();
hashMap32222222.put(str3, Integer.valueOf(i6));
hashMap32222222.put(str2, Integer.valueOf(i4));
hashMap32222222.put(str, Integer.valueOf(i5));
String str172222222 = str8;
hashMap32222222.put(str172222222, Integer.valueOf(i3));
String str182222222 = str7;
hashMap32222222.put(str182222222, Integer.valueOf(i55));
hashMap32222222.put("5", Integer.valueOf(i52));
hashMap32222222.put("6", Integer.valueOf(i57));
hashMap32222222.put("7", Integer.valueOf(i2));
hashMap32222222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str192222222 = str4;
String str202222222 = str13;
SharedPreferencedUtil.putString(context, str202222222, str192222222, new Gson().toJson(hashMap32222222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str172222222;
str7 = str182222222;
str12 = str192222222;
str11 = str3;
str13 = str202222222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
} catch (JSONException e13) {
e = e13;
i5 = i48;
i2 = i50;
i3 = i34;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap322222222 = new HashMap();
hashMap322222222.put(str3, Integer.valueOf(i6));
hashMap322222222.put(str2, Integer.valueOf(i4));
hashMap322222222.put(str, Integer.valueOf(i5));
String str1722222222 = str8;
hashMap322222222.put(str1722222222, Integer.valueOf(i3));
String str1822222222 = str7;
hashMap322222222.put(str1822222222, Integer.valueOf(i55));
hashMap322222222.put("5", Integer.valueOf(i52));
hashMap322222222.put("6", Integer.valueOf(i57));
hashMap322222222.put("7", Integer.valueOf(i2));
hashMap322222222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str1922222222 = str4;
String str2022222222 = str13;
SharedPreferencedUtil.putString(context, str2022222222, str1922222222, new Gson().toJson(hashMap322222222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str1722222222;
str7 = str1822222222;
str12 = str1922222222;
str11 = str3;
str13 = str2022222222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
} else {
str = str9;
i5 = i48;
}
if (i49 > 0) {
try {
sb34.append((CharSequence) sb28);
StringBuilder sb38 = new StringBuilder();
sb38.append("v3:");
if (jSONObject.length() <= 1) {
str5 = str8;
obj4 = 0;
} else {
str5 = str8;
try {
obj4 = jSONObject.get(str5);
} catch (JSONException e14) {
e = e14;
str8 = str5;
i2 = i50;
i3 = i34;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap3222222222 = new HashMap();
hashMap3222222222.put(str3, Integer.valueOf(i6));
hashMap3222222222.put(str2, Integer.valueOf(i4));
hashMap3222222222.put(str, Integer.valueOf(i5));
String str17222222222 = str8;
hashMap3222222222.put(str17222222222, Integer.valueOf(i3));
String str18222222222 = str7;
hashMap3222222222.put(str18222222222, Integer.valueOf(i55));
hashMap3222222222.put("5", Integer.valueOf(i52));
hashMap3222222222.put("6", Integer.valueOf(i57));
hashMap3222222222.put("7", Integer.valueOf(i2));
hashMap3222222222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str19222222222 = str4;
String str20222222222 = str13;
SharedPreferencedUtil.putString(context, str20222222222, str19222222222, new Gson().toJson(hashMap3222222222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str17222222222;
str7 = str18222222222;
str12 = str19222222222;
str11 = str3;
str13 = str20222222222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
}
try {
sb38.append(obj4);
sb38.append(WorkLog.SEPARATOR_KEY_VALUE);
i3 = i34;
try {
sb38.append(i3);
sb38.append(WorkLog.SEPARATOR_KEY_VALUE);
sb38.append(i49);
sb38.append(IActionReportService.COMMON_SEPARATOR);
sb35.append(sb38.toString());
sb36.append("v3:" + i83 + WorkLog.SEPARATOR_KEY_VALUE + i65 + IActionReportService.COMMON_SEPARATOR);
} catch (JSONException e15) {
e = e15;
str8 = str5;
i2 = i50;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap32222222222 = new HashMap();
hashMap32222222222.put(str3, Integer.valueOf(i6));
hashMap32222222222.put(str2, Integer.valueOf(i4));
hashMap32222222222.put(str, Integer.valueOf(i5));
String str172222222222 = str8;
hashMap32222222222.put(str172222222222, Integer.valueOf(i3));
String str182222222222 = str7;
hashMap32222222222.put(str182222222222, Integer.valueOf(i55));
hashMap32222222222.put("5", Integer.valueOf(i52));
hashMap32222222222.put("6", Integer.valueOf(i57));
hashMap32222222222.put("7", Integer.valueOf(i2));
hashMap32222222222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str192222222222 = str4;
String str202222222222 = str13;
SharedPreferencedUtil.putString(context, str202222222222, str192222222222, new Gson().toJson(hashMap32222222222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str172222222222;
str7 = str182222222222;
str12 = str192222222222;
str11 = str3;
str13 = str202222222222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
} catch (JSONException e16) {
e = e16;
i3 = i34;
}
} catch (JSONException e17) {
e = e17;
i3 = i34;
}
} else {
str5 = str8;
i3 = i34;
}
if (i56 > 0) {
sb34.append((CharSequence) sb32);
StringBuilder sb39 = new StringBuilder();
sb39.append("v4:");
str8 = str5;
if (jSONObject.length() <= 1) {
str6 = str7;
obj3 = 0;
} else {
str6 = str7;
try {
obj3 = jSONObject.get(str6);
} catch (JSONException e18) {
e = e18;
str7 = str6;
i2 = i50;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap322222222222 = new HashMap();
hashMap322222222222.put(str3, Integer.valueOf(i6));
hashMap322222222222.put(str2, Integer.valueOf(i4));
hashMap322222222222.put(str, Integer.valueOf(i5));
String str1722222222222 = str8;
hashMap322222222222.put(str1722222222222, Integer.valueOf(i3));
String str1822222222222 = str7;
hashMap322222222222.put(str1822222222222, Integer.valueOf(i55));
hashMap322222222222.put("5", Integer.valueOf(i52));
hashMap322222222222.put("6", Integer.valueOf(i57));
hashMap322222222222.put("7", Integer.valueOf(i2));
hashMap322222222222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str1922222222222 = str4;
String str2022222222222 = str13;
SharedPreferencedUtil.putString(context, str2022222222222, str1922222222222, new Gson().toJson(hashMap322222222222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str1722222222222;
str7 = str1822222222222;
str12 = str1922222222222;
str11 = str3;
str13 = str2022222222222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
}
sb39.append(obj3);
sb39.append(WorkLog.SEPARATOR_KEY_VALUE);
i8 = i55;
try {
sb39.append(i8);
sb39.append(WorkLog.SEPARATOR_KEY_VALUE);
str7 = str6;
} catch (JSONException e19) {
e = e19;
str7 = str6;
}
try {
sb39.append(i56);
sb39.append(IActionReportService.COMMON_SEPARATOR);
sb35.append(sb39.toString());
sb36.append("v4:" + i69 + WorkLog.SEPARATOR_KEY_VALUE + i68 + IActionReportService.COMMON_SEPARATOR);
} catch (JSONException e20) {
e = e20;
i55 = i8;
i2 = i50;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap3222222222222 = new HashMap();
hashMap3222222222222.put(str3, Integer.valueOf(i6));
hashMap3222222222222.put(str2, Integer.valueOf(i4));
hashMap3222222222222.put(str, Integer.valueOf(i5));
String str17222222222222 = str8;
hashMap3222222222222.put(str17222222222222, Integer.valueOf(i3));
String str18222222222222 = str7;
hashMap3222222222222.put(str18222222222222, Integer.valueOf(i55));
hashMap3222222222222.put("5", Integer.valueOf(i52));
hashMap3222222222222.put("6", Integer.valueOf(i57));
hashMap3222222222222.put("7", Integer.valueOf(i2));
hashMap3222222222222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str19222222222222 = str4;
String str20222222222222 = str13;
SharedPreferencedUtil.putString(context, str20222222222222, str19222222222222, new Gson().toJson(hashMap3222222222222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str17222222222222;
str7 = str18222222222222;
str12 = str19222222222222;
str11 = str3;
str13 = str20222222222222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
} else {
str8 = str5;
i8 = i55;
}
if (i53 > 0) {
sb34.append((CharSequence) sb31);
StringBuilder sb40 = new StringBuilder();
sb40.append("v5:");
i55 = i8;
if (jSONObject.length() <= 1) {
obj2 = 0;
} else {
try {
obj2 = jSONObject.get("5");
} catch (JSONException e21) {
e = e21;
i2 = i50;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap32222222222222 = new HashMap();
hashMap32222222222222.put(str3, Integer.valueOf(i6));
hashMap32222222222222.put(str2, Integer.valueOf(i4));
hashMap32222222222222.put(str, Integer.valueOf(i5));
String str172222222222222 = str8;
hashMap32222222222222.put(str172222222222222, Integer.valueOf(i3));
String str182222222222222 = str7;
hashMap32222222222222.put(str182222222222222, Integer.valueOf(i55));
hashMap32222222222222.put("5", Integer.valueOf(i52));
hashMap32222222222222.put("6", Integer.valueOf(i57));
hashMap32222222222222.put("7", Integer.valueOf(i2));
hashMap32222222222222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str192222222222222 = str4;
String str202222222222222 = str13;
SharedPreferencedUtil.putString(context, str202222222222222, str192222222222222, new Gson().toJson(hashMap32222222222222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str172222222222222;
str7 = str182222222222222;
str12 = str192222222222222;
str11 = str3;
str13 = str202222222222222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
}
sb40.append(obj2);
sb40.append(WorkLog.SEPARATOR_KEY_VALUE);
i9 = i52;
try {
sb40.append(i9);
sb40.append(WorkLog.SEPARATOR_KEY_VALUE);
sb40.append(i53);
sb40.append(IActionReportService.COMMON_SEPARATOR);
sb35.append(sb40.toString());
sb36.append("v5:" + i72 + WorkLog.SEPARATOR_KEY_VALUE + i73 + IActionReportService.COMMON_SEPARATOR);
} catch (JSONException e22) {
e = e22;
i52 = i9;
i2 = i50;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap322222222222222 = new HashMap();
hashMap322222222222222.put(str3, Integer.valueOf(i6));
hashMap322222222222222.put(str2, Integer.valueOf(i4));
hashMap322222222222222.put(str, Integer.valueOf(i5));
String str1722222222222222 = str8;
hashMap322222222222222.put(str1722222222222222, Integer.valueOf(i3));
String str1822222222222222 = str7;
hashMap322222222222222.put(str1822222222222222, Integer.valueOf(i55));
hashMap322222222222222.put("5", Integer.valueOf(i52));
hashMap322222222222222.put("6", Integer.valueOf(i57));
hashMap322222222222222.put("7", Integer.valueOf(i2));
hashMap322222222222222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str1922222222222222 = str4;
String str2022222222222222 = str13;
SharedPreferencedUtil.putString(context, str2022222222222222, str1922222222222222, new Gson().toJson(hashMap322222222222222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str1722222222222222;
str7 = str1822222222222222;
str12 = str1922222222222222;
str11 = str3;
str13 = str2022222222222222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
} else {
i55 = i8;
i9 = i52;
}
if (i58 > 0) {
sb34.append((CharSequence) sb33);
StringBuilder sb41 = new StringBuilder();
sb41.append("v6:");
i52 = i9;
sb41.append(jSONObject.length() > 1 ? jSONObject.get("6") : 0);
sb41.append(WorkLog.SEPARATOR_KEY_VALUE);
i10 = i57;
try {
sb41.append(i10);
sb41.append(WorkLog.SEPARATOR_KEY_VALUE);
sb41.append(i58);
sb41.append(IActionReportService.COMMON_SEPARATOR);
sb35.append(sb41.toString());
sb36.append("v6:" + i82 + WorkLog.SEPARATOR_KEY_VALUE + i76 + IActionReportService.COMMON_SEPARATOR);
} catch (JSONException e23) {
e = e23;
i57 = i10;
i2 = i50;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap3222222222222222 = new HashMap();
hashMap3222222222222222.put(str3, Integer.valueOf(i6));
hashMap3222222222222222.put(str2, Integer.valueOf(i4));
hashMap3222222222222222.put(str, Integer.valueOf(i5));
String str17222222222222222 = str8;
hashMap3222222222222222.put(str17222222222222222, Integer.valueOf(i3));
String str18222222222222222 = str7;
hashMap3222222222222222.put(str18222222222222222, Integer.valueOf(i55));
hashMap3222222222222222.put("5", Integer.valueOf(i52));
hashMap3222222222222222.put("6", Integer.valueOf(i57));
hashMap3222222222222222.put("7", Integer.valueOf(i2));
hashMap3222222222222222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str19222222222222222 = str4;
String str20222222222222222 = str13;
SharedPreferencedUtil.putString(context, str20222222222222222, str19222222222222222, new Gson().toJson(hashMap3222222222222222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str17222222222222222;
str7 = str18222222222222222;
str12 = str19222222222222222;
str11 = str3;
str13 = str20222222222222222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
} else {
i52 = i9;
i10 = i57;
}
if (i54 > 0) {
sb34.append((CharSequence) sb18);
StringBuilder sb42 = new StringBuilder();
sb42.append("v7:");
i57 = i10;
sb42.append(jSONObject.length() > 1 ? jSONObject.get("7") : 0);
sb42.append(WorkLog.SEPARATOR_KEY_VALUE);
i2 = i50;
try {
sb42.append(i2);
sb42.append(WorkLog.SEPARATOR_KEY_VALUE);
sb42.append(i54);
sb42.append(IActionReportService.COMMON_SEPARATOR);
sb35.append(sb42.toString());
sb36.append("v7:" + i81 + WorkLog.SEPARATOR_KEY_VALUE + i80 + IActionReportService.COMMON_SEPARATOR);
} catch (JSONException e24) {
e = e24;
e.printStackTrace();
if (sb34.length() <= 1) {
}
if (sb35.length() <= 1) {
}
if (sb36.length() <= 1) {
}
HashMap hashMap32222222222222222 = new HashMap();
hashMap32222222222222222.put(str3, Integer.valueOf(i6));
hashMap32222222222222222.put(str2, Integer.valueOf(i4));
hashMap32222222222222222.put(str, Integer.valueOf(i5));
String str172222222222222222 = str8;
hashMap32222222222222222.put(str172222222222222222, Integer.valueOf(i3));
String str182222222222222222 = str7;
hashMap32222222222222222.put(str182222222222222222, Integer.valueOf(i55));
hashMap32222222222222222.put("5", Integer.valueOf(i52));
hashMap32222222222222222.put("6", Integer.valueOf(i57));
hashMap32222222222222222.put("7", Integer.valueOf(i2));
hashMap32222222222222222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str192222222222222222 = str4;
String str202222222222222222 = str13;
SharedPreferencedUtil.putString(context, str202222222222222222, str192222222222222222, new Gson().toJson(hashMap32222222222222222));
if (sb.length() <= 38) {
}
t.a(context, sb, substring, substring2);
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str172222222222222222;
str7 = str182222222222222222;
str12 = str192222222222222222;
str11 = str3;
str13 = str202222222222222222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
} else {
i57 = i10;
i2 = i50;
}
} catch (JSONException e25) {
e = e25;
str13 = str16;
str = str9;
str2 = str10;
str3 = str11;
i2 = i50;
i3 = i34;
i5 = i48;
i6 = i47;
str4 = str15;
i4 = i51;
}
} catch (JSONException e26) {
e = e26;
str = str9;
str2 = str10;
str3 = str11;
str4 = str12;
}
if (sb34.length() <= 1) {
i7 = 0;
sb = sb34.toString().substring(0, sb34.length() - 1);
} else {
i7 = 0;
sb = sb34.toString();
}
substring = sb35.length() <= 1 ? sb35.toString().substring(i7, sb35.length() - 1) : sb35.toString();
substring2 = sb36.length() <= 1 ? sb36.toString().substring(i7, sb36.length() - 1) : sb36.toString();
HashMap hashMap322222222222222222 = new HashMap();
hashMap322222222222222222.put(str3, Integer.valueOf(i6));
hashMap322222222222222222.put(str2, Integer.valueOf(i4));
hashMap322222222222222222.put(str, Integer.valueOf(i5));
String str1722222222222222222 = str8;
hashMap322222222222222222.put(str1722222222222222222, Integer.valueOf(i3));
String str1822222222222222222 = str7;
hashMap322222222222222222.put(str1822222222222222222, Integer.valueOf(i55));
hashMap322222222222222222.put("5", Integer.valueOf(i52));
hashMap322222222222222222.put("6", Integer.valueOf(i57));
hashMap322222222222222222.put("7", Integer.valueOf(i2));
hashMap322222222222222222.put(Constants.VIA_SHARE_TYPE_PUBLISHVIDEO, Integer.valueOf(i41));
String str1922222222222222222 = str4;
String str2022222222222222222 = str13;
SharedPreferencedUtil.putString(context, str2022222222222222222, str1922222222222222222, new Gson().toJson(hashMap322222222222222222));
if (sb.length() <= 38 || substring.length() > 38 || substring2.length() > 38) {
t.a(context, sb, substring, substring2);
}
i25 = i26 + 1;
str9 = str;
anonymousClass1 = this;
str10 = str2;
str8 = str1722222222222222222;
str7 = str1822222222222222222;
str12 = str1922222222222222222;
str11 = str3;
str13 = str2022222222222222222;
arrayList16 = list3;
arrayList10 = arrayList29;
arrayList13 = arrayList19;
arrayList12 = arrayList28;
arrayList8 = arrayList31;
arrayList11 = arrayList30;
hashMap = hashMap2;
arrayList9 = arrayList;
j = j2;
arrayList14 = arrayList26;
arrayList15 = arrayList27;
}
AnonymousClass1 anonymousClass12 = anonymousClass1;
String str21 = str13;
SharedPreferencedUtil.putLong(context, str21, "time", System.currentTimeMillis());
SharedPreferencedUtil.putLong(context, str21, "first", 1L);
}
});
}
public static void a(Context context, String str, String str2, String str3) {
com.kugou.framework.statistics.easytrace.task.d dVar = new com.kugou.framework.statistics.easytrace.task.d(com.kugou.framework.statistics.easytrace.a.amR);
dVar.setSvar1(str);
dVar.setSvar2(str2);
dVar.setAbsSvar3(str3);
dVar.setIvar1((((int) SharedPreferencedUtil.getLong(context, "competivite", "first")) == 1 || com.kugou.common.environment.a.s()) ? "2" : "1");
com.kugou.common.statistics.e.a.a(dVar);
}
}