feat(script): add code area popup menu action

This commit is contained in:
Skylot
2022-11-04 21:49:18 +00:00
parent a2f018a00b
commit acbe94df27
19 changed files with 385 additions and 22 deletions
@@ -5,7 +5,7 @@
import jadx.api.plugins.input.insns.Opcode
import jadx.core.dex.nodes.MethodNode
val renamesMap = mapOf(
val renamesMap = mapOf(
"specificString" to "newMethodName",
"AA6" to "aa6Method"
)
@@ -14,7 +14,7 @@ val jadx = getJadxInstance()
var n = 0
jadx.rename.all { _, node ->
var newName : String? = null
var newName: String? = null
if (node is MethodNode) {
// use quick instructions scanner
node.codeReader?.visitInstructions { insn ->