简书链接:关于smali指令的move
文章字数:50,阅读全文大约需要1分钟
1 2 3 4 5 6 7 8 9 10 11
| .method static synthetic access$000(Lxxx/lua/antiscreenshot/LuaAntiScreenshot;)Landroid/app/AlertDialog; .locals 1
.prologue .line 17 iget-object v0, p0, Lxxx/lua/antiscreenshot/LuaAntiScreenshot;->mScreenshotDialog:Landroid/app/AlertDialog;
return-object v0 .end method
|
如果要加入一句代码让dialog传递那么需要这么做
1 2
| move-result-object v0 invoke-static {v0}, Lcn/qssq666/s/S;->disable(Ljava/lang/Object;)Z
|
1 2 3 4 5 6
| static /* synthetic */ AlertDialog access$000(LuaAntiScreenshot luaAntiScreenshot) { AlertDialog alertDialog = luaAntiScreenshot.mScreenshotDialog; S.disable(alertDialog); return alertDialog; }
|
move代码必须加上,否则是报错的。