[Magisk] cless2004:
I found out the root check file, but i don't know how to exactly bypass it.

.class public Lcom/square_enix/Android_dqmsuperlight/RootCheck;
.super Ljava/lang/Object;

# static fields
.field private static final NONCE_SALT:Ljava/lang/String; = "wSrSeYbnhe"

.field private static final mRandom:Ljava/util/Random;

.field private static rootCheckStatus:I

.field private static sContext:Landroid/content/Context;

# direct methods
.method static constructor <clinit>()V
.locals 1

invoke-static {}, Lcom/square_enix/Android_dqmsuperlight/Monsters;->getContext()Landroid/content/Context;

move-result-object v0

sput-object v0, Lcom/square_enix/Android_dqmsuperlight/RootCheck;->sContext:Landroid/content/Context;

const/4 v0, -0x1

sput v0, Lcom/square_enix/Android_dqmsuperlight/RootCheck;->rootCheckStatus:I

new-instance v0, Ljava/security/SecureRandom;

invoke-direct {v0}, Ljava/security/SecureRandom;-><init>()V

sput-object v0, Lcom/square_enix/Android_dqmsuperlight/RootCheck;->mRandom:Ljava/util/Random;

return-void
.end method

.method public constructor <init>()V
.locals 0

invoke-direct {p0}, Ljava/lang/Object;-><init>()V

return-void
.end method

.method public static checkRooted(Landroid/content/Context;)V
.locals 0

invoke-static {}, Lcom/square_enix/Android_dqmsuperlight/RootCheck;->isRoot()Z

move-result p0

if-eqz p0, :cond_0

const/4 p0, 0x1

:goto_0
sput p0, Lcom/square_enix/Android_dqmsuperlight/RootCheck;->rootCheckStatus:I

return-void

:cond_0
const/4 p0, 0x0

goto :goto_0
.end method

.method private static getRequestNonce(Ljava/lang/String;)[B
.locals 3

new-instance v0, Ljava/io/ByteArrayOutputStream;

invoke-direct {v0}, Ljava/io/ByteArrayOutputStream;-><init>()V

sget v1, Landroid/support/v4/media/session/MediaControllerCompat$MediaControllerImplApi21$ExtraBinderRequestResultReceiver0;->F:I

new-array v1, v1, [B

sget-object v2, Lcom/square_enix/Android_dqmsuperlight/RootCheck;->mRandom:Ljava/util/Random;

invoke-virtual {v2, v1}, Ljava/util/Random;->nextBytes([B)V

:try_start_0
invoke-virtual {v0, v1}, Ljava/io/ByteArrayOutputStream;->write([B)V

invoke-virtual {p0}, Ljava/lang/String;->getBytes()[B

move-result-object p0

invoke-virtual {v0, p0}, Ljava/io/ByteArrayOutputStream;->write([B)V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

invoke-virtual {v0}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B

move-result-object p0

return-object p0

:catch_0
const/4 p0, 0x0

return-object p0
.end method

.method public static getRootCheckStatus()I
.locals 1

sget v0, Lcom/square_enix/Android_dqmsuperlight/RootCheck;->rootCheckStatus:I

return v0
.end method

.method public static getSensorCount()I
.locals 2

sget-object v0, Lcom/square_enix/Android_dqmsuperlight/RootCheck;->sContext:Landroid/content/Context;

const-string v1, "sensor"

invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

move-result-object v0

check-cast v0, Landroid/hardware/SensorManager;

const/4 v1, 0x1

invoke-virtual {v0, v1}, Landroid/hardware/SensorManager;->getSensorList(I)Ljava/util/List;

move-result-object v0

invoke-interface {v0}, Ljava/util/List;->size()I

move-result v0

return v0
.end method

.method public static getSensorInfo()Z
.locals 5

sget-object v0, Lcom/square_enix/Android_dqmsuperlight/RootCheck;->sContext:Landroid/content/Context;

const-string v1, "sensor"

invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

move-result-object v0

check-cast v0, Landroid/hardware/SensorManager;

const/4 v1, 0x1

invoke-virtual {v0, v1}, Landroid/hardware/SensorManager;->getSensorList(I)Ljava/util/List;

move-result-object v0

const-string v2, "ERR"

invoke-interface {v0}, Ljava/util/List;->size()I

move-result v3

const/4 v4, 0x0

if-lez v3, :cond_0

invoke-interface {v0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

move-result-object v0

check-cast v0, Landroid/hardware/Sensor;

invoke-virtual {v0}, Landroid/hardware/Sensor;->getName()Ljava/lang/String;

move-result-object v2

:cond_0
const-string v0, "ERR"

invoke-virtual {v2, v0}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

move-result v0

if-eqz v0, :cond_1

return v1

:cond_1
return v4
.end method

.method public static final isAndroidEmulator()Z
.locals 3

sget-object v0, Landroid/os/Build;->PRODUCT:Ljava/lang/String;

const/4 v1, 0x0

if-eqz v0, :cond_1

const-string v2, "sdk"

invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v2

if-nez v2, :cond_0

const-string v2, "_sdk"

invoke-virtual {v0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

move-result v2

if-nez v2, :cond_0

const-string v2, "sdk_"

invoke-virtual {v0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

move-result v0

if-eqz v0, :cond_1

:cond_0
const/4 v0, 0x1

const/4 v1, 0x1

:cond_1
return v1
.end method

.method public static isRoot()Z
.locals 4

const/4 v0, 0x1

:try_start_0
invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;

move-result-object v1

const-string v2, "su"

invoke-virtual {v1, v2}, Ljava/lang/Runtime;->exec(Ljava/lang/String;)Ljava/lang/Process;

move-result-object v1

invoke-virtual {v1}, Ljava/lang/Process;->destroy()V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

return v0

:catch_0
const/4 v1, 0x0

:try_start_1
sget-object v2, Lcom/square_enix/Android_dqmsuperlight/RootCheck;->sContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

move-result-object v2

const-string v3, "com.noshufou.android.su"

invoke-virtual {v2, v3, v1}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;
:try_end_1
.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_1 .. :try_end_1} :catch_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

return v0

:catch_1
return v1
.end method