- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
94 lines
1.9 KiB
Smali
94 lines
1.9 KiB
Smali
.class public final Lcom/github/anrwatchdog/ANRError$1;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/Comparator;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/github/anrwatchdog/ANRError;->New(JLjava/lang/String;Z)Lcom/github/anrwatchdog/ANRError;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic val$mainThread:Ljava/lang/Thread;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/Thread;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/github/anrwatchdog/ANRError$1;->val$mainThread:Ljava/lang/Thread;
|
|
|
|
.line 64
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 64
|
|
check-cast p1, Ljava/lang/Thread;
|
|
|
|
check-cast p2, Ljava/lang/Thread;
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/github/anrwatchdog/ANRError$1;->compare(Ljava/lang/Thread;Ljava/lang/Thread;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public compare(Ljava/lang/Thread;Ljava/lang/Thread;)I
|
|
.locals 1
|
|
|
|
if-ne p1, p2, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/github/anrwatchdog/ANRError$1;->val$mainThread:Ljava/lang/Thread;
|
|
|
|
if-ne p1, v0, :cond_1
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
if-ne p2, v0, :cond_2
|
|
|
|
const/4 p1, -0x1
|
|
|
|
return p1
|
|
|
|
.line 73
|
|
:cond_2
|
|
invoke-virtual {p2}, Ljava/lang/Thread;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Thread;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|