Вверх ↑
Этот топик читают: Гость
Ответов: 8778
Рейтинг: 813
#46: 2022-07-16 10:21:01 ЛС | профиль | цитата
Udokanec, прежде всего вам надо понятно для коллег объяснять ваши хотелки.
Прочитайте сами ваш пост, это не более чем кусок потока сознания вырванный без начала и окончания.
карма: 18

0
Ответов: 278
Рейтинг: 5
#47: 2022-07-16 12:59:19 ЛС | профиль | цитата
Есть много строчный текст. Мне нужно (спарсить,выдрать и т.д.) блок выделенный прямоугольником

BlocFindом не получается.Регулярное выражение \.method (.+) onCreate\(Landroid/os/Bundle;\)V\\s+.locals \d\\s+const/\d v\d, \dx\d\\s+const-string v\d, "(.+)." нормально не работает
Текст
new-instance v1, Lcom/stalker1607/olaStalker1607/MainActivity$5;

invoke-direct {v1, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$5;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V

const-wide/16 v2, 0x7d0

invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

:goto_0
return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
.locals 6
const/4 v0, 0x1

const-string v1, "Garant."

invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

move-result-object v0

invoke-virtual {v0}, Landroid/widget/Toast;->show()V



.line 176
invoke-super {p0, p1}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onCreate(Landroid/os/Bundle;)V

.line 177
new-instance p1, Lcom/github/javiersantos/piracychecker/PiracyChecker;

Редактировалось 5 раз(а), последний 2022-07-16 14:35:39
карма: 0

0
Ответов: 412
Рейтинг: 67
#48: 2022-07-16 15:59:45 ЛС | профиль | цитата
Udokanec писал(а):
Как все таки распарсить много строчный текст

Леонид прав. Ты можешь показать, что в этом блоке меняется, а что нет.
И почему BlockFind у тебя не работает?

Add(MainForm,2953706,21,105)
{
Width=1131
Height=685
}
Add(Memo,16059569,196,112)
{
Top=70
Width=350
Height=576
Align=1
Strings=#64:new-instance v1, Lcom/stalker1607/olaStalker1607/MainActivity$5;|0:|127:invoke-direct {v1, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$5;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|23:const-wide/16 v2, 0x7d0|0:|90:invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z|0:|7::goto_0|11:return-void|11:.end method|0:|48:.method protected onCreate(Landroid/os/Bundle;)V|9:.locals 6|15:const/4 v0, 0x1|0:|26:const-string v1, "Garant."|0:|134:invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;|0:|21:move-result-object v0|0:|52:invoke-virtual {v0}, Landroid/widget/Toast;->show()V|0:|0:|0:|9:.line 176|100:invoke-super {p0, p1}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onCreate(Landroid/os/Bundle;)V|0:|9:.line 177|70:new-instance p1, Lcom/github/javiersantos/piracychecker/PiracyChecker;|0:|
ScrollBars=3
}
Add(Memo,2076377,259,140)
{
Left=350
Top=70
Width=390
Height=576
Align=5
ScrollBars=3
}
Add(Memo,13905826,259,189)
{
Left=740
Top=70
Width=375
Height=576
Align=3
ScrollBars=3
}
Add(Label,14139912,35,28)
{
Width=1115
Height=70
Align=2
Caption=""
AutoSize=1
}
Add(Button,10945532,112,203)
{
Left=25
Top=25
link(onClick,16408180:doSearch,[])
}
Add(Label,14388611,105,28)
{
Left=500
Top=25
Width=29
Height=17
Caption="Блок"
}
Add(Label,11308027,182,28)
{
Left=920
Top=30
Width=55
Height=17
Caption="без блока"
}
Add(BlockFind,16408180,196,203)
{
Delete=0
StartBlock=".method protected onCreate(Landroid/os/Bundle;)V"
EndBlock="show()V"
link(onSearch,2076377:doText,[(235,209)(235,167)])
link(onEndSearch,13905826:doText,[])
link(Text,16059569:Text,[])
}

карма: 9

0
Ответов: 278
Рейтинг: 5
#49: 2022-07-16 16:30:55 ЛС | профиль | цитата
Блин но как так-то.Я целый день ип-ся с BlockFind подставлял \r\n все такое потом Мучился составлял рег.выражение и все зря
Мне нужно в этом блоке удалить invoke-virtual {v0}, Landroid/widget/Toast;->show()V.Именно в этом.Потому что таких блоков может быть несколько.А различее именно в const-string v1, "Garant."
карма: 0

0
Ответов: 412
Рейтинг: 67
#50: 2022-07-16 18:52:21 ЛС | профиль | цитата
Udokanec писал(а):
Мне нужно в этом блоке удалить invoke-virtual {v0}, Landroid/widget/Toast;->show()V


Add(MainForm,5241032,273,147)
{
Width=800
Height=685
}
Add(Memo,16059569,343,147)
{
Top=70
Width=350
Height=576
Align=1
Strings=#64:new-instance v1, Lcom/stalker1607/olaStalker1607/MainActivity$5;|0:|127:invoke-direct {v1, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$5;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|23:const-wide/16 v2, 0x7d0|0:|90:invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z|0:|7::goto_0|11:return-void|11:.end method|0:|48:.method protected onCreate(Landroid/os/Bundle;)V|9:.locals 6|15:const/4 v0, 0x1|0:|26:const-string v1, "Garant."|0:|134:invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;|0:|21:move-result-object v0|0:|52:invoke-virtual {v0}, Landroid/widget/Toast;->show()V|0:|0:|0:|9:.line 176|100:invoke-super {p0, p1}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onCreate(Landroid/os/Bundle;)V|0:|9:.line 177|70:new-instance p1, Lcom/github/javiersantos/piracychecker/PiracyChecker;|0:|
ScrollBars=3
}
Add(Memo,13905826,567,196)
{
Left=350
Top=70
Width=434
Height=576
Align=5
ScrollBars=3
}
Add(Label,14139912,273,98)
{
Width=784
Height=70
Align=2
Caption=""
AutoSize=1
}
Add(Button,10945532,273,217)
{
Left=25
Top=25
link(onClick,16408180:doSearch,[])
}
Add(BlockFind,16408180,343,217)
{
UserReplace=0
StartBlock=".method protected onCreate(Landroid/os/Bundle;)V"
EndBlock="show()V"
Point(doReplaceStr)
link(onSearch,8772632:doReplace,[])
link(Text,12133342:Var2,[])
}
Add(Replace,8772632,392,217)
{
SubStr="invoke-virtual {v0}, Landroid/widget/Toast;->show()V"
link(onReplace,7235657:doEvent1,[])
}
Add(BlockFind,6409491,497,210)
{
Delete=0
StartBlock=".method protected onCreate(Landroid/os/Bundle;)V"
EndBlock="show()V"
Point(doReplaceStr)
link(onEndSearch,13905826:doText,[])
link(Text,12133342:Var3,[(503,187)])
}
Add(GetDataEx,12133342,343,182)
{
link(Data,16059569:Text,[])
}
Add(Hub,7235657,455,217)
{
link(onEvent1,6409491:doReplaceStr,[])
link(onEvent2,6409491:doSearch,[(480,230)(480,216)])
}

карма: 9

0
Ответов: 278
Рейтинг: 5
#51: 2022-07-17 04:53:21 ЛС | профиль | цитата
Текст
.class public Lcom/stalker1607/olaStalker1607/MainActivity;
.super Lcom/stalker1607/olaStalker1607/BaseActivity;
.source "MainActivity.java"


# instance fields
.field MyApp:Lcom/stalker1607/olaStalker1607/MyApplication;

.field a:I

.field doubleBackToExitPressedOnce:Z

.field drawer:Landroidx/drawerlayout/widget/DrawerLayout;

.field private fragmentManager:Landroidx/fragment/app/FragmentManager;

.field final handler:Landroid/os/Handler;

.field mAdViewLayout:Landroid/widget/LinearLayout;

.field private m_Text:Ljava/lang/String;

.field manager:Landroid/app/DownloadManager;

.field navigationView:Lcom/google/android/material/navigation/NavigationView;

.field queueId:J

.field reciver:Landroid/content/BroadcastReceiver;

.field versionCode:I


# direct methods
.method public constructor <init>()V
.locals 2

.line 90
invoke-direct {p0}, Lcom/stalker1607/olaStalker1607/BaseActivity;-><init>()V

const/4 v0, 0x0

.line 97
iput-boolean v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->doubleBackToExitPressedOnce:Z

.line 172
new-instance v0, Landroid/os/Handler;

invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

move-result-object v1

invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

iput-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->handler:Landroid/os/Handler;

return-void
.end method

.method static synthetic access$000(Lcom/stalker1607/olaStalker1607/MainActivity;)V
.locals 0

.line 90
invoke-direct {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getAppConstant()V

return-void
.end method

.method static synthetic access$100(Lcom/stalker1607/olaStalker1607/MainActivity;)V
.locals 0

.line 90
invoke-direct {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getAppConsent()V

return-void
.end method

.method static synthetic access$200(Lcom/stalker1607/olaStalker1607/MainActivity;)Landroidx/fragment/app/FragmentManager;
.locals 0

.line 90
iget-object p0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;

return-object p0
.end method

.method static synthetic access$300(Lcom/stalker1607/olaStalker1607/MainActivity;Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V
.locals 0

.line 90
invoke-direct {p0, p1, p2, p3, p4}, Lcom/stalker1607/olaStalker1607/MainActivity;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V

return-void
.end method

.method static synthetic access$400(Lcom/stalker1607/olaStalker1607/MainActivity;Ljava/lang/String;)V
.locals 0

.line 90
invoke-direct {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->newUpdateDialog(Ljava/lang/String;)V

return-void
.end method

.method private getAppConsent()V
.locals 5

.line 372
new-instance v0, Lcom/loopj/android/http/AsyncHttpClient;

invoke-direct {v0}, Lcom/loopj/android/http/AsyncHttpClient;-><init>()V

.line 373
new-instance v1, Lcom/loopj/android/http/RequestParams;

invoke-direct {v1}, Lcom/loopj/android/http/RequestParams;-><init>()V

.line 374
new-instance v2, Lcom/google/gson/Gson;

invoke-direct {v2}, Lcom/google/gson/Gson;-><init>()V

new-instance v3, Lcom/stalker1607/util/API;

invoke-direct {v3}, Lcom/stalker1607/util/API;-><init>()V

invoke-virtual {v2, v3}, Lcom/google/gson/Gson;->toJsonTree(Ljava/lang/Object;)Lcom/google/gson/JsonElement;

move-result-object v2

check-cast v2, Lcom/google/gson/JsonObject;

.line 375
new-instance v3, Ljava/lang/StringBuilder;

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

const-string v4, "get_app_details"

invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

invoke-static {p0}, Lcom/github/javiersantos/piracychecker/utils/LibraryUtilsKt;->getApkSignature(Landroid/content/Context;)Ljava/lang/String;

move-result-object v4

invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v3

const-string v4, "method_name"

invoke-virtual {v2, v4, v3}, Lcom/google/gson/JsonObject;->addProperty(Ljava/lang/String;Ljava/lang/String;)V

.line 376
invoke-virtual {v2}, Lcom/google/gson/JsonObject;->toString()Ljava/lang/String;

move-result-object v2

invoke-static {v2}, Lcom/stalker1607/util/API;->toBase64(Ljava/lang/String;)Ljava/lang/String;

move-result-object v2

const-string v3, "data"

invoke-virtual {v1, v3, v2}, Lcom/loopj/android/http/RequestParams;->put(Ljava/lang/String;Ljava/lang/String;)V

.line 377
sget-object v2, Lcom/stalker1607/util/Constant;->API_URL:Ljava/lang/String;

new-instance v3, Lcom/stalker1607/olaStalker1607/MainActivity$4;

invoke-direct {v3, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$4;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V

invoke-virtual {v0, v2, v1, v3}, Lcom/loopj/android/http/AsyncHttpClient;->post(Ljava/lang/String;Lcom/loopj/android/http/RequestParams;Lcom/loopj/android/http/ResponseHandlerInterface;)Lcom/loopj/android/http/RequestHandle;

return-void
.end method

.method private getAppConstant()V
.locals 5

.line 650
new-instance v0, Lcom/loopj/android/http/AsyncHttpClient;

invoke-direct {v0}, Lcom/loopj/android/http/AsyncHttpClient;-><init>()V

.line 651
new-instance v1, Lcom/loopj/android/http/RequestParams;

invoke-direct {v1}, Lcom/loopj/android/http/RequestParams;-><init>()V

.line 652
new-instance v2, Lcom/google/gson/Gson;

invoke-direct {v2}, Lcom/google/gson/Gson;-><init>()V

new-instance v3, Lcom/stalker1607/util/API;

invoke-direct {v3}, Lcom/stalker1607/util/API;-><init>()V

invoke-virtual {v2, v3}, Lcom/google/gson/Gson;->toJsonTree(Ljava/lang/Object;)Lcom/google/gson/JsonElement;

move-result-object v2

check-cast v2, Lcom/google/gson/JsonObject;

.line 653
new-instance v3, Ljava/lang/StringBuilder;

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

const-string v4, "get_app_details"

invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

invoke-static {p0}, Lcom/github/javiersantos/piracychecker/utils/LibraryUtilsKt;->getApkSignature(Landroid/content/Context;)Ljava/lang/String;

move-result-object v4

invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v3

const-string v4, "method_name"

invoke-virtual {v2, v4, v3}, Lcom/google/gson/JsonObject;->addProperty(Ljava/lang/String;Ljava/lang/String;)V

.line 654
invoke-virtual {v2}, Lcom/google/gson/JsonObject;->toString()Ljava/lang/String;

move-result-object v2

invoke-static {v2}, Lcom/stalker1607/util/API;->toBase64(Ljava/lang/String;)Ljava/lang/String;

move-result-object v2

const-string v3, "data"

invoke-virtual {v1, v3, v2}, Lcom/loopj/android/http/RequestParams;->put(Ljava/lang/String;Ljava/lang/String;)V

.line 655
sget-object v2, Lcom/stalker1607/util/Constant;->API_URL:Ljava/lang/String;

new-instance v3, Lcom/stalker1607/olaStalker1607/MainActivity$9;

invoke-direct {v3, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$9;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V

invoke-virtual {v0, v2, v1, v3}, Lcom/loopj/android/http/AsyncHttpClient;->post(Ljava/lang/String;Lcom/loopj/android/http/RequestParams;Lcom/loopj/android/http/ResponseHandlerInterface;)Lcom/loopj/android/http/RequestHandle;

return-void
.end method

.method private newUpdateDialog(Ljava/lang/String;)V
.locals 3

.line 545
new-instance v0, Landroidx/appcompat/app/AlertDialog$Builder;

invoke-direct {v0, p0}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

const v1, 0x7f1000ce

.line 546
invoke-virtual {p0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;

move-result-object v1

invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;

move-result-object v0

const/4 v1, 0x0

.line 547
invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setCancelable(Z)Landroidx/appcompat/app/AlertDialog$Builder;

move-result-object v0

const v1, 0x7f1000cd

.line 548
invoke-virtual {p0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;

move-result-object v1

invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;

move-result-object v0

const v1, 0x7f1000ca

.line 549
invoke-virtual {p0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;

move-result-object v1

new-instance v2, Lcom/stalker1607/olaStalker1607/MainActivity$6;

invoke-direct {v2, p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity$6;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;Ljava/lang/String;)V

invoke-virtual {v0, v1, v2}, Landroidx/appcompat/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

move-result-object p1

const v0, 0x7f0d0001

.line 563
invoke-virtual {p1, v0}, Landroidx/appcompat/app/AlertDialog$Builder;->setIcon(I)Landroidx/appcompat/app/AlertDialog$Builder;

move-result-object p1

.line 564
invoke-virtual {p1}, Landroidx/appcompat/app/AlertDialog$Builder;->show()Landroidx/appcompat/app/AlertDialog;

return-void
.end method

.method private showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V
.locals 1

.line 579
new-instance v0, Landroidx/appcompat/app/AlertDialog$Builder;

invoke-direct {v0, p1}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

.line 580
invoke-virtual {v0, p4}, Landroidx/appcompat/app/AlertDialog$Builder;->setIcon(I)Landroidx/appcompat/app/AlertDialog$Builder;

.line 581
invoke-virtual {v0, p2}, Landroidx/appcompat/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;

.line 582
invoke-virtual {v0, p3}, Landroidx/appcompat/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;

const/4 p1, 0x1

.line 584
invoke-virtual {v0, p1}, Landroidx/appcompat/app/AlertDialog$Builder;->setCancelable(Z)Landroidx/appcompat/app/AlertDialog$Builder;

const p1, 0x7f10009d

.line 587
invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;

move-result-object p1

new-instance p2, Lcom/stalker1607/olaStalker1607/MainActivity$7;

invoke-direct {p2, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$7;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V

.line 586
invoke-virtual {v0, p1, p2}, Landroidx/appcompat/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

.line 596
invoke-virtual {v0}, Landroidx/appcompat/app/AlertDialog$Builder;->create()Landroidx/appcompat/app/AlertDialog;

move-result-object p1

.line 597
sget p2, Landroid/os/Build$VERSION;->SDK_INT:I

const/16 p3, 0x13

if-lt p2, p3, :cond_0

.line 598
invoke-virtual {p1}, Landroidx/appcompat/app/AlertDialog;->getWindow()Landroid/view/Window;

move-result-object p2

invoke-virtual {p2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

check-cast p2, Landroid/view/Window;

invoke-virtual {p2}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

move-result-object p2

const p3, 0x7f1100e0

iput p3, p2, Landroid/view/WindowManager$LayoutParams;->windowAnimations:I

.line 600
:cond_0
invoke-virtual {p1}, Landroidx/appcompat/app/AlertDialog;->show()V

return-void
.end method


# virtual methods
.method public loadFrag(Landroidx/fragment/app/Fragment;Ljava/lang/String;Landroidx/fragment/app/FragmentManager;)V
.locals 2

const/4 v0, 0x0

.line 498
:goto_0
invoke-virtual {p3}, Landroidx/fragment/app/FragmentManager;->getBackStackEntryCount()I

move-result v1

if-ge v0, v1, :cond_0

.line 499
invoke-virtual {p3}, Landroidx/fragment/app/FragmentManager;->popBackStack()V

add-int/lit8 v0, v0, 0x1

goto :goto_0

.line 501
:cond_0
invoke-virtual {p3}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;

move-result-object p3

const v0, 0x7f080006

.line 503
invoke-virtual {p3, v0, p1, p2}, Landroidx/fragment/app/FragmentTransaction;->replace(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;

.line 504
invoke-virtual {p3}, Landroidx/fragment/app/FragmentTransaction;->commit()I

.line 505
invoke-virtual {p0, p2}, Lcom/stalker1607/olaStalker1607/MainActivity;->setToolbarTitle(Ljava/lang/String;)V

return-void
.end method

.method public onBackPressed()V
.locals 4

.line 516
iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;

const v1, 0x800003

invoke-virtual {v0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->isDrawerOpen(I)Z

move-result v0

if-eqz v0, :cond_0

.line 517
iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;

invoke-virtual {v0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->closeDrawer(I)V

goto :goto_0

.line 518
:cond_0
iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;

invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->getBackStackEntryCount()I

move-result v0

const/4 v1, 0x1

if-eqz v0, :cond_1

.line 519
iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;

invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->getFragments()Ljava/util/List;

move-result-object v0

iget-object v2, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;

invoke-virtual {v2}, Landroidx/fragment/app/FragmentManager;->getBackStackEntryCount()I

move-result v2

sub-int/2addr v2, v1

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

move-result-object v0

check-cast v0, Landroidx/fragment/app/Fragment;

invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getTag()Ljava/lang/String;

move-result-object v0

.line 520
invoke-virtual {p0, v0}, Lcom/stalker1607/olaStalker1607/MainActivity;->setToolbarTitle(Ljava/lang/String;)V

.line 522
invoke-super {p0}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onBackPressed()V

goto :goto_0

.line 524
:cond_1
iget-boolean v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->doubleBackToExitPressedOnce:Z

if-eqz v0, :cond_2

.line 527
invoke-super {p0}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onBackPressed()V

return-void

.line 532
:cond_2
iput-boolean v1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->doubleBackToExitPressedOnce:Z

const/4 v0, 0x0

const-string v1, "Please click BACK again to exit"

.line 533
invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

move-result-object v0

invoke-virtual {v0}, Landroid/widget/Toast;->show()V

.line 535
new-instance v0, Landroid/os/Handler;

invoke-direct {v0}, Landroid/os/Handler;-><init>()V

new-instance v1, Lcom/stalker1607/olaStalker1607/MainActivity$5;

invoke-direct {v1, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$5;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V

const-wide/16 v2, 0x7d0

invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

:goto_0
return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
.locals 6
const/4 v0, 0x1

const-string v1, "апапап."

invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

move-result-object v0

invoke-virtual {v0}, Landroid/widget/Toast;->show()V



.line 176
invoke-super {p0, p1}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onCreate(Landroid/os/Bundle;)V

.line 177
new-instance p1, Lcom/github/javiersantos/piracychecker/PiracyChecker;

invoke-direct {p1, p0}, Lcom/github/javiersantos/piracychecker/PiracyChecker;-><init>(Landroid/content/Context;)V

sget-object v0, Lcom/github/javiersantos/piracychecker/enums/Display;->ACTIVITY:Lcom/github/javiersantos/piracychecker/enums/Display;

invoke-virtual {p1, v0}, Lcom/github/javiersantos/piracychecker/PiracyChecker;->display(Lcom/github/javiersantos/piracychecker/enums/Display;)Lcom/github/javiersantos/piracychecker/PiracyChecker;

move-result-object p1

new-instance v0, Lcom/stalker1607/olaStalker1607/MainActivity$1;

invoke-direct {v0, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$1;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V

invoke-virtual {p1, v0}, Lcom/github/javiersantos/piracychecker/PiracyChecker;->callback(Lcom/github/javiersantos/piracychecker/callbacks/PiracyCheckerCallback;)Lcom/github/javiersantos/piracychecker/PiracyChecker;

move-result-object p1

.line 193
invoke-virtual {p1}, Lcom/github/javiersantos/piracychecker/PiracyChecker;->start()V

.line 236
invoke-static {p0}, Lio/monedata/Monedata;->start(Landroid/content/Context;)V

.line 237
sget-object p1, Lio/monedata/Monedata;->Consent:Lio/monedata/consent/ConsentManager;

const/4 v0, 0x1

invoke-virtual {p1, p0, v0}, Lio/monedata/consent/ConsentManager;->set(Landroid/content/Context;Z)V

const p1, 0x7f0b0020

.line 243
invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->setContentView(I)V

.line 249
invoke-static {p0}, Lcom/stalker1607/util/IsRTL;->ifSupported(Landroid/app/Activity;)V

const p1, 0x7f080194

.line 250
invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->findViewById(I)Landroid/view/View;

move-result-object p1

move-object v3, p1

check-cast v3, Landroidx/appcompat/widget/Toolbar;

.line 252
invoke-virtual {p0, v3}, Lcom/stalker1607/olaStalker1607/MainActivity;->setSupportActionBar(Landroidx/appcompat/widget/Toolbar;)V

const p1, 0x7f080050

.line 256
invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->findViewById(I)Landroid/view/View;

move-result-object p1

check-cast p1, Landroid/widget/LinearLayout;

iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->mAdViewLayout:Landroid/widget/LinearLayout;

.line 257
invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;

move-result-object p1

iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;

.line 258
invoke-static {}, Lcom/stalker1607/olaStalker1607/MyApplication;->getInstance()Lcom/stalker1607/olaStalker1607/MyApplication;

move-result-object p1

iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->MyApp:Lcom/stalker1607/olaStalker1607/MyApplication;

const p1, 0x7f0800f5

.line 259
invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->findViewById(I)Landroid/view/View;

move-result-object p1

check-cast p1, Lcom/google/android/material/navigation/NavigationView;

iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->navigationView:Lcom/google/android/material/navigation/NavigationView;

const p1, 0x7f080094

.line 260
invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->findViewById(I)Landroid/view/View;

move-result-object p1

check-cast p1, Landroidx/drawerlayout/widget/DrawerLayout;

iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;

.line 262
iget-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->navigationView:Lcom/google/android/material/navigation/NavigationView;

const/4 v0, 0x0

invoke-virtual {p1, v0}, Lcom/google/android/material/navigation/NavigationView;->setItemIconTintList(Landroid/content/res/ColorStateList;)V

.line 265
:try_start_0
invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getPackageManager()Landroid/content/pm/PackageManager;

move-result-object p1

.line 266
invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getPackageName()Ljava/lang/String;

move-result-object v0

const/4 v1, 0x0

invoke-virtual {p1, v0, v1}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

move-result-object p1

iget p1, p1, Landroid/content/pm/PackageInfo;->versionCode:I

iput p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->versionCode:I
:try_end_0
.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

goto :goto_0

:catch_0
move-exception p1

.line 269
invoke-virtual {p1}, Landroid/content/pm/PackageManager$NameNotFoundException;->printStackTrace()V

.line 274
:goto_0
iget-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->navigationView:Lcom/google/android/material/navigation/NavigationView;

new-instance v0, Lcom/stalker1607/olaStalker1607/MainActivity$2;

invoke-direct {v0, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$2;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V

invoke-virtual {p1, v0}, Lcom/google/android/material/navigation/NavigationView;->setNavigationItemSelectedListener(Lcom/google/android/material/navigation/NavigationView$OnNavigationItemSelectedListener;)V

.line 323
new-instance p1, Landroidx/appcompat/app/ActionBarDrawerToggle;

iget-object v2, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;

const v4, 0x7f100099

const v5, 0x7f100098

move-object v0, p1

move-object v1, p0

invoke-direct/range {v0 .. v5}, Landroidx/appcompat/app/ActionBarDrawerToggle;-><init>(Landroid/app/Activity;Landroidx/drawerlayout/widget/DrawerLayout;Landroidx/appcompat/widget/Toolbar;II)V

.line 326
iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;

invoke-virtual {v0, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->addDrawerListener(Landroidx/drawerlayout/widget/DrawerLayout$DrawerListener;)V

.line 327
invoke-virtual {p1}, Landroidx/appcompat/app/ActionBarDrawerToggle;->syncState()V

.line 329
new-instance p1, Lcom/stalker1607/fragment/CategoryFragment;

invoke-direct {p1}, Lcom/stalker1607/fragment/CategoryFragment;-><init>()V

const v0, 0x7f100071

.line 330
invoke-virtual {p0, v0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;

move-result-object v0

iget-object v1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;

invoke-virtual {p0, p1, v0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity;->loadFrag(Landroidx/fragment/app/Fragment;Ljava/lang/String;Landroidx/fragment/app/FragmentManager;)V

.line 332
invoke-static {p0}, Lcom/stalker1607/util/NetworkUtils;->isConnected(Landroid/content/Context;)Z

move-result p1

if-eqz p1, :cond_0

.line 333
invoke-direct {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getAppConsent()V

.line 336
:cond_0
new-instance p1, Lcom/stalker1607/olaStalker1607/MainActivity$3;

invoke-direct {p1, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$3;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V

iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->reciver:Landroid/content/BroadcastReceiver;

return-void
.end method

.method public onCreateOptionsMenu(Landroid/view/Menu;)Z
.locals 3

.line 611
invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getMenuInflater()Landroid/view/MenuInflater;

move-result-object v0

const v1, 0x7f0c0001

.line 612
invoke-virtual {v0, v1, p1}, Landroid/view/MenuInflater;->inflate(ILandroid/view/Menu;)V

const v0, 0x7f080140

.line 613
invoke-interface {p1, v0}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

move-result-object v0

const v1, 0x7f080051

.line 615
invoke-interface {p1, v1}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

const v1, 0x7f080130

.line 616
invoke-interface {p1, v1}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

move-result-object v1

const/4 v2, 0x1

.line 617
invoke-interface {v1, v2}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;

const/4 v2, 0x0

.line 620
invoke-interface {v0, v2}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;

.line 621
invoke-interface {v0}, Landroid/view/MenuItem;->getActionView()Landroid/view/View;

move-result-object v0

check-cast v0, Landroidx/appcompat/widget/SearchView;

.line 624
new-instance v0, Lcom/stalker1607/olaStalker1607/MainActivity$8;

invoke-direct {v0, p0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity$8;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;Landroid/view/MenuItem;)V

invoke-interface {v1, v0}, Landroid/view/MenuItem;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Landroid/view/MenuItem;

.line 646
invoke-super {p0, p1}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onCreateOptionsMenu(Landroid/view/Menu;)Z

move-result p1

return p1
.end method

.method public setToolbarTitle(Ljava/lang/String;)V
.locals 1

.line 509
invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getSupportActionBar()Landroidx/appcompat/app/ActionBar;

move-result-object v0

if-eqz v0, :cond_0

.line 510
invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getSupportActionBar()Landroidx/appcompat/app/ActionBar;

move-result-object v0

invoke-virtual {v0, p1}, Landroidx/appcompat/app/ActionBar;->setTitle(Ljava/lang/CharSequence;)V

:cond_0
return-void
.end method
Находит почему-то один блок а их там два

Add(MainForm,5558867,105,56)
{
Width=1131
Height=685
}
Add(Label,14139912,231,112)
{
Width=1115
Height=90
Align=2
Caption=""
AutoSize=1
}
Add(Memo,13145580,1057,147)
{
Top=90
Width=1115
Height=556
Align=5
ScrollBars=3
Point(doLoad)
}
Add(BlockFind,1350044,861,168)
{
Delete=0
StartBlock="const-string v1, ""
EndBlock="show()V"
link(onSearch,13145580:doText,[])
link(Text,14461225:Text,[])
}
Add(StrList,14461225,861,77)
{
Point(doGetString)
Point(onGetString)
Point(doReplace)
Point(doLoad)
Point(doSave)
link(FileName,7646630:Value,[(874,65)(776,65)(776,192)(713,192)])
}
Add(Hub,13502093,798,147)
{
OutCount=4
link(onEvent1,14461225:doLoad,[(836,153)(836,125)])
link(onEvent2,1350044:doSearch,[(836,160)(836,174)])
}
Add(Button,1032059,350,133)
{
Left=290
Top=5
Width=100
Caption="Папка"
link(onClick,1584642:doBrowse,[])
}
Add(Button,1454278,476,133)
{
Left=290
Top=30
Width=100
Enabled=1
Caption="Заменить"
Point(doEnabled)
link(onClick,562048:doEvent1,[])
}
Add(Label,15810939,350,98)
{
Left=5
Top=10
Width=49
Height=17
Caption="Каталог:"
}
Add(Edit,8494145,434,133)
{
Left=60
Top=10
Width=195
Text=""
link(onChange,1454278:doEnabled,[])
}
Add(Browse,1584642,392,133)
{
Title="Select Folder"
NewDirButton=1
link(onBrowse,8494145:doText,[])
}
Add(FileSearch,9717498,546,140)
{
Ext="*MainActivity.smali"
TimeType=1
link(onSearch,3380521:doAdd,[])
link(onEndSearch,8452435:doStart,[(587,153)(587,188)(429,188)(429,216)])
link(Dir,8494145:Text,[(559,121)(507,121)(507,177)(440,177)])
}
Add(Memory,7646630,707,147)
{
link(onData,13502093:doEvent1,[])
}
Add(Message,6502705,637,280)
{
}
Add(FormatStr,14622508,595,280)
{
Mask="Обработано файлов - %1"
link(onFString,6502705:doMessage,[])
}
Add(InlineCode,6130277,644,224)
{
WorkPoints=#6:doWork|
EventPoints=#10:onProgress|0:|
DataPoints=#6:Param1|6:Param2|
Code=#15:unit HiAsmUnit;|0:|9:interface|0:|21:uses kol,Share,Debug;|0:|4:type|28: THiAsmClass = class(TDebug)|10: private|8: |10: public|21: Param1: THI_Event;|22: Param2: THI_Event; |23: onProgress: THI_Event;|3: |49: Procedure doWork(var _Data:TData; Index:Word); |0:|5: end;|0:|2: |15: implementation|0:|3: |30:Procedure THiAsmClass.doWork; |5: var |19:Count,LEn: Integer;|0:|5:begin|33:Count:= ToIntegerEvent ( Param1);|31:LEn:= ToIntegerEvent ( Param2);|55: _hi_OnEvent(onProgress,Round((LEn / Count) * 100)); |7: end;|0:|0:|4:end.|
link(onProgress,8488532:doWork2,[])
link(Param1,12985465:Var2,[])
link(Param2,2714823:Var1,[(657,212)(545,212)])
}
Add(StrList,3380521,637,140)
{
Point(doGetString)
Point(onGetString)
link(onGetString,7646630:doValue,[])
}
Add(Hub,7608367,602,175)
{
link(onEvent1,3380521:doGetString,[(626,181)(626,174)])
link(onEvent2,6130277:doWork,[(630,188)(630,230)])
}
Add(Thread,8452435,455,210)
{
Delay=0
FastStop=0
link(onExec,2033947:doFor,[(492,216)(492,244)])
}
Add(For,2033947,497,238)
{
link(onEvent,6027876:doData,[])
link(onStop,14622508:doString,[(562,251)(562,286)])
link(End,12985465:Var1,[(510,201)])
}
Add(DoData,6027876,553,238)
{
link(onEventData,7608367:doEvent1,[(593,244)(593,181)])
link(Data,2714823:Var3,[(559,226)])
}
Add(GetDataEx,2714823,539,221)
{
Angle=3
link(Data,2033947:Position,[(534,226)(534,282)(503,282)])
}
Add(GetDataEx,12985465,644,196)
{
link(Data,3380521:Count,[])
}
Add(Hub,562048,518,133)
{
link(onEvent1,8488532:doWork1,[(688,139)])
link(onEvent2,9717498:doSearch,[])
}
Add(ProgressBarRush,3433553,700,224)
{
Left=460
Top=30
Width=470
}
Add(HubEx,8488532,684,224)
{
Angle=1
link(onEvent,3433553:doPosition,[(688,230)])
}

карма: 0

0
Ответов: 412
Рейтинг: 67
#52: 2022-07-17 10:55:56 ЛС | профиль | цитата
Udokanec, Ну что мне с тобой делать? Нет в этом тексте двух блоков, которые ты обозначил красной рамкой в своём сообщении №47 https://forum.hiasm.com/post/312011
Есть другие, похожие.

Add(MainForm,5241032,266,154)
{
Width=800
Height=685
}
Add(Memo,16059569,336,154)
{
Top=70
Width=350
Height=576
Align=1
Strings=#59:.class public Lcom/stalker1607/olaStalker1607/MainActivity;|52:.super Lcom/stalker1607/olaStalker1607/BaseActivity;|27:.source "MainActivity.java"|0:|0:|17:# instance fields|59:.field MyApp:Lcom/stalker1607/olaStalker1607/MyApplication;|0:|10:.field a:I|0:|36:.field doubleBackToExitPressedOnce:Z|0:|57:.field drawer:Landroidx/drawerlayout/widget/DrawerLayout;|0:|70:.field private fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|41:.field final handler:Landroid/os/Handler;|0:|50:.field mAdViewLayout:Landroid/widget/LinearLayout;|0:|40:.field private m_Text:Ljava/lang/String;|0:|44:.field manager:Landroid/app/DownloadManager;|0:|77:.field navigationView:Lcom/google/android/material/navigation/NavigationView;|0:|16:.field queueId:J|0:|50:.field reciver:Landroid/content/BroadcastReceiver;|0:|20:.field versionCode:I|0:|0:|16:# direct methods|36:.method public constructor <init>()V|9:.locals 2|0:|8:.line 90|76:invoke-direct {p0}, Lcom/stalker1607/olaStalker1607/BaseActivity;-><init>()V|0:|15:const/4 v0, 0x0|0:|8:.line 97|97:iput-boolean v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->doubleBackToExitPressedOnce:Z|0:|9:.line 172|37:new-instance v0, Landroid/os/Handler;|0:|73:invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;|0:|21:move-result-object v1|0:|74:invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V|0:|95:iput-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->handler:Landroid/os/Handler;|0:|11:return-void|11:.end method|0:|83:.method static synthetic access$000(Lcom/stalker1607/olaStalker1607/MainActivity;)V|9:.locals 0|0:|8:.line 90|84:invoke-direct {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getAppConstant()V|0:|11:return-void|11:.end method|0:|83:.method static synthetic access$100(Lcom/stalker1607/olaStalker1607/MainActivity;)V|9:.locals 0|0:|8:.line 90|83:invoke-direct {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getAppConsent()V|0:|11:return-void|11:.end method|0:|121:.method static synthetic access$200(Lcom/stalker1607/olaStalker1607/MainActivity;)Landroidx/fragment/app/FragmentManager;|9:.locals 0|0:|8:.line 90|122:iget-object p0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|16:return-object p0|11:.end method|0:|145:.method static synthetic access$300(Lcom/stalker1607/olaStalker1607/MainActivity;Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V|9:.locals 0|0:|8:.line 90|158:invoke-direct {p0, p1, p2, p3, p4}, Lcom/stalker1607/olaStalker1607/MainActivity;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V|0:|11:return-void|11:.end method|0:|101:.method static synthetic access$400(Lcom/stalker1607/olaStalker1607/MainActivity;Ljava/lang/String;)V|9:.locals 0|0:|8:.line 90|107:invoke-direct {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->newUpdateDialog(Ljava/lang/String;)V|0:|11:return-void|11:.end method|0:|32:.method private getAppConsent()V|9:.locals 5|0:|9:.line 372|57:new-instance v0, Lcom/loopj/android/http/AsyncHttpClient;|0:|71:invoke-direct {v0}, Lcom/loopj/android/http/AsyncHttpClient;-><init>()V|0:|9:.line 373|55:new-instance v1, Lcom/loopj/android/http/RequestParams;|0:|69:invoke-direct {v1}, Lcom/loopj/android/http/RequestParams;-><init>()V|0:|9:.line 374|39:new-instance v2, Lcom/google/gson/Gson;|0:|53:invoke-direct {v2}, Lcom/google/gson/Gson;-><init>()V|0:|43:new-instance v3, Lcom/stalker1607/util/API;|0:|57:invoke-direct {v3}, Lcom/stalker1607/util/API;-><init>()V|0:|108:invoke-virtual {v2, v3}, Lcom/google/gson/Gson;->toJsonTree(Ljava/lang/Object;)Lcom/google/gson/JsonElement;|0:|21:move-result-object v2|0:|43:check-cast v2, Lcom/google/gson/JsonObject;|0:|9:.line 375|42:new-instance v3, Ljava/lang/StringBuilder;|0:|56:invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V|0:|34:const-string v4, "get_app_details"|0:|103:invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|142:invoke-static {p0}, Lcom/github/javiersantos/piracychecker/utils/LibraryUtilsKt;->getApkSignature(Landroid/content/Context;)Ljava/lang/String;|0:|21:move-result-object v4|0:|103:invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|76:invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;|0:|21:move-result-object v3|0:|30:const-string v4, "method_name"|0:|109:invoke-virtual {v2, v4, v3}, Lcom/google/gson/JsonObject;->addProperty(Ljava/lang/String;Ljava/lang/String;)V|0:|9:.line 376|79:invoke-virtual {v2}, Lcom/google/gson/JsonObject;->toString()Ljava/lang/String;|0:|21:move-result-object v2|0:|94:invoke-static {v2}, Lcom/stalker1607/util/API;->toBase64(Ljava/lang/String;)Ljava/lang/String;|0:|21:move-result-object v2|0:|23:const-string v3, "data"|0:|111:invoke-virtual {v1, v3, v2}, Lcom/loopj/android/http/RequestParams;->put(Ljava/lang/String;Ljava/lang/String;)V|0:|9:.line 377|75:sget-object v2, Lcom/stalker1607/util/Constant;->API_URL:Ljava/lang/String;|0:|64:new-instance v3, Lcom/stalker1607/olaStalker1607/MainActivity$4;|0:|127:invoke-direct {v3, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$4;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|224:invoke-virtual {v0, v2, v1, v3}, Lcom/loopj/android/http/AsyncHttpClient;->post(Ljava/lang/String;Lcom/loopj/android/http/RequestParams;Lcom/loopj/android/http/ResponseHandlerInterface;)Lcom/loopj/android/http/RequestHandle;|0:|11:return-void|11:.end method|0:|33:.method private getAppConstant()V|9:.locals 5|0:|9:.line 650|57:new-instance v0, Lcom/loopj/android/http/AsyncHttpClient;|0:|71:invoke-direct {v0}, Lcom/loopj/android/http/AsyncHttpClient;-><init>()V|0:|9:.line 651|55:new-instance v1, Lcom/loopj/android/http/RequestParams;|0:|69:invoke-direct {v1}, Lcom/loopj/android/http/RequestParams;-><init>()V|0:|9:.line 652|39:new-instance v2, Lcom/google/gson/Gson;|0:|53:invoke-direct {v2}, Lcom/google/gson/Gson;-><init>()V|0:|43:new-instance v3, Lcom/stalker1607/util/API;|0:|57:invoke-direct {v3}, Lcom/stalker1607/util/API;-><init>()V|0:|108:invoke-virtual {v2, v3}, Lcom/google/gson/Gson;->toJsonTree(Ljava/lang/Object;)Lcom/google/gson/JsonElement;|0:|21:move-result-object v2|0:|43:check-cast v2, Lcom/google/gson/JsonObject;|0:|9:.line 653|42:new-instance v3, Ljava/lang/StringBuilder;|0:|56:invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V|0:|34:const-string v4, "get_app_details"|0:|103:invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|142:invoke-static {p0}, Lcom/github/javiersantos/piracychecker/utils/LibraryUtilsKt;->getApkSignature(Landroid/content/Context;)Ljava/lang/String;|0:|21:move-result-object v4|0:|103:invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|76:invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;|0:|21:move-result-object v3|0:|30:const-string v4, "method_name"|0:|109:invoke-virtual {v2, v4, v3}, Lcom/google/gson/JsonObject;->addProperty(Ljava/lang/String;Ljava/lang/String;)V|0:|9:.line 654|79:invoke-virtual {v2}, Lcom/google/gson/JsonObject;->toString()Ljava/lang/String;|0:|21:move-result-object v2|0:|94:invoke-static {v2}, Lcom/stalker1607/util/API;->toBase64(Ljava/lang/String;)Ljava/lang/String;|0:|21:move-result-object v2|0:|23:const-string v3, "data"|0:|111:invoke-virtual {v1, v3, v2}, Lcom/loopj/android/http/RequestParams;->put(Ljava/lang/String;Ljava/lang/String;)V|0:|9:.line 655|75:sget-object v2, Lcom/stalker1607/util/Constant;->API_URL:Ljava/lang/String;|0:|64:new-instance v3, Lcom/stalker1607/olaStalker1607/MainActivity$9;|0:|127:invoke-direct {v3, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$9;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|224:invoke-virtual {v0, v2, v1, v3}, Lcom/loopj/android/http/AsyncHttpClient;->post(Ljava/lang/String;Lcom/loopj/android/http/RequestParams;Lcom/loopj/android/http/ResponseHandlerInterface;)Lcom/loopj/android/http/RequestHandle;|0:|11:return-void|11:.end method|0:|52:.method private newUpdateDialog(Ljava/lang/String;)V|9:.locals 3|0:|9:.line 545|61:new-instance v0, Landroidx/appcompat/app/AlertDialog$Builder;|0:|104:invoke-direct {v0, p0}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V|0:|20:const v1, 0x7f1000ce|0:|9:.line 546|102:invoke-virtual {p0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;|0:|21:move-result-object v1|0:|149:invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;|0:|21:move-result-object v0|0:|15:const/4 v1, 0x0|0:|9:.line 547|131:invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setCancelable(Z)Landroidx/appcompat/app/AlertDialog$Builder;|0:|21:move-result-object v0|0:|20:const v1, 0x7f1000cd|0:|9:.line 548|102:invoke-virtual {p0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;|0:|21:move-result-object v1|0:|151:invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;|0:|21:move-result-object v0|0:|20:const v1, 0x7f1000ca|0:|9:.line 549|102:invoke-virtual {p0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;|0:|21:move-result-object v1|0:|64:new-instance v2, Lcom/stalker1607/olaStalker1607/MainActivity$6;|0:|149:invoke-direct {v2, p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity$6;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;Ljava/lang/String;)V|0:|211:invoke-virtual {v0, v1, v2}, Landroidx/appcompat/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;|0:|21:move-result-object p1|0:|20:const v0, 0x7f0d0001|0:|9:.line 563|125:invoke-virtual {p1, v0}, Landroidx/appcompat/app/AlertDialog$Builder;->setIcon(I)Landroidx/appcompat/app/AlertDialog$Builder;|0:|21:move-result-object p1|0:|9:.line 564|109:invoke-virtual {p1}, Landroidx/appcompat/app/AlertDialog$Builder;->show()Landroidx/appcompat/app/AlertDialog;|0:|11:return-void|11:.end method|0:|91:.method private showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V|9:.locals 1|0:|9:.line 579|61:new-instance v0, Landroidx/appcompat/app/AlertDialog$Builder;|0:|104:invoke-direct {v0, p1}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V|0:|9:.line 580|125:invoke-virtual {v0, p4}, Landroidx/appcompat/app/AlertDialog$Builder;->setIcon(I)Landroidx/appcompat/app/AlertDialog$Builder;|0:|9:.line 581|149:invoke-virtual {v0, p2}, Landroidx/appcompat/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;|0:|9:.line 582|151:invoke-virtual {v0, p3}, Landroidx/appcompat/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;|0:|15:const/4 p1, 0x1|0:|9:.line 584|131:invoke-virtual {v0, p1}, Landroidx/appcompat/app/AlertDialog$Builder;->setCancelable(Z)Landroidx/appcompat/app/AlertDialog$Builder;|0:|20:const p1, 0x7f10009d|0:|9:.line 587|102:invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;|0:|21:move-result-object p1|0:|64:new-instance p2, Lcom/stalker1607/olaStalker1607/MainActivity$7;|0:|127:invoke-direct {p2, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$7;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|9:.line 586|211:invoke-virtual {v0, p1, p2}, Landroidx/appcompat/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;|0:|9:.line 596|111:invoke-virtual {v0}, Landroidx/appcompat/app/AlertDialog$Builder;->create()Landroidx/appcompat/app/AlertDialog;|0:|21:move-result-object p1|0:|9:.line 597|46:sget p2, Landroid/os/Build$VERSION;->SDK_INT:I|0:|17:const/16 p3, 0x13|0:|21:if-lt p2, p3, :cond_0|0:|9:.line 598|91:invoke-virtual {p1}, Landroidx/appcompat/app/AlertDialog;->getWindow()Landroid/view/Window;|0:|21:move-result-object p2|0:|68:invoke-virtual {p2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;|0:|36:check-cast p2, Landroid/view/Window;|0:|100:invoke-virtual {p2}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;|0:|21:move-result-object p2|0:|20:const p3, 0x7f1100e0|0:|74:iput p3, p2, Landroid/view/WindowManager$LayoutParams;->windowAnimations:I|0:|9:.line 600|7::cond_0|66:invoke-virtual {p1}, Landroidx/appcompat/app/AlertDialog;->show()V|0:|11:return-void|11:.end method|0:|0:|17:# virtual methods|115:.method public loadFrag(Landroidx/fragment/app/Fragment;Ljava/lang/String;Landroidx/fragment/app/FragmentManager;)V|9:.locals 2|0:|15:const/4 v0, 0x0|0:|9:.line 498|7::goto_0|87:invoke-virtual {p3}, Landroidx/fragment/app/FragmentManager;->getBackStackEntryCount()I|0:|14:move-result v1|0:|21:if-ge v0, v1, :cond_0|0:|9:.line 499|77:invoke-virtual {p3}, Landroidx/fragment/app/FragmentManager;->popBackStack()V|0:|24:add-int/lit8 v0, v0, 0x1|0:|12:goto :goto_0|0:|9:.line 501|7::cond_0|123:invoke-virtual {p3}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;|0:|21:move-result-object p3|0:|20:const v0, 0x7f080006|0:|9:.line 503|181:invoke-virtual {p3, v0, p1, p2}, Landroidx/fragment/app/FragmentTransaction;->replace(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;|0:|9:.line 504|75:invoke-virtual {p3}, Landroidx/fragment/app/FragmentTransaction;->commit()I|0:|9:.line 505|108:invoke-virtual {p0, p2}, Lcom/stalker1607/olaStalker1607/MainActivity;->setToolbarTitle(Ljava/lang/String;)V|0:|11:return-void|11:.end method|0:|31:.method public onBackPressed()V|9:.locals 4|0:|9:.line 516|117:iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;|0:|18:const v1, 0x800003|0:|86:invoke-virtual {v0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->isDrawerOpen(I)Z|0:|14:move-result v0|0:|18:if-eqz v0, :cond_0|0:|9:.line 517|117:iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;|0:|85:invoke-virtual {v0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->closeDrawer(I)V|0:|12:goto :goto_0|0:|9:.line 518|7::cond_0|122:iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|87:invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->getBackStackEntryCount()I|0:|14:move-result v0|0:|15:const/4 v1, 0x1|0:|18:if-eqz v0, :cond_1|0:|9:.line 519|122:iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|92:invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->getFragments()Ljava/util/List;|0:|21:move-result-object v0|0:|122:iget-object v2, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|87:invoke-virtual {v2}, Landroidx/fragment/app/FragmentManager;->getBackStackEntryCount()I|0:|14:move-result v2|0:|20:sub-int/2addr v2, v1|0:|69:invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;|0:|21:move-result-object v0|0:|47:check-cast v0, Landroidx/fragment/app/Fragment;|0:|81:invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getTag()Ljava/lang/String;|0:|21:move-result-object v0|0:|9:.line 520|108:invoke-virtual {p0, v0}, Lcom/stalker1607/olaStalker1607/MainActivity;->setToolbarTitle(Ljava/lang/String;)V|0:|9:.line 522|82:invoke-super {p0}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onBackPressed()V|0:|12:goto :goto_0|0:|9:.line 524|7::cond_1|97:iget-boolean v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->doubleBackToExitPressedOnce:Z|0:|18:if-eqz v0, :cond_2|0:|9:.line 527|82:invoke-super {p0}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onBackPressed()V|0:|11:return-void|0:|9:.line 532|7::cond_2|97:iput-boolean v1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->doubleBackToExitPressedOnce:Z|0:|15:const/4 v0, 0x0|0:|50:const-string v1, "Please click BACK again to exit"|0:|9:.line 533|134:invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;|0:|21:move-result-object v0|0:|52:invoke-virtual {v0}, Landroid/widget/Toast;->show()V|0:|9:.line 535|37:new-instance v0, Landroid/os/Handler;|0:|51:invoke-direct {v0}, Landroid/os/Handler;-><init>()V|0:|64:new-instance v1, Lcom/stalker1607/olaStalker1607/MainActivity$5;|0:|127:invoke-direct {v1, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$5;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|23:const-wide/16 v2, 0x7d0|0:|90:invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z|0:|7::goto_0|11:return-void|11:.end method|0:|48:.method protected onCreate(Landroid/os/Bundle;)V|9:.locals 6|15:const/4 v0, 0x1|0:|26:const-string v1, "??????."|0:|134:invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;|0:|21:move-result-object v0|0:|52:invoke-virtual {v0}, Landroid/widget/Toast;->show()V|0:|0:|0:|9:.line 176|100:invoke-super {p0, p1}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onCreate(Landroid/os/Bundle;)V|0:|9:.line 177|70:new-instance p1, Lcom/github/javiersantos/piracychecker/PiracyChecker;|0:|113:invoke-direct {p1, p0}, Lcom/github/javiersantos/piracychecker/PiracyChecker;-><init>(Landroid/content/Context;)V|0:|133:sget-object v0, Lcom/github/javiersantos/piracychecker/enums/Display;->ACTIVITY:Lcom/github/javiersantos/piracychecker/enums/Display;|0:|195:invoke-virtual {p1, v0}, Lcom/github/javiersantos/piracychecker/PiracyChecker;->display(Lcom/github/javiersantos/piracychecker/enums/Display;)Lcom/github/javiersantos/piracychecker/PiracyChecker;|0:|21:move-result-object p1|0:|64:new-instance v0, Lcom/stalker1607/olaStalker1607/MainActivity$1;|0:|127:invoke-direct {v0, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$1;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|214:invoke-virtual {p1, v0}, Lcom/github/javiersantos/piracychecker/PiracyChecker;->callback(Lcom/github/javiersantos/piracychecker/callbacks/PiracyCheckerCallback;)Lcom/github/javiersantos/piracychecker/PiracyChecker;|0:|21:move-result-object p1|0:|9:.line 193|84:invoke-virtual {p1}, Lcom/github/javiersantos/piracychecker/PiracyChecker;->start()V|0:|9:.line 236|77:invoke-static {p0}, Lio/monedata/Monedata;->start(Landroid/content/Context;)V|0:|9:.line 237|84:sget-object p1, Lio/monedata/Monedata;->Consent:Lio/monedata/consent/ConsentManager;|0:|15:const/4 v0, 0x1|0:|99:invoke-virtual {p1, p0, v0}, Lio/monedata/consent/ConsentManager;->set(Landroid/content/Context;Z)V|0:|20:const p1, 0x7f0b0020|0:|9:.line 243|90:invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->setContentView(I)V|0:|9:.line 249|86:invoke-static {p0}, Lcom/stalker1607/util/IsRTL;->ifSupported(Landroid/app/Activity;)V|0:|20:const p1, 0x7f080194|0:|9:.line 250|106:invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->findViewById(I)Landroid/view/View;|0:|21:move-result-object p1|0:|18:move-object v3, p1|0:|50:check-cast v3, Landroidx/appcompat/widget/Toolbar;|0:|9:.line 252|129:invoke-virtual {p0, v3}, Lcom/stalker1607/olaStalker1607/MainActivity;->setSupportActionBar(Landroidx/appcompat/widget/Toolbar;)V|0:|20:const p1, 0x7f080050|0:|9:.line 256|106:invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->findViewById(I)Landroid/view/View;|0:|21:move-result-object p1|0:|44:check-cast p1, Landroid/widget/LinearLayout;|0:|110:iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->mAdViewLayout:Landroid/widget/LinearLayout;|0:|9:.line 257|134:invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;|0:|21:move-result-object p1|0:|122:iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|9:.line 258|125:invoke-static {}, Lcom/stalker1607/olaStalker1607/MyApplication;->getInstance()Lcom/stalker1607/olaStalker1607/MyApplication;|0:|21:move-result-object p1|0:|119:iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->MyApp:Lcom/stalker1607/olaStalker1607/MyApplication;|0:|20:const p1, 0x7f0800f5|0:|9:.line 259|106:invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->findViewById(I)Landroid/view/View;|0:|21:move-result-object p1|0:|70:check-cast p1, Lcom/google/android/material/navigation/NavigationView;|0:|137:iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->navigationView:Lcom/google/android/material/navigation/NavigationView;|0:|20:const p1, 0x7f080094|0:|9:.line 260|106:invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->findViewById(I)Landroid/view/View;|0:|21:move-result-object p1|0:|58:check-cast p1, Landroidx/drawerlayout/widget/DrawerLayout;|0:|117:iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;|0:|9:.line 262|137:iget-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->navigationView:Lcom/google/android/material/navigation/NavigationView;|0:|15:const/4 v0, 0x0|0:|140:invoke-virtual {p1, v0}, Lcom/google/android/material/navigation/NavigationView;->setItemIconTintList(Landroid/content/res/ColorStateList;)V|0:|9:.line 265|12::try_start_0|122:invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getPackageManager()Landroid/content/pm/PackageManager;|0:|21:move-result-object p1|0:|9:.line 266|102:invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getPackageName()Ljava/lang/String;|0:|21:move-result-object v0|0:|15:const/4 v1, 0x0|0:|133:invoke-virtual {p1, v0, v1}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;|0:|21:move-result-object p1|0:|60:iget p1, p1, Landroid/content/pm/PackageInfo;->versionCode:I|0:|73:iput p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->versionCode:I|10::try_end_0|102:.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0|0:|12:goto :goto_0|0:|8::catch_0|17:move-exception p1|0:|9:.line 269|98:invoke-virtual {p1}, Landroid/content/pm/PackageManager$NameNotFoundException;->printStackTrace()V|0:|9:.line 274|7::goto_0|137:iget-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->navigationView:Lcom/google/android/material/navigation/NavigationView;|0:|64:new-instance v0, Lcom/stalker1607/olaStalker1607/MainActivity$2;|0:|127:invoke-direct {v0, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$2;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|206:invoke-virtual {p1, v0}, Lcom/google/android/material/navigation/NavigationView;->setNavigationItemSelectedListener(Lcom/google/android/material/navigation/NavigationView$OnNavigationItemSelectedListener;)V|0:|9:.line 323|63:new-instance p1, Landroidx/appcompat/app/ActionBarDrawerToggle;|0:|117:iget-object v2, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;|0:|20:const v4, 0x7f100099|0:|20:const v5, 0x7f100098|0:|18:move-object v0, p1|0:|18:move-object v1, p0|0:|191:invoke-direct/range {v0 .. v5}, Landroidx/appcompat/app/ActionBarDrawerToggle;-><init>(Landroid/app/Activity;Landroidx/drawerlayout/widget/DrawerLayout;Landroidx/appcompat/widget/Toolbar;II)V|0:|9:.line 326|117:iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;|0:|148:invoke-virtual {v0, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->addDrawerListener(Landroidx/drawerlayout/widget/DrawerLayout$DrawerListener;)V|0:|9:.line 327|81:invoke-virtual {p1}, Landroidx/appcompat/app/ActionBarDrawerToggle;->syncState()V|0:|9:.line 329|60:new-instance p1, Lcom/stalker1607/fragment/CategoryFragment;|0:|74:invoke-direct {p1}, Lcom/stalker1607/fragment/CategoryFragment;-><init>()V|0:|20:const v0, 0x7f100071|0:|9:.line 330|102:invoke-virtual {p0, v0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;|0:|21:move-result-object v0|0:|122:iget-object v1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|180:invoke-virtual {p0, p1, v0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity;->loadFrag(Landroidx/fragment/app/Fragment;Ljava/lang/String;Landroidx/fragment/app/FragmentManager;)V|0:|9:.line 332|96:invoke-static {p0}, Lcom/stalker1607/util/NetworkUtils;->isConnected(Landroid/content/Context;)Z|0:|14:move-result p1|0:|18:if-eqz p1, :cond_0|0:|9:.line 333|83:invoke-direct {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getAppConsent()V|0:|9:.line 336|7::cond_0|64:new-instance p1, Lcom/stalker1607/olaStalker1607/MainActivity$3;|0:|127:invoke-direct {p1, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$3;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|110:iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->reciver:Landroid/content/BroadcastReceiver;|0:|11:return-void|11:.end method|0:|56:.method public onCreateOptionsMenu(Landroid/view/Menu;)Z|9:.locals 3|0:|9:.line 611|112:invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getMenuInflater()Landroid/view/MenuInflater;|0:|21:move-result-object v0|0:|20:const v1, 0x7f0c0001|0:|9:.line 612|88:invoke-virtual {v0, v1, p1}, Landroid/view/MenuInflater;->inflate(ILandroid/view/Menu;)V|0:|20:const v0, 0x7f080140|0:|9:.line 613|82:invoke-interface {p1, v0}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;|0:|21:move-result-object v0|0:|20:const v1, 0x7f080051|0:|9:.line 615|82:invoke-interface {p1, v1}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;|0:|20:const v1, 0x7f080130|0:|9:.line 616|82:invoke-interface {p1, v1}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;|0:|21:move-result-object v1|0:|15:const/4 v2, 0x1|0:|9:.line 617|88:invoke-interface {v1, v2}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;|0:|15:const/4 v2, 0x0|0:|9:.line 620|88:invoke-interface {v0, v2}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;|0:|9:.line 621|82:invoke-interface {v0}, Landroid/view/MenuItem;->getActionView()Landroid/view/View;|0:|21:move-result-object v0|0:|53:check-cast v0, Landroidx/appcompat/widget/SearchView;|0:|9:.line 624|64:new-instance v0, Lcom/stalker1607/olaStalker1607/MainActivity$8;|0:|154:invoke-direct {v0, p0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity$8;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;Landroid/view/MenuItem;)V|0:|150:invoke-interface {v1, v0}, Landroid/view/MenuItem;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Landroid/view/MenuItem;|0:|9:.line 646|111:invoke-super {p0, p1}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onCreateOptionsMenu(Landroid/view/Menu;)Z|0:|14:move-result p1|0:|9:return p1|11:.end method|0:|51:.method public setToolbarTitle(Ljava/lang/String;)V|9:.locals 1|0:|9:.line 509|123:invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getSupportActionBar()Landroidx/appcompat/app/ActionBar;|0:|21:move-result-object v0|0:|18:if-eqz v0, :cond_0|0:|9:.line 510|123:invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getSupportActionBar()Landroidx/appcompat/app/ActionBar;|0:|21:move-result-object v0|0:|96:invoke-virtual {v0, p1}, Landroidx/appcompat/app/ActionBar;->setTitle(Ljava/lang/CharSequence;)V|0:|7::cond_0|11:return-void|11:.end method|
ScrollBars=3
}
Add(Memo,13905826,609,203)
{
Left=350
Top=70
Width=434
Height=576
Align=5
ScrollBars=3
}
Add(Label,14139912,266,105)
{
Width=784
Height=70
Align=2
Caption=""
AutoSize=1
}
Add(Button,10945532,266,224)
{
Left=25
Top=25
link(onClick,16408180:doSearch,[])
}
Add(BlockFind,16408180,336,224)
{
UserReplace=0
StartBlock="const/4 v0,"
EndBlock="invoke-virtual {v0}, Landroid/widget/Toast;->show()V"
Point(doReplaceStr)
link(onSearch,8772632:doReplace,[])
link(Text,12133342:Var2,[])
}
Add(Replace,8772632,385,224)
{
SubStr="invoke-virtual {v0}, Landroid/widget/Toast;->show()V"
link(onReplace,7235657:doEvent1,[])
}
Add(BlockFind,6409491,483,217)
{
Delete=0
StartBlock="const/4 v0,"
EndBlock="invoke-virtual {v0}, Landroid/widget/Toast;->show()V"
Point(doReplaceStr)
link(onEndSearch,2058916:doReplace,[])
link(Text,12133342:Var3,[(489,194)])
}
Add(GetDataEx,12133342,336,189)
{
link(Data,16059569:Text,[])
}
Add(Hub,7235657,441,224)
{
OutCount=3
link(onEvent1,6409491:doReplaceStr,[])
link(onEvent2,6409491:doSearch,[(466,237)(466,223)])
link(onEvent3,4372811:doNext,[(473,244)(473,293)])
}
Add(Replace,2058916,546,224)
{
SubStr="\r\n\r\n\r\n\r\n"
link(onReplace,13905826:doText,[])
}
Add(CounterEx,4372811,483,287)
{
link(onNext,10725619:doString,[])
}
Add(FormatStr,10725619,546,287)
{
Mask="Количество найденных блоков - %1"
link(onFString,1997212:doText,[])
}
Add(Label,1997212,609,287)
{
Left=500
Top=25
}

карма: 9

1
Голосовали:Udokanec
Ответов: 278
Рейтинг: 5
#53: 2022-07-17 11:00:15 ЛС | профиль | цитата
Согласен.Я чуть чуть изменил атрибуты поиска.Но выводится только один найденный блок-Последний.А мне надо два.
карма: 0

0
Ответов: 412
Рейтинг: 67
#54: 2022-07-17 11:20:46 ЛС | профиль | цитата
Udokanec писал(а):
Я чуть чуть изменил атрибуты поиска.Но выводится только один найденный блок-Последний.А мне надо два.

Я не знаю, что ты меняешь, но у меня всё находится.

Add(MainForm,5241032,266,154)
{
Width=1120
Height=685
}
Add(Memo,16059569,336,154)
{
Top=70
Width=350
Height=576
Align=1
Strings=#59:.class public Lcom/stalker1607/olaStalker1607/MainActivity;|52:.super Lcom/stalker1607/olaStalker1607/BaseActivity;|27:.source "MainActivity.java"|0:|0:|17:# instance fields|59:.field MyApp:Lcom/stalker1607/olaStalker1607/MyApplication;|0:|10:.field a:I|0:|36:.field doubleBackToExitPressedOnce:Z|0:|57:.field drawer:Landroidx/drawerlayout/widget/DrawerLayout;|0:|70:.field private fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|41:.field final handler:Landroid/os/Handler;|0:|50:.field mAdViewLayout:Landroid/widget/LinearLayout;|0:|40:.field private m_Text:Ljava/lang/String;|0:|44:.field manager:Landroid/app/DownloadManager;|0:|77:.field navigationView:Lcom/google/android/material/navigation/NavigationView;|0:|16:.field queueId:J|0:|50:.field reciver:Landroid/content/BroadcastReceiver;|0:|20:.field versionCode:I|0:|0:|16:# direct methods|36:.method public constructor <init>()V|9:.locals 2|0:|8:.line 90|76:invoke-direct {p0}, Lcom/stalker1607/olaStalker1607/BaseActivity;-><init>()V|0:|15:const/4 v0, 0x0|0:|8:.line 97|97:iput-boolean v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->doubleBackToExitPressedOnce:Z|0:|9:.line 172|37:new-instance v0, Landroid/os/Handler;|0:|73:invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;|0:|21:move-result-object v1|0:|74:invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V|0:|95:iput-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->handler:Landroid/os/Handler;|0:|11:return-void|11:.end method|0:|83:.method static synthetic access$000(Lcom/stalker1607/olaStalker1607/MainActivity;)V|9:.locals 0|0:|8:.line 90|84:invoke-direct {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getAppConstant()V|0:|11:return-void|11:.end method|0:|83:.method static synthetic access$100(Lcom/stalker1607/olaStalker1607/MainActivity;)V|9:.locals 0|0:|8:.line 90|83:invoke-direct {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getAppConsent()V|0:|11:return-void|11:.end method|0:|121:.method static synthetic access$200(Lcom/stalker1607/olaStalker1607/MainActivity;)Landroidx/fragment/app/FragmentManager;|9:.locals 0|0:|8:.line 90|122:iget-object p0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|16:return-object p0|11:.end method|0:|145:.method static synthetic access$300(Lcom/stalker1607/olaStalker1607/MainActivity;Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V|9:.locals 0|0:|8:.line 90|158:invoke-direct {p0, p1, p2, p3, p4}, Lcom/stalker1607/olaStalker1607/MainActivity;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V|0:|11:return-void|11:.end method|0:|101:.method static synthetic access$400(Lcom/stalker1607/olaStalker1607/MainActivity;Ljava/lang/String;)V|9:.locals 0|0:|8:.line 90|107:invoke-direct {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->newUpdateDialog(Ljava/lang/String;)V|0:|11:return-void|11:.end method|0:|32:.method private getAppConsent()V|9:.locals 5|0:|9:.line 372|57:new-instance v0, Lcom/loopj/android/http/AsyncHttpClient;|0:|71:invoke-direct {v0}, Lcom/loopj/android/http/AsyncHttpClient;-><init>()V|0:|9:.line 373|55:new-instance v1, Lcom/loopj/android/http/RequestParams;|0:|69:invoke-direct {v1}, Lcom/loopj/android/http/RequestParams;-><init>()V|0:|9:.line 374|39:new-instance v2, Lcom/google/gson/Gson;|0:|53:invoke-direct {v2}, Lcom/google/gson/Gson;-><init>()V|0:|43:new-instance v3, Lcom/stalker1607/util/API;|0:|57:invoke-direct {v3}, Lcom/stalker1607/util/API;-><init>()V|0:|108:invoke-virtual {v2, v3}, Lcom/google/gson/Gson;->toJsonTree(Ljava/lang/Object;)Lcom/google/gson/JsonElement;|0:|21:move-result-object v2|0:|43:check-cast v2, Lcom/google/gson/JsonObject;|0:|9:.line 375|42:new-instance v3, Ljava/lang/StringBuilder;|0:|56:invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V|0:|34:const-string v4, "get_app_details"|0:|103:invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|142:invoke-static {p0}, Lcom/github/javiersantos/piracychecker/utils/LibraryUtilsKt;->getApkSignature(Landroid/content/Context;)Ljava/lang/String;|0:|21:move-result-object v4|0:|103:invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|76:invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;|0:|21:move-result-object v3|0:|30:const-string v4, "method_name"|0:|109:invoke-virtual {v2, v4, v3}, Lcom/google/gson/JsonObject;->addProperty(Ljava/lang/String;Ljava/lang/String;)V|0:|9:.line 376|79:invoke-virtual {v2}, Lcom/google/gson/JsonObject;->toString()Ljava/lang/String;|0:|21:move-result-object v2|0:|94:invoke-static {v2}, Lcom/stalker1607/util/API;->toBase64(Ljava/lang/String;)Ljava/lang/String;|0:|21:move-result-object v2|0:|23:const-string v3, "data"|0:|111:invoke-virtual {v1, v3, v2}, Lcom/loopj/android/http/RequestParams;->put(Ljava/lang/String;Ljava/lang/String;)V|0:|9:.line 377|75:sget-object v2, Lcom/stalker1607/util/Constant;->API_URL:Ljava/lang/String;|0:|64:new-instance v3, Lcom/stalker1607/olaStalker1607/MainActivity$4;|0:|127:invoke-direct {v3, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$4;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|224:invoke-virtual {v0, v2, v1, v3}, Lcom/loopj/android/http/AsyncHttpClient;->post(Ljava/lang/String;Lcom/loopj/android/http/RequestParams;Lcom/loopj/android/http/ResponseHandlerInterface;)Lcom/loopj/android/http/RequestHandle;|0:|11:return-void|11:.end method|0:|33:.method private getAppConstant()V|9:.locals 5|0:|9:.line 650|57:new-instance v0, Lcom/loopj/android/http/AsyncHttpClient;|0:|71:invoke-direct {v0}, Lcom/loopj/android/http/AsyncHttpClient;-><init>()V|0:|9:.line 651|55:new-instance v1, Lcom/loopj/android/http/RequestParams;|0:|69:invoke-direct {v1}, Lcom/loopj/android/http/RequestParams;-><init>()V|0:|9:.line 652|39:new-instance v2, Lcom/google/gson/Gson;|0:|53:invoke-direct {v2}, Lcom/google/gson/Gson;-><init>()V|0:|43:new-instance v3, Lcom/stalker1607/util/API;|0:|57:invoke-direct {v3}, Lcom/stalker1607/util/API;-><init>()V|0:|108:invoke-virtual {v2, v3}, Lcom/google/gson/Gson;->toJsonTree(Ljava/lang/Object;)Lcom/google/gson/JsonElement;|0:|21:move-result-object v2|0:|43:check-cast v2, Lcom/google/gson/JsonObject;|0:|9:.line 653|42:new-instance v3, Ljava/lang/StringBuilder;|0:|56:invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V|0:|34:const-string v4, "get_app_details"|0:|103:invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|142:invoke-static {p0}, Lcom/github/javiersantos/piracychecker/utils/LibraryUtilsKt;->getApkSignature(Landroid/content/Context;)Ljava/lang/String;|0:|21:move-result-object v4|0:|103:invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|76:invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;|0:|21:move-result-object v3|0:|30:const-string v4, "method_name"|0:|109:invoke-virtual {v2, v4, v3}, Lcom/google/gson/JsonObject;->addProperty(Ljava/lang/String;Ljava/lang/String;)V|0:|9:.line 654|79:invoke-virtual {v2}, Lcom/google/gson/JsonObject;->toString()Ljava/lang/String;|0:|21:move-result-object v2|0:|94:invoke-static {v2}, Lcom/stalker1607/util/API;->toBase64(Ljava/lang/String;)Ljava/lang/String;|0:|21:move-result-object v2|0:|23:const-string v3, "data"|0:|111:invoke-virtual {v1, v3, v2}, Lcom/loopj/android/http/RequestParams;->put(Ljava/lang/String;Ljava/lang/String;)V|0:|9:.line 655|75:sget-object v2, Lcom/stalker1607/util/Constant;->API_URL:Ljava/lang/String;|0:|64:new-instance v3, Lcom/stalker1607/olaStalker1607/MainActivity$9;|0:|127:invoke-direct {v3, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$9;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|224:invoke-virtual {v0, v2, v1, v3}, Lcom/loopj/android/http/AsyncHttpClient;->post(Ljava/lang/String;Lcom/loopj/android/http/RequestParams;Lcom/loopj/android/http/ResponseHandlerInterface;)Lcom/loopj/android/http/RequestHandle;|0:|11:return-void|11:.end method|0:|52:.method private newUpdateDialog(Ljava/lang/String;)V|9:.locals 3|0:|9:.line 545|61:new-instance v0, Landroidx/appcompat/app/AlertDialog$Builder;|0:|104:invoke-direct {v0, p0}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V|0:|20:const v1, 0x7f1000ce|0:|9:.line 546|102:invoke-virtual {p0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;|0:|21:move-result-object v1|0:|149:invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;|0:|21:move-result-object v0|0:|15:const/4 v1, 0x0|0:|9:.line 547|131:invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setCancelable(Z)Landroidx/appcompat/app/AlertDialog$Builder;|0:|21:move-result-object v0|0:|20:const v1, 0x7f1000cd|0:|9:.line 548|102:invoke-virtual {p0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;|0:|21:move-result-object v1|0:|151:invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;|0:|21:move-result-object v0|0:|20:const v1, 0x7f1000ca|0:|9:.line 549|102:invoke-virtual {p0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;|0:|21:move-result-object v1|0:|64:new-instance v2, Lcom/stalker1607/olaStalker1607/MainActivity$6;|0:|149:invoke-direct {v2, p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity$6;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;Ljava/lang/String;)V|0:|211:invoke-virtual {v0, v1, v2}, Landroidx/appcompat/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;|0:|21:move-result-object p1|0:|20:const v0, 0x7f0d0001|0:|9:.line 563|125:invoke-virtual {p1, v0}, Landroidx/appcompat/app/AlertDialog$Builder;->setIcon(I)Landroidx/appcompat/app/AlertDialog$Builder;|0:|21:move-result-object p1|0:|9:.line 564|109:invoke-virtual {p1}, Landroidx/appcompat/app/AlertDialog$Builder;->show()Landroidx/appcompat/app/AlertDialog;|0:|11:return-void|11:.end method|0:|91:.method private showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V|9:.locals 1|0:|9:.line 579|61:new-instance v0, Landroidx/appcompat/app/AlertDialog$Builder;|0:|104:invoke-direct {v0, p1}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V|0:|9:.line 580|125:invoke-virtual {v0, p4}, Landroidx/appcompat/app/AlertDialog$Builder;->setIcon(I)Landroidx/appcompat/app/AlertDialog$Builder;|0:|9:.line 581|149:invoke-virtual {v0, p2}, Landroidx/appcompat/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;|0:|9:.line 582|151:invoke-virtual {v0, p3}, Landroidx/appcompat/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;|0:|15:const/4 p1, 0x1|0:|9:.line 584|131:invoke-virtual {v0, p1}, Landroidx/appcompat/app/AlertDialog$Builder;->setCancelable(Z)Landroidx/appcompat/app/AlertDialog$Builder;|0:|20:const p1, 0x7f10009d|0:|9:.line 587|102:invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;|0:|21:move-result-object p1|0:|64:new-instance p2, Lcom/stalker1607/olaStalker1607/MainActivity$7;|0:|127:invoke-direct {p2, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$7;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|9:.line 586|211:invoke-virtual {v0, p1, p2}, Landroidx/appcompat/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;|0:|9:.line 596|111:invoke-virtual {v0}, Landroidx/appcompat/app/AlertDialog$Builder;->create()Landroidx/appcompat/app/AlertDialog;|0:|21:move-result-object p1|0:|9:.line 597|46:sget p2, Landroid/os/Build$VERSION;->SDK_INT:I|0:|17:const/16 p3, 0x13|0:|21:if-lt p2, p3, :cond_0|0:|9:.line 598|91:invoke-virtual {p1}, Landroidx/appcompat/app/AlertDialog;->getWindow()Landroid/view/Window;|0:|21:move-result-object p2|0:|68:invoke-virtual {p2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;|0:|36:check-cast p2, Landroid/view/Window;|0:|100:invoke-virtual {p2}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;|0:|21:move-result-object p2|0:|20:const p3, 0x7f1100e0|0:|74:iput p3, p2, Landroid/view/WindowManager$LayoutParams;->windowAnimations:I|0:|9:.line 600|7::cond_0|66:invoke-virtual {p1}, Landroidx/appcompat/app/AlertDialog;->show()V|0:|11:return-void|11:.end method|0:|0:|17:# virtual methods|115:.method public loadFrag(Landroidx/fragment/app/Fragment;Ljava/lang/String;Landroidx/fragment/app/FragmentManager;)V|9:.locals 2|0:|15:const/4 v0, 0x0|0:|9:.line 498|7::goto_0|87:invoke-virtual {p3}, Landroidx/fragment/app/FragmentManager;->getBackStackEntryCount()I|0:|14:move-result v1|0:|21:if-ge v0, v1, :cond_0|0:|9:.line 499|77:invoke-virtual {p3}, Landroidx/fragment/app/FragmentManager;->popBackStack()V|0:|24:add-int/lit8 v0, v0, 0x1|0:|12:goto :goto_0|0:|9:.line 501|7::cond_0|123:invoke-virtual {p3}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;|0:|21:move-result-object p3|0:|20:const v0, 0x7f080006|0:|9:.line 503|181:invoke-virtual {p3, v0, p1, p2}, Landroidx/fragment/app/FragmentTransaction;->replace(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;|0:|9:.line 504|75:invoke-virtual {p3}, Landroidx/fragment/app/FragmentTransaction;->commit()I|0:|9:.line 505|108:invoke-virtual {p0, p2}, Lcom/stalker1607/olaStalker1607/MainActivity;->setToolbarTitle(Ljava/lang/String;)V|0:|11:return-void|11:.end method|0:|31:.method public onBackPressed()V|9:.locals 4|0:|9:.line 516|117:iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;|0:|18:const v1, 0x800003|0:|86:invoke-virtual {v0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->isDrawerOpen(I)Z|0:|14:move-result v0|0:|18:if-eqz v0, :cond_0|0:|9:.line 517|117:iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;|0:|85:invoke-virtual {v0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->closeDrawer(I)V|0:|12:goto :goto_0|0:|9:.line 518|7::cond_0|122:iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|87:invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->getBackStackEntryCount()I|0:|14:move-result v0|0:|15:const/4 v1, 0x1|0:|18:if-eqz v0, :cond_1|0:|9:.line 519|122:iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|92:invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->getFragments()Ljava/util/List;|0:|21:move-result-object v0|0:|122:iget-object v2, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|87:invoke-virtual {v2}, Landroidx/fragment/app/FragmentManager;->getBackStackEntryCount()I|0:|14:move-result v2|0:|20:sub-int/2addr v2, v1|0:|69:invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;|0:|21:move-result-object v0|0:|47:check-cast v0, Landroidx/fragment/app/Fragment;|0:|81:invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getTag()Ljava/lang/String;|0:|21:move-result-object v0|0:|9:.line 520|108:invoke-virtual {p0, v0}, Lcom/stalker1607/olaStalker1607/MainActivity;->setToolbarTitle(Ljava/lang/String;)V|0:|9:.line 522|82:invoke-super {p0}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onBackPressed()V|0:|12:goto :goto_0|0:|9:.line 524|7::cond_1|97:iget-boolean v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->doubleBackToExitPressedOnce:Z|0:|18:if-eqz v0, :cond_2|0:|9:.line 527|82:invoke-super {p0}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onBackPressed()V|0:|11:return-void|0:|9:.line 532|7::cond_2|97:iput-boolean v1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->doubleBackToExitPressedOnce:Z|0:|15:const/4 v0, 0x0|0:|50:const-string v1, "Please click BACK again to exit"|0:|9:.line 533|134:invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;|0:|21:move-result-object v0|0:|52:invoke-virtual {v0}, Landroid/widget/Toast;->show()V|0:|9:.line 535|37:new-instance v0, Landroid/os/Handler;|0:|51:invoke-direct {v0}, Landroid/os/Handler;-><init>()V|0:|64:new-instance v1, Lcom/stalker1607/olaStalker1607/MainActivity$5;|0:|127:invoke-direct {v1, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$5;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|23:const-wide/16 v2, 0x7d0|0:|90:invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z|0:|7::goto_0|11:return-void|11:.end method|0:|48:.method protected onCreate(Landroid/os/Bundle;)V|9:.locals 6|15:const/4 v0, 0x1|0:|26:const-string v1, "??????."|0:|134:invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;|0:|21:move-result-object v0|0:|52:invoke-virtual {v0}, Landroid/widget/Toast;->show()V|0:|0:|0:|9:.line 176|100:invoke-super {p0, p1}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onCreate(Landroid/os/Bundle;)V|0:|9:.line 177|70:new-instance p1, Lcom/github/javiersantos/piracychecker/PiracyChecker;|0:|113:invoke-direct {p1, p0}, Lcom/github/javiersantos/piracychecker/PiracyChecker;-><init>(Landroid/content/Context;)V|0:|133:sget-object v0, Lcom/github/javiersantos/piracychecker/enums/Display;->ACTIVITY:Lcom/github/javiersantos/piracychecker/enums/Display;|0:|195:invoke-virtual {p1, v0}, Lcom/github/javiersantos/piracychecker/PiracyChecker;->display(Lcom/github/javiersantos/piracychecker/enums/Display;)Lcom/github/javiersantos/piracychecker/PiracyChecker;|0:|21:move-result-object p1|0:|64:new-instance v0, Lcom/stalker1607/olaStalker1607/MainActivity$1;|0:|127:invoke-direct {v0, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$1;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|214:invoke-virtual {p1, v0}, Lcom/github/javiersantos/piracychecker/PiracyChecker;->callback(Lcom/github/javiersantos/piracychecker/callbacks/PiracyCheckerCallback;)Lcom/github/javiersantos/piracychecker/PiracyChecker;|0:|21:move-result-object p1|0:|9:.line 193|84:invoke-virtual {p1}, Lcom/github/javiersantos/piracychecker/PiracyChecker;->start()V|0:|9:.line 236|77:invoke-static {p0}, Lio/monedata/Monedata;->start(Landroid/content/Context;)V|0:|9:.line 237|84:sget-object p1, Lio/monedata/Monedata;->Consent:Lio/monedata/consent/ConsentManager;|0:|15:const/4 v0, 0x1|0:|99:invoke-virtual {p1, p0, v0}, Lio/monedata/consent/ConsentManager;->set(Landroid/content/Context;Z)V|0:|20:const p1, 0x7f0b0020|0:|9:.line 243|90:invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->setContentView(I)V|0:|9:.line 249|86:invoke-static {p0}, Lcom/stalker1607/util/IsRTL;->ifSupported(Landroid/app/Activity;)V|0:|20:const p1, 0x7f080194|0:|9:.line 250|106:invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->findViewById(I)Landroid/view/View;|0:|21:move-result-object p1|0:|18:move-object v3, p1|0:|50:check-cast v3, Landroidx/appcompat/widget/Toolbar;|0:|9:.line 252|129:invoke-virtual {p0, v3}, Lcom/stalker1607/olaStalker1607/MainActivity;->setSupportActionBar(Landroidx/appcompat/widget/Toolbar;)V|0:|20:const p1, 0x7f080050|0:|9:.line 256|106:invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->findViewById(I)Landroid/view/View;|0:|21:move-result-object p1|0:|44:check-cast p1, Landroid/widget/LinearLayout;|0:|110:iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->mAdViewLayout:Landroid/widget/LinearLayout;|0:|9:.line 257|134:invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;|0:|21:move-result-object p1|0:|122:iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|9:.line 258|125:invoke-static {}, Lcom/stalker1607/olaStalker1607/MyApplication;->getInstance()Lcom/stalker1607/olaStalker1607/MyApplication;|0:|21:move-result-object p1|0:|119:iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->MyApp:Lcom/stalker1607/olaStalker1607/MyApplication;|0:|20:const p1, 0x7f0800f5|0:|9:.line 259|106:invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->findViewById(I)Landroid/view/View;|0:|21:move-result-object p1|0:|70:check-cast p1, Lcom/google/android/material/navigation/NavigationView;|0:|137:iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->navigationView:Lcom/google/android/material/navigation/NavigationView;|0:|20:const p1, 0x7f080094|0:|9:.line 260|106:invoke-virtual {p0, p1}, Lcom/stalker1607/olaStalker1607/MainActivity;->findViewById(I)Landroid/view/View;|0:|21:move-result-object p1|0:|58:check-cast p1, Landroidx/drawerlayout/widget/DrawerLayout;|0:|117:iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;|0:|9:.line 262|137:iget-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->navigationView:Lcom/google/android/material/navigation/NavigationView;|0:|15:const/4 v0, 0x0|0:|140:invoke-virtual {p1, v0}, Lcom/google/android/material/navigation/NavigationView;->setItemIconTintList(Landroid/content/res/ColorStateList;)V|0:|9:.line 265|12::try_start_0|122:invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getPackageManager()Landroid/content/pm/PackageManager;|0:|21:move-result-object p1|0:|9:.line 266|102:invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getPackageName()Ljava/lang/String;|0:|21:move-result-object v0|0:|15:const/4 v1, 0x0|0:|133:invoke-virtual {p1, v0, v1}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;|0:|21:move-result-object p1|0:|60:iget p1, p1, Landroid/content/pm/PackageInfo;->versionCode:I|0:|73:iput p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->versionCode:I|10::try_end_0|102:.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0|0:|12:goto :goto_0|0:|8::catch_0|17:move-exception p1|0:|9:.line 269|98:invoke-virtual {p1}, Landroid/content/pm/PackageManager$NameNotFoundException;->printStackTrace()V|0:|9:.line 274|7::goto_0|137:iget-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->navigationView:Lcom/google/android/material/navigation/NavigationView;|0:|64:new-instance v0, Lcom/stalker1607/olaStalker1607/MainActivity$2;|0:|127:invoke-direct {v0, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$2;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|206:invoke-virtual {p1, v0}, Lcom/google/android/material/navigation/NavigationView;->setNavigationItemSelectedListener(Lcom/google/android/material/navigation/NavigationView$OnNavigationItemSelectedListener;)V|0:|9:.line 323|63:new-instance p1, Landroidx/appcompat/app/ActionBarDrawerToggle;|0:|117:iget-object v2, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;|0:|20:const v4, 0x7f100099|0:|20:const v5, 0x7f100098|0:|18:move-object v0, p1|0:|18:move-object v1, p0|0:|191:invoke-direct/range {v0 .. v5}, Landroidx/appcompat/app/ActionBarDrawerToggle;-><init>(Landroid/app/Activity;Landroidx/drawerlayout/widget/DrawerLayout;Landroidx/appcompat/widget/Toolbar;II)V|0:|9:.line 326|117:iget-object v0, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->drawer:Landroidx/drawerlayout/widget/DrawerLayout;|0:|148:invoke-virtual {v0, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->addDrawerListener(Landroidx/drawerlayout/widget/DrawerLayout$DrawerListener;)V|0:|9:.line 327|81:invoke-virtual {p1}, Landroidx/appcompat/app/ActionBarDrawerToggle;->syncState()V|0:|9:.line 329|60:new-instance p1, Lcom/stalker1607/fragment/CategoryFragment;|0:|74:invoke-direct {p1}, Lcom/stalker1607/fragment/CategoryFragment;-><init>()V|0:|20:const v0, 0x7f100071|0:|9:.line 330|102:invoke-virtual {p0, v0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getString(I)Ljava/lang/String;|0:|21:move-result-object v0|0:|122:iget-object v1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->fragmentManager:Landroidx/fragment/app/FragmentManager;|0:|180:invoke-virtual {p0, p1, v0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity;->loadFrag(Landroidx/fragment/app/Fragment;Ljava/lang/String;Landroidx/fragment/app/FragmentManager;)V|0:|9:.line 332|96:invoke-static {p0}, Lcom/stalker1607/util/NetworkUtils;->isConnected(Landroid/content/Context;)Z|0:|14:move-result p1|0:|18:if-eqz p1, :cond_0|0:|9:.line 333|83:invoke-direct {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getAppConsent()V|0:|9:.line 336|7::cond_0|64:new-instance p1, Lcom/stalker1607/olaStalker1607/MainActivity$3;|0:|127:invoke-direct {p1, p0}, Lcom/stalker1607/olaStalker1607/MainActivity$3;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;)V|0:|110:iput-object p1, p0, Lcom/stalker1607/olaStalker1607/MainActivity;->reciver:Landroid/content/BroadcastReceiver;|0:|11:return-void|11:.end method|0:|56:.method public onCreateOptionsMenu(Landroid/view/Menu;)Z|9:.locals 3|0:|9:.line 611|112:invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getMenuInflater()Landroid/view/MenuInflater;|0:|21:move-result-object v0|0:|20:const v1, 0x7f0c0001|0:|9:.line 612|88:invoke-virtual {v0, v1, p1}, Landroid/view/MenuInflater;->inflate(ILandroid/view/Menu;)V|0:|20:const v0, 0x7f080140|0:|9:.line 613|82:invoke-interface {p1, v0}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;|0:|21:move-result-object v0|0:|20:const v1, 0x7f080051|0:|9:.line 615|82:invoke-interface {p1, v1}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;|0:|20:const v1, 0x7f080130|0:|9:.line 616|82:invoke-interface {p1, v1}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;|0:|21:move-result-object v1|0:|15:const/4 v2, 0x1|0:|9:.line 617|88:invoke-interface {v1, v2}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;|0:|15:const/4 v2, 0x0|0:|9:.line 620|88:invoke-interface {v0, v2}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;|0:|9:.line 621|82:invoke-interface {v0}, Landroid/view/MenuItem;->getActionView()Landroid/view/View;|0:|21:move-result-object v0|0:|53:check-cast v0, Landroidx/appcompat/widget/SearchView;|0:|9:.line 624|64:new-instance v0, Lcom/stalker1607/olaStalker1607/MainActivity$8;|0:|154:invoke-direct {v0, p0, v1}, Lcom/stalker1607/olaStalker1607/MainActivity$8;-><init>(Lcom/stalker1607/olaStalker1607/MainActivity;Landroid/view/MenuItem;)V|0:|150:invoke-interface {v1, v0}, Landroid/view/MenuItem;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Landroid/view/MenuItem;|0:|9:.line 646|111:invoke-super {p0, p1}, Lcom/stalker1607/olaStalker1607/BaseActivity;->onCreateOptionsMenu(Landroid/view/Menu;)Z|0:|14:move-result p1|0:|9:return p1|11:.end method|0:|51:.method public setToolbarTitle(Ljava/lang/String;)V|9:.locals 1|0:|9:.line 509|123:invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getSupportActionBar()Landroidx/appcompat/app/ActionBar;|0:|21:move-result-object v0|0:|18:if-eqz v0, :cond_0|0:|9:.line 510|123:invoke-virtual {p0}, Lcom/stalker1607/olaStalker1607/MainActivity;->getSupportActionBar()Landroidx/appcompat/app/ActionBar;|0:|21:move-result-object v0|0:|96:invoke-virtual {v0, p1}, Landroidx/appcompat/app/ActionBar;->setTitle(Ljava/lang/CharSequence;)V|0:|7::cond_0|11:return-void|11:.end method|
ScrollBars=3
}
Add(Memo,13905826,651,210)
{
Left=700
Top=70
Width=404
Height=576
Align=5
ScrollBars=3
}
Add(Label,14139912,266,105)
{
Width=1104
Height=70
Align=2
Caption=""
AutoSize=1
}
Add(Button,10945532,266,224)
{
Left=25
Top=25
link(onClick,16408180:doSearch,[])
}
Add(BlockFind,16408180,336,224)
{
UserReplace=0
StartBlock="invoke-static {p0, v1, v0},"
EndBlock="invoke-virtual {v0}, Landroid/widget/Toast;->show()V"
Point(doReplaceStr)
link(onSearch,12407025:doEvent1,[])
link(Text,12133342:Var2,[])
}
Add(Replace,8772632,427,231)
{
SubStr="invoke-virtual {v0}, Landroid/widget/Toast;->show()V"
link(onReplace,7235657:doEvent1,[])
}
Add(BlockFind,6409491,525,224)
{
Delete=0
StartBlock="invoke-static {p0, v1, v0},"
EndBlock="invoke-virtual {v0}, Landroid/widget/Toast;->show()V"
Point(doReplaceStr)
link(onEndSearch,2058916:doReplace,[])
link(Text,12133342:Var3,[(531,194)])
}
Add(GetDataEx,12133342,336,189)
{
link(Data,16059569:Text,[])
}
Add(Hub,7235657,483,231)
{
OutCount=3
link(onEvent1,6409491:doReplaceStr,[])
link(onEvent2,6409491:doSearch,[(508,244)(508,230)])
link(onEvent3,4372811:doNext,[(515,251)(515,300)])
}
Add(Replace,2058916,588,231)
{
SubStr="\r\n\r\n\r\n\r\n"
link(onReplace,13905826:doText,[])
}
Add(CounterEx,4372811,525,294)
{
link(onNext,10725619:doString,[])
}
Add(FormatStr,10725619,588,294)
{
Mask="Количество найденных блоков - %1"
link(onFString,1997212:doText,[])
}
Add(Label,1997212,651,294)
{
Left=480
Top=30
}
Add(Hub,12407025,385,224)
{
link(onEvent1,4715552:doAdd,[(410,230)(410,167)])
link(onEvent2,8772632:doReplace,[])
}
Add(Memo,4715552,434,161)
{
Top=70
Width=350
Height=576
Align=1
ScrollBars=3
}
Add(Label,14441004,336,105)
{
Left=705
Top=30
Width=390
Caption="Удалены строки - invoke-virtual {v0}, Landroid/widget/Toast;->show()V"
}

карма: 9

1
Голосовали:Udokanec
Ответов: 278
Рейтинг: 5
#55: 2022-07-17 15:36:34 ЛС | профиль | цитата
Все вроде норм но удалять invoke-virtual {v0}, Landroid/widget/Toast;->show()V нужно в одном блоке из двух на выбор
карма: 0

0
55
Сообщение
...
Прикрепленные файлы
(файлы не залиты)