Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

# 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:

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions

Question

Is how things are said consistent with what is said?

Answered: 1 week ago