Jump to content

denizdeni

Newbie
  • Posts

    7
  • Joined

  • Last visited

Everything posted by denizdeni

  1. i figured out but i have a another issue if main package name is changed protection is not working and closing app.
  2. I trying to mod a apk. I created a small smali code for check device id and if id if not equal its closing the app. But its crashing instantly (not exitting). I adding these lines to OnStart function. And extra information i modding cocos2dx game. The code: invoke-virtual {p0}, Lorg/cocos2dx/cpp/AppActivity;->getApplicationContext()Landroid/content/Context; move-result-object v0 invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; move-result-object v0 const-string v1, "android_id" invoke-static {v0, v1}, Landroid/provider/Settings$Secure;->getString(Landroid/content/ContentResolver;Ljava/lang/String;)Ljava/lang/String; move-result-object v0 const-string v1, "810b0fb3128d05bc" if-eq v0, v1, :cond_19 const/4 v0, 0x1 invoke-static {v0}, Ljava/lang/System;->exit(I)V :cond_19
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines