this
.btn.setOnClickListener(
new
View$OnClickListener() {
public
void
onClick(View arg10) {
try
{
String v1 = MainActivity.
this
.text.getText().toString();
PackageInfo v2 = MainActivity.
this
.getPackageManager().getPackageInfo(
"com.example.yaphetshan.tencentgreat"
,
0x4000
);
String v3 = v2.versionName;
int
v4 = v2.versionCode;
int
v0 =
0
;
while
(v0 < v1.length()) {
if
(v0 >= v3.length()) {
break
;
}
if
(v1.charAt(v0) != (v3.charAt(v0) ^ v4)) {
Toast.makeText(MainActivity.
this
,
"再接再厉,加油~"
,
1
).show();
return
;
}
else
{
++v0;
continue
;
}
}
if
(v1.length() != v3.length()) {
goto
label_39;
}
Toast.makeText(MainActivity.
this
,
"恭喜开启闯关之门!"
,
1
).show();
return
;
}
catch
(PackageManager$NameNotFoundException v5) {
}
label_39:
Toast.makeText(MainActivity.
this
,
"年轻人不要耍小聪明噢"
,
1
).show();
}
});