Question
# virtual methods .method public notfun(I)I .locals 5 const/4 v0, 0x0 const/4 v1, 0x0 const/4 v2, 0x0 :goto_0 if-ge v1, p1, :cond_1 const/4 v3, 0x0
# virtual methods .method public notfun(I)I .locals 5
const/4 v0, 0x0
const/4 v1, 0x0
const/4 v2, 0x0
:goto_0 if-ge v1, p1, :cond_1
const/4 v3, 0x0
:goto_1 if-ge v3, p1, :cond_0
add-int/2addr v2, v3
const-string v4, "HELLO"
.line 25 invoke-static {v4, v4}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
add-int/lit8 v3, v3, 0x1
goto :goto_1
:cond_0 add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1 return v2 .end method
Is there any way that i can change the structure of this code? this is code is based on smali syntax?
original. the code format is this:
public int fun (int n) = int i 0, j = 0; int tmp = 0; for (i 0; i
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started