45 lines
1.5 KiB
Java
45 lines
1.5 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.util.Base64;
|
||
|
import android.view.View;
|
||
|
import androidx.core.view.accessibility.AccessibilityNodeInfoCompat;
|
||
|
import java.nio.charset.StandardCharsets;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
class uVC extends yZt {
|
||
|
private static int c = 0;
|
||
|
private static int d = 1;
|
||
|
private static byte e = 6;
|
||
|
private final AccessibilityNodeInfoCompat.AccessibilityActionCompat b;
|
||
|
|
||
|
public uVC(Context context, int i) {
|
||
|
String string = context.getString(i);
|
||
|
if (string.startsWith(",*,)")) {
|
||
|
Object[] objArr = new Object[1];
|
||
|
f(string.substring(4), objArr);
|
||
|
string = ((String) objArr[0]).intern();
|
||
|
int i2 = c + 113;
|
||
|
d = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
int i4 = 2 % 2;
|
||
|
}
|
||
|
this.b = new AccessibilityNodeInfoCompat.AccessibilityActionCompat(16, string);
|
||
|
}
|
||
|
|
||
|
private static void f(String str, Object[] objArr) {
|
||
|
byte[] decode = Base64.decode(str, 0);
|
||
|
byte[] bArr = new byte[decode.length];
|
||
|
for (int i = 0; i < decode.length; i++) {
|
||
|
bArr[i] = (byte) (decode[(decode.length - i) - 1] ^ e);
|
||
|
}
|
||
|
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
|
||
|
}
|
||
|
|
||
|
@Override // o.yZt
|
||
|
public void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) {
|
||
|
super.onInitializeAccessibilityNodeInfo(view, accessibilityNodeInfoCompat);
|
||
|
accessibilityNodeInfoCompat.e(this.b);
|
||
|
}
|
||
|
}
|