linux反汇编暴力破解,逆向教程之-反编译apk暴力去除弹窗和更新提示(三)

[AppleScript] 纯文本查看 复制代码.method protected onCreateDialog(I)Landroid/app/Dialog;

.registers 9

const/4 v2, 0x0

sparse-switch p1, :sswitch_data_100

invoke-super {p0, p1}, Lcom/niugubao/simustock/MyBaseActivity;->onCreateDialog(I)Landroid/app/Dialog;

move-result-object v0

:goto_8

return-object v0

:sswitch_9

invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

move-result-object v0

const v1, 0x7f030003

const/4 v3, 0x0

invoke-virtual {v0, v1, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

move-result-object v3

const v0, 0x7f080012

invoke-virtual {v3, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

move-result-object v0

check-cast v0, Landroid/widget/TextView;

const v1, 0x7f080013

invoke-virtual {v3, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

move-result-object v1

check-cast v1, Landroid/widget/TextView;

:try_start_27

invoke-virtual {p0}, Lcom/niugubao/simustock/HomePageActivity;->getPackageManager()Landroid/content/pm/PackageManager;

move-result-object v4

invoke-virtual {p0}, Lcom/niugubao/simustock/HomePageActivity;->getPackageName()Ljava/lang/String;

move-result-object v5

const/4 v6, 0x0

invoke-virtual {v4, v5, v6}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

move-result-object v4

iget-object v4, v4, Landroid/content/pm/PackageInfo;->versionName:Ljava/lang/String;

new-instance v5, Ljava/lang/StringBuilder;

const-string v6, "本地版本号:"

你可能感兴趣的:(linux反汇编暴力破解,逆向教程之-反编译apk暴力去除弹窗和更新提示(三))