The Bytecode Club

Full Version: [HELP] Bypass Security Check
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys, i need your help to bypass security on this game. i tried to bypass before but still no luck. always get 'detect security error' when open the game.

on MainActivity.smali :

Code:
.method public DetectAppFalsification()V
   .locals 2

   .prologue
   const/4 v1, 0x1

   .line 1327
   iget-boolean v0, p0, Lcom/netmarble/sknightsgb/MainActivity;->useSecureApp:Z

   if-eqz v0, :cond_0

   .line 1328
   invoke-static {}, Lnmss/app/NmssSa;->getInstObj()Lnmss/app/NmssSa;

   move-result-object v0

   invoke-virtual {v0, v1, v1}, Lnmss/app/NmssSa;->detectApkIntgError(ZZ)V

   .line 1331
   :cond_0
   return-void
.end method

nmssa.smali :
Code:
.method public detectApkIntgError(ZZ)V
   .locals 2
   .param p1, "bShowMsgbox"    # Z
   .param p2, "bExit"    # Z

   .prologue
   .line 105
   invoke-direct {p0}, Lnmss/app/NmssSa;->nmssNativeSendLogApkIntgError()V

   .line 107
   if-eqz p1, :cond_0

   .line 108
   const/4 v0, 0x1

   const-string v1, "Security Detection"

   invoke-virtual {p0, v0, v1, p2}, Lnmss/app/NmssSa;->AlertMsg(ILjava/lang/String;Z)V

   .line 109
   :cond_0
   return-void
.end method

Target APK : https://play.google.com/store/apps/detai...tsgb&hl=en
On other game with this same security method i can simply bypass on lib files, but that method will not work on this game. i dunno why. i need your help.
did you try changing the if-eqz v0, :cond_0 to if-nez v0, :cond_0

in the MainActivity, change

if-eqz v0, :cond_0 to if-nez v0, :cond_0

in the nmssa, change

if-eqz p1, :cond_0 to if-nez p1, :cond_0