how to convert a piece of java code to smali code?

agh620

New User
1
09/06/18
0
Thread Author
hello everyone
i want to modding an android app but it obfuscated

i have this code:

/* renamed from: ˏ */
public void m332() {
Context context = this.f242;
int ˏ = hk.m2612(context, 1);
int ˏ2 = hc.m2545(context, 1);
if (ˏ != 1 || ˏ2 != 1) {
Toast.makeText(context, this.f242.getResources().getString(R.string.tamper_alert), 1).show();
this.f242.finish();


and now i want to remove end line

/* renamed from: ˏ */
public void m332() {
Context context = this.f242;
int ˏ = hk.m2612(context, 1);
int ˏ2 = hc.m2545(context, 1);
if (ˏ != 1 || ˏ2 != 1) {
Toast.makeText(context, this.f242.getResources().getString(R.string.tamper_alert), 1).show();


how can i convert edited java code to smali?

*i want to convert and then edit original app by "apk editor" and replace with original code

are there any way?
 
Hi, I did not understand you a little. You wrote this part of the code yourself? Or converted to java from smali and you want to overtake smali again? So it will not work. Well, if you still want to convert java to smali, then there are plug-ins for Android Studio, you can shove the code into the application, and then extract the smali from it.
 
Back
Top Bottom