-
Notifications
You must be signed in to change notification settings - Fork 0
/
UsbHelper_GO.il
5787 lines (5408 loc) · 349 KB
/
UsbHelper_GO.il
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Microsoft (R) .NET Framework IL Disassembler. Version 4.6.1055.0
// (c) Microsoft Corporation. Reservados todos los derechos.
// Metadata version: v4.0.30319
.assembly extern Mono.Android
{
.publickeytoken = (84 E0 4F F9 CF B7 90 65 ) // ..O....e
.ver 0:0:0:0
}
.assembly extern mscorlib
{
.publickeytoken = (7C EC 85 D7 BE A7 79 8E ) // |.....y.
.ver 2:0:5:0
}
.assembly extern NusHelper
{
.ver 1:0:0:0
}
.assembly extern System
{
.publickeytoken = (7C EC 85 D7 BE A7 79 8E ) // |.....y.
.ver 2:0:5:0
}
.assembly extern System.Core
{
.publickeytoken = (7C EC 85 D7 BE A7 79 8E ) // |.....y.
.ver 2:0:5:0
}
.assembly UsbHelper_GO
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.ExtensionAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 )
.custom instance void [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
// --- The following custom attribute is added automatically, do not uncomment -------
// .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 02 00 00 00 00 00 )
.custom instance void [Mono.Android]Android.Runtime.ResourceDesignerAttribute::.ctor(string) = ( 01 00 15 55 73 62 48 65 6C 70 65 72 5F 47 4F 2E // ...UsbHelper_GO.
52 65 73 6F 75 72 63 65 01 00 54 02 0D 49 73 41 // Resource..T..IsA
70 70 6C 69 63 61 74 69 6F 6E 01 ) // pplication.
.custom instance void [mscorlib]System.Reflection.AssemblyTitleAttribute::.ctor(string) = ( 01 00 0C 55 73 62 48 65 6C 70 65 72 5F 47 4F 00 // ...UsbHelper_GO.
00 )
.custom instance void [mscorlib]System.Reflection.AssemblyDescriptionAttribute::.ctor(string) = ( 01 00 00 00 00 )
.custom instance void [mscorlib]System.Reflection.AssemblyConfigurationAttribute::.ctor(string) = ( 01 00 00 00 00 )
.custom instance void [mscorlib]System.Reflection.AssemblyCompanyAttribute::.ctor(string) = ( 01 00 00 00 00 )
.custom instance void [mscorlib]System.Reflection.AssemblyProductAttribute::.ctor(string) = ( 01 00 0C 55 73 62 48 65 6C 70 65 72 5F 47 4F 00 // ...UsbHelper_GO.
00 )
.custom instance void [mscorlib]System.Reflection.AssemblyCopyrightAttribute::.ctor(string) = ( 01 00 12 43 6F 70 79 72 69 67 68 74 20 C2 A9 20 // ...Copyright ..
20 32 30 31 36 00 00 ) // 2016..
.custom instance void [mscorlib]System.Reflection.AssemblyTrademarkAttribute::.ctor(string) = ( 01 00 00 00 00 )
.custom instance void [mscorlib]System.Runtime.InteropServices.ComVisibleAttribute::.ctor(bool) = ( 01 00 00 00 00 )
.custom instance void [mscorlib]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = ( 01 00 07 31 2E 30 2E 30 2E 30 00 00 ) // ...1.0.0.0..
.custom instance void [mscorlib]System.Runtime.Versioning.TargetFrameworkAttribute::.ctor(string) = ( 01 00 18 4D 6F 6E 6F 41 6E 64 72 6F 69 64 2C 56 // ...MonoAndroid,V
65 72 73 69 6F 6E 3D 76 37 2E 31 01 00 54 0E 14 // ersion=v7.1..T..
46 72 61 6D 65 77 6F 72 6B 44 69 73 70 6C 61 79 // FrameworkDisplay
4E 61 6D 65 1C 58 61 6D 61 72 69 6E 2E 41 6E 64 // Name.Xamarin.And
72 6F 69 64 20 76 37 2E 31 20 53 75 70 70 6F 72 // roid v7.1 Suppor
74 ) // t
.hash algorithm 0x00008004
.ver 1:0:0:0
}
.module UsbHelper_GO.dll
// MVID: {954316D4-2692-4BB6-83CD-E373D19D45F4}
.imagebase 0x10000000
.file alignment 0x00000200
.stackreserve 0x00100000
.subsystem 0x0003 // WINDOWS_CUI
.corflags 0x00000001 // ILONLY
// Image base: 0x05200000
// =============== CLASS MEMBERS DECLARATION ===================
.class public auto ansi beforefieldinit UsbHelper_GO.AskStorageLocationActivity
extends [Mono.Android]Android.App.Activity
{
.custom instance void [Mono.Android]Android.App.ActivityAttribute::.ctor() = ( 01 00 02 00 54 0E 05 4C 61 62 65 6C 12 41 73 6B // ....T..Label.Ask
53 74 6F 72 61 67 65 4C 6F 63 61 74 69 6F 6E 54 // StorageLocationT
02 09 4E 6F 48 69 73 74 6F 72 79 01 ) // ..NoHistory.
.class auto ansi sealed nested private beforefieldinit '<>c__DisplayClass4_0'
extends [mscorlib]System.Object
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.field public class UsbHelper_GO.AskStorageLocationActivity '<>4__this'
.field public class [Mono.Android]Java.IO.File[] folders
.method public hidebysig specialname rtspecialname
instance void .ctor() cil managed
{
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [mscorlib]System.Object::.ctor()
IL_0006: ret
} // end of method '<>c__DisplayClass4_0'::.ctor
.method assembly hidebysig instance void
'<OSLocationChosen>b__2'(object s,
class [Mono.Android]Android.Content.DialogClickEventArgs e) cil managed
{
// Code size 30 (0x1e)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldfld class UsbHelper_GO.AskStorageLocationActivity UsbHelper_GO.AskStorageLocationActivity/'<>c__DisplayClass4_0'::'<>4__this'
IL_0006: ldarg.0
IL_0007: ldfld class [Mono.Android]Java.IO.File[] UsbHelper_GO.AskStorageLocationActivity/'<>c__DisplayClass4_0'::folders
IL_000c: ldarg.2
IL_000d: callvirt instance int32 [Mono.Android]Android.Content.DialogClickEventArgs::get_Which()
IL_0012: ldelem.ref
IL_0013: callvirt instance string [Mono.Android]Java.IO.File::get_AbsolutePath()
IL_0018: call instance void UsbHelper_GO.AskStorageLocationActivity::SelectFolder(string)
IL_001d: ret
} // end of method '<>c__DisplayClass4_0'::'<OSLocationChosen>b__2'
} // end of class '<>c__DisplayClass4_0'
.class auto ansi serializable sealed nested private beforefieldinit '<>c'
extends [mscorlib]System.Object
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.field public static initonly class UsbHelper_GO.AskStorageLocationActivity/'<>c' '<>9'
.field public static class [mscorlib]System.Func`2<class [Mono.Android]Java.IO.File,bool> '<>9__4_0'
.field public static class [mscorlib]System.Func`2<class [Mono.Android]Java.IO.File,string> '<>9__4_1'
.method private hidebysig specialname rtspecialname static
void .cctor() cil managed
{
// Code size 11 (0xb)
.maxstack 8
IL_0000: newobj instance void UsbHelper_GO.AskStorageLocationActivity/'<>c'::.ctor()
IL_0005: stsfld class UsbHelper_GO.AskStorageLocationActivity/'<>c' UsbHelper_GO.AskStorageLocationActivity/'<>c'::'<>9'
IL_000a: ret
} // end of method '<>c'::.cctor
.method public hidebysig specialname rtspecialname
instance void .ctor() cil managed
{
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [mscorlib]System.Object::.ctor()
IL_0006: ret
} // end of method '<>c'::.ctor
.method assembly hidebysig instance bool
'<OSLocationChosen>b__4_0'(class [Mono.Android]Java.IO.File x) cil managed
{
// Code size 5 (0x5)
.maxstack 8
IL_0000: ldarg.1
IL_0001: ldnull
IL_0002: cgt.un
IL_0004: ret
} // end of method '<>c'::'<OSLocationChosen>b__4_0'
.method assembly hidebysig instance string
'<OSLocationChosen>b__4_1'(class [Mono.Android]Java.IO.File x) cil managed
{
// Code size 33 (0x21)
.maxstack 8
IL_0000: ldstr "{0} ({1} available)"
IL_0005: ldarg.1
IL_0006: callvirt instance string [Mono.Android]Java.IO.File::get_AbsolutePath()
IL_000b: ldarg.1
IL_000c: callvirt instance int64 [Mono.Android]Java.IO.File::get_UsableSpace()
IL_0011: newobj instance void [NusHelper]NusHelper.DataSize::.ctor(uint64)
IL_0016: box [NusHelper]NusHelper.DataSize
IL_001b: call string [mscorlib]System.String::Format(string,
object,
object)
IL_0020: ret
} // end of method '<>c'::'<OSLocationChosen>b__4_1'
} // end of class '<>c'
.field private class UsbHelper_GO.FileListFragment fragment
.method public hidebysig virtual instance void
OnBackPressed() cil managed
{
// Code size 17 (0x11)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldfld class UsbHelper_GO.FileListFragment UsbHelper_GO.AskStorageLocationActivity::fragment
IL_0006: dup
IL_0007: brtrue.s IL_000b
IL_0009: pop
IL_000a: ret
IL_000b: call instance void UsbHelper_GO.FileListFragment::OnBackButtonPressed()
IL_0010: ret
} // end of method AskStorageLocationActivity::OnBackPressed
.method family hidebysig virtual instance void
OnCreate(class [Mono.Android]Android.OS.Bundle savedInstanceState) cil managed
{
// Code size 123 (0x7b)
.maxstack 5
IL_0000: ldarg.0
IL_0001: ldarg.1
IL_0002: call instance void [Mono.Android]Android.App.Activity::OnCreate(class [Mono.Android]Android.OS.Bundle)
IL_0007: ldarg.0
IL_0008: ldc.i4.1
IL_0009: call instance bool [Mono.Android]Android.App.Activity::RequestWindowFeature(valuetype [Mono.Android]Android.Views.WindowFeatures)
IL_000e: pop
IL_000f: ldarg.0
IL_0010: ldc.i4 0x7f030001
IL_0015: callvirt instance void [Mono.Android]Android.App.Activity::SetContentView(int32)
IL_001a: ldarg.0
IL_001b: newobj instance void [Mono.Android]Android.App.AlertDialog/Builder::.ctor(class [Mono.Android]Android.Content.Context)
IL_0020: dup
IL_0021: ldstr "How to store games"
IL_0026: callvirt instance class [Mono.Android]Android.App.AlertDialog/Builder [Mono.Android]Android.App.AlertDialog/Builder::SetTitle(string)
IL_002b: pop
IL_002c: dup
IL_002d: ldstr "Please chose where the application should store th"
+ "e games. Using a custom location will allow you to specify a path manua"
+ "lly but you will not be able to delete the data from the settings menu."
+ " Make also sure you have write permissions."
IL_0032: callvirt instance class [Mono.Android]Android.App.AlertDialog/Builder [Mono.Android]Android.App.AlertDialog/Builder::SetMessage(string)
IL_0037: pop
IL_0038: dup
IL_0039: ldstr "Recommended location"
IL_003e: ldarg.0
IL_003f: ldftn instance void UsbHelper_GO.AskStorageLocationActivity::'<OnCreate>b__1_0'(object,
class [Mono.Android]Android.Content.DialogClickEventArgs)
IL_0045: newobj instance void class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Content.DialogClickEventArgs>::.ctor(object,
native int)
IL_004a: callvirt instance class [Mono.Android]Android.App.AlertDialog/Builder [Mono.Android]Android.App.AlertDialog/Builder::SetNegativeButton(string,
class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Content.DialogClickEventArgs>)
IL_004f: pop
IL_0050: dup
IL_0051: ldstr "Custom location"
IL_0056: ldarg.0
IL_0057: ldftn instance void UsbHelper_GO.AskStorageLocationActivity::'<OnCreate>b__1_1'(object,
class [Mono.Android]Android.Content.DialogClickEventArgs)
IL_005d: newobj instance void class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Content.DialogClickEventArgs>::.ctor(object,
native int)
IL_0062: callvirt instance class [Mono.Android]Android.App.AlertDialog/Builder [Mono.Android]Android.App.AlertDialog/Builder::SetPositiveButton(string,
class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Content.DialogClickEventArgs>)
IL_0067: pop
IL_0068: dup
IL_0069: ldc.i4.0
IL_006a: callvirt instance class [Mono.Android]Android.App.AlertDialog/Builder [Mono.Android]Android.App.AlertDialog/Builder::SetCancelable(bool)
IL_006f: pop
IL_0070: callvirt instance class [Mono.Android]Android.App.AlertDialog [Mono.Android]Android.App.AlertDialog/Builder::Create()
IL_0075: callvirt instance void [Mono.Android]Android.App.Dialog::Show()
IL_007a: ret
} // end of method AskStorageLocationActivity::OnCreate
.method private hidebysig instance void
CustomLocationChosen() cil managed
{
// Code size 68 (0x44)
.maxstack 3
IL_0000: ldarg.0
IL_0001: newobj instance void UsbHelper_GO.FileListFragment::.ctor()
IL_0006: stfld class UsbHelper_GO.FileListFragment UsbHelper_GO.AskStorageLocationActivity::fragment
IL_000b: ldarg.0
IL_000c: ldfld class UsbHelper_GO.FileListFragment UsbHelper_GO.AskStorageLocationActivity::fragment
IL_0011: ldarg.0
IL_0012: ldftn instance void UsbHelper_GO.AskStorageLocationActivity::'<CustomLocationChosen>b__3_0'(object,
string)
IL_0018: newobj instance void class [mscorlib]System.EventHandler`1<string>::.ctor(object,
native int)
IL_001d: callvirt instance void UsbHelper_GO.FileListFragment::add_FolderSelected(class [mscorlib]System.EventHandler`1<string>)
IL_0022: ldarg.0
IL_0023: callvirt instance class [Mono.Android]Android.App.FragmentManager [Mono.Android]Android.App.Activity::get_FragmentManager()
IL_0028: callvirt instance class [Mono.Android]Android.App.FragmentTransaction [Mono.Android]Android.App.FragmentManager::BeginTransaction()
IL_002d: ldc.i4 0x7f060006
IL_0032: ldarg.0
IL_0033: ldfld class UsbHelper_GO.FileListFragment UsbHelper_GO.AskStorageLocationActivity::fragment
IL_0038: callvirt instance class [Mono.Android]Android.App.FragmentTransaction [Mono.Android]Android.App.FragmentTransaction::Add(int32,
class [Mono.Android]Android.App.Fragment)
IL_003d: callvirt instance int32 [Mono.Android]Android.App.FragmentTransaction::Commit()
IL_0042: pop
IL_0043: ret
} // end of method AskStorageLocationActivity::CustomLocationChosen
.method private hidebysig instance void
OSLocationChosen() cil managed
{
// Code size 216 (0xd8)
.maxstack 6
.locals init (class UsbHelper_GO.AskStorageLocationActivity/'<>c__DisplayClass4_0' V_0)
IL_0000: newobj instance void UsbHelper_GO.AskStorageLocationActivity/'<>c__DisplayClass4_0'::.ctor()
IL_0005: stloc.0
IL_0006: ldloc.0
IL_0007: ldarg.0
IL_0008: stfld class UsbHelper_GO.AskStorageLocationActivity UsbHelper_GO.AskStorageLocationActivity/'<>c__DisplayClass4_0'::'<>4__this'
IL_000d: ldarg.0
IL_000e: newobj instance void [Mono.Android]Android.App.AlertDialog/Builder::.ctor(class [Mono.Android]Android.Content.Context)
IL_0013: pop
IL_0014: ldloc.0
IL_0015: call valuetype [Mono.Android]Android.OS.BuildVersionCodes [Mono.Android]Android.OS.Build/VERSION::get_SdkInt()
IL_001a: ldc.i4.s 19
IL_001c: bge.s IL_0030
IL_001e: ldc.i4.1
IL_001f: newarr [Mono.Android]Java.IO.File
IL_0024: dup
IL_0025: ldc.i4.0
IL_0026: ldarg.0
IL_0027: ldnull
IL_0028: callvirt instance class [Mono.Android]Java.IO.File [Mono.Android]Android.Content.Context::GetExternalFilesDir(string)
IL_002d: stelem.ref
IL_002e: br.s IL_0037
IL_0030: ldarg.0
IL_0031: ldnull
IL_0032: callvirt instance class [Mono.Android]Java.IO.File[] [Mono.Android]Android.Content.Context::GetExternalFilesDirs(string)
IL_0037: stfld class [Mono.Android]Java.IO.File[] UsbHelper_GO.AskStorageLocationActivity/'<>c__DisplayClass4_0'::folders
IL_003c: ldloc.0
IL_003d: ldloc.0
IL_003e: ldfld class [Mono.Android]Java.IO.File[] UsbHelper_GO.AskStorageLocationActivity/'<>c__DisplayClass4_0'::folders
IL_0043: ldsfld class [mscorlib]System.Func`2<class [Mono.Android]Java.IO.File,bool> UsbHelper_GO.AskStorageLocationActivity/'<>c'::'<>9__4_0'
IL_0048: dup
IL_0049: brtrue.s IL_0062
IL_004b: pop
IL_004c: ldsfld class UsbHelper_GO.AskStorageLocationActivity/'<>c' UsbHelper_GO.AskStorageLocationActivity/'<>c'::'<>9'
IL_0051: ldftn instance bool UsbHelper_GO.AskStorageLocationActivity/'<>c'::'<OSLocationChosen>b__4_0'(class [Mono.Android]Java.IO.File)
IL_0057: newobj instance void class [mscorlib]System.Func`2<class [Mono.Android]Java.IO.File,bool>::.ctor(object,
native int)
IL_005c: dup
IL_005d: stsfld class [mscorlib]System.Func`2<class [Mono.Android]Java.IO.File,bool> UsbHelper_GO.AskStorageLocationActivity/'<>c'::'<>9__4_0'
IL_0062: call class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0> [System.Core]System.Linq.Enumerable::Where<class [Mono.Android]Java.IO.File>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>,
class [mscorlib]System.Func`2<!!0,bool>)
IL_0067: call !!0[] [System.Core]System.Linq.Enumerable::ToArray<class [Mono.Android]Java.IO.File>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)
IL_006c: stfld class [Mono.Android]Java.IO.File[] UsbHelper_GO.AskStorageLocationActivity/'<>c__DisplayClass4_0'::folders
IL_0071: ldarg.0
IL_0072: newobj instance void [Mono.Android]Android.App.AlertDialog/Builder::.ctor(class [Mono.Android]Android.Content.Context)
IL_0077: dup
IL_0078: ldstr "Please chose which external storage device to use."
IL_007d: callvirt instance class [Mono.Android]Android.App.AlertDialog/Builder [Mono.Android]Android.App.AlertDialog/Builder::SetTitle(string)
IL_0082: pop
IL_0083: dup
IL_0084: ldloc.0
IL_0085: ldfld class [Mono.Android]Java.IO.File[] UsbHelper_GO.AskStorageLocationActivity/'<>c__DisplayClass4_0'::folders
IL_008a: ldsfld class [mscorlib]System.Func`2<class [Mono.Android]Java.IO.File,string> UsbHelper_GO.AskStorageLocationActivity/'<>c'::'<>9__4_1'
IL_008f: dup
IL_0090: brtrue.s IL_00a9
IL_0092: pop
IL_0093: ldsfld class UsbHelper_GO.AskStorageLocationActivity/'<>c' UsbHelper_GO.AskStorageLocationActivity/'<>c'::'<>9'
IL_0098: ldftn instance string UsbHelper_GO.AskStorageLocationActivity/'<>c'::'<OSLocationChosen>b__4_1'(class [Mono.Android]Java.IO.File)
IL_009e: newobj instance void class [mscorlib]System.Func`2<class [Mono.Android]Java.IO.File,string>::.ctor(object,
native int)
IL_00a3: dup
IL_00a4: stsfld class [mscorlib]System.Func`2<class [Mono.Android]Java.IO.File,string> UsbHelper_GO.AskStorageLocationActivity/'<>c'::'<>9__4_1'
IL_00a9: call class [mscorlib]System.Collections.Generic.IEnumerable`1<!!1> [System.Core]System.Linq.Enumerable::Select<class [Mono.Android]Java.IO.File,string>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>,
class [mscorlib]System.Func`2<!!0,!!1>)
IL_00ae: call !!0[] [System.Core]System.Linq.Enumerable::ToArray<string>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)
IL_00b3: ldloc.0
IL_00b4: ldftn instance void UsbHelper_GO.AskStorageLocationActivity/'<>c__DisplayClass4_0'::'<OSLocationChosen>b__2'(object,
class [Mono.Android]Android.Content.DialogClickEventArgs)
IL_00ba: newobj instance void class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Content.DialogClickEventArgs>::.ctor(object,
native int)
IL_00bf: callvirt instance class [Mono.Android]Android.App.AlertDialog/Builder [Mono.Android]Android.App.AlertDialog/Builder::SetItems(string[],
class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Content.DialogClickEventArgs>)
IL_00c4: pop
IL_00c5: dup
IL_00c6: ldc.i4.0
IL_00c7: callvirt instance class [Mono.Android]Android.App.AlertDialog/Builder [Mono.Android]Android.App.AlertDialog/Builder::SetCancelable(bool)
IL_00cc: pop
IL_00cd: callvirt instance class [Mono.Android]Android.App.AlertDialog [Mono.Android]Android.App.AlertDialog/Builder::Create()
IL_00d2: callvirt instance void [Mono.Android]Android.App.Dialog::Show()
IL_00d7: ret
} // end of method AskStorageLocationActivity::OSLocationChosen
.method private hidebysig instance void
SelectFolder(string path) cil managed
{
// Code size 53 (0x35)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldstr "UsbHelperGo"
IL_0006: ldc.i4.0
IL_0007: callvirt instance class [Mono.Android]Android.Content.ISharedPreferences [Mono.Android]Android.Content.Context::GetSharedPreferences(string,
valuetype [Mono.Android]Android.Content.FileCreationMode)
IL_000c: callvirt instance class [Mono.Android]Android.Content.ISharedPreferencesEditor [Mono.Android]Android.Content.ISharedPreferences::Edit()
IL_0011: dup
IL_0012: ldstr "storagePath"
IL_0017: ldarg.1
IL_0018: callvirt instance class [Mono.Android]Android.Content.ISharedPreferencesEditor [Mono.Android]Android.Content.ISharedPreferencesEditor::PutString(string,
string)
IL_001d: pop
IL_001e: callvirt instance bool [Mono.Android]Android.Content.ISharedPreferencesEditor::Commit()
IL_0023: pop
IL_0024: ldarg.0
IL_0025: ldtoken UsbHelper_GO.SplashActivity
IL_002a: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
IL_002f: call instance void [Mono.Android]Android.Content.Context::StartActivity(class [mscorlib]System.Type)
IL_0034: ret
} // end of method AskStorageLocationActivity::SelectFolder
.method public hidebysig specialname rtspecialname
instance void .ctor() cil managed
{
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [Mono.Android]Android.App.Activity::.ctor()
IL_0006: ret
} // end of method AskStorageLocationActivity::.ctor
.method private hidebysig instance void
'<OnCreate>b__1_0'(object s,
class [Mono.Android]Android.Content.DialogClickEventArgs e) cil managed
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void UsbHelper_GO.AskStorageLocationActivity::OSLocationChosen()
IL_0006: ret
} // end of method AskStorageLocationActivity::'<OnCreate>b__1_0'
.method private hidebysig instance void
'<OnCreate>b__1_1'(object s,
class [Mono.Android]Android.Content.DialogClickEventArgs e) cil managed
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void UsbHelper_GO.AskStorageLocationActivity::CustomLocationChosen()
IL_0006: ret
} // end of method AskStorageLocationActivity::'<OnCreate>b__1_1'
.method private hidebysig instance void
'<CustomLocationChosen>b__3_0'(object s,
string e) cil managed
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
// Code size 8 (0x8)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldarg.2
IL_0002: call instance void UsbHelper_GO.AskStorageLocationActivity::SelectFolder(string)
IL_0007: ret
} // end of method AskStorageLocationActivity::'<CustomLocationChosen>b__3_0'
} // end of class UsbHelper_GO.AskStorageLocationActivity
.class public auto ansi beforefieldinit UsbHelper_GO.AskTicketActivity
extends [Mono.Android]Android.App.Activity
{
.custom instance void [Mono.Android]Android.App.ActivityAttribute::.ctor() = ( 01 00 02 00 54 0E 05 4C 61 62 65 6C 11 41 73 6B // ....T..Label.Ask
54 69 63 6B 65 74 41 63 74 69 76 69 74 79 54 02 // TicketActivityT.
09 4E 6F 48 69 73 74 6F 72 79 01 ) // .NoHistory.
.class auto ansi sealed nested private beforefieldinit '<>c__DisplayClass0_0'
extends [mscorlib]System.Object
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.field public class [Mono.Android]Android.Widget.EditText txtUrl
.field public class UsbHelper_GO.AskTicketActivity '<>4__this'
.field public class [Mono.Android]Android.Content.ISharedPreferences contextPref
.field public class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Content.DialogClickEventArgs> '<>9__1'
.method public hidebysig specialname rtspecialname
instance void .ctor() cil managed
{
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [mscorlib]System.Object::.ctor()
IL_0006: ret
} // end of method '<>c__DisplayClass0_0'::.ctor
.method assembly hidebysig instance void
'<OnCreate>b__0'(object s,
class [Mono.Android]Android.Text.TextChangedEventArgs e) cil managed
{
// Code size 144 (0x90)
.maxstack 6
.locals init (class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Content.DialogClickEventArgs> V_0)
IL_0000: ldarg.0
IL_0001: ldfld class [Mono.Android]Android.Widget.EditText UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::txtUrl
IL_0006: callvirt instance string [Mono.Android]Android.Widget.TextView::get_Text()
IL_000b: ldstr "wiiu.titlekeys.com"
IL_0010: callvirt instance bool [mscorlib]System.String::Contains(string)
IL_0015: brtrue.s IL_002f
IL_0017: ldarg.0
IL_0018: ldfld class [Mono.Android]Android.Widget.EditText UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::txtUrl
IL_001d: callvirt instance string [Mono.Android]Android.Widget.TextView::get_Text()
IL_0022: ldstr "wiiu.titlekeys.gq"
IL_0027: callvirt instance bool [mscorlib]System.String::Contains(string)
IL_002c: brtrue.s IL_002f
IL_002e: ret
IL_002f: ldarg.0
IL_0030: ldfld class UsbHelper_GO.AskTicketActivity UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::'<>4__this'
IL_0035: newobj instance void [Mono.Android]Android.App.AlertDialog/Builder::.ctor(class [Mono.Android]Android.Content.Context)
IL_003a: dup
IL_003b: ldstr "Important notice"
IL_0040: callvirt instance class [Mono.Android]Android.App.AlertDialog/Builder [Mono.Android]Android.App.AlertDialog/Builder::SetTitle(string)
IL_0045: pop
IL_0046: dup
IL_0047: ldc.i4.0
IL_0048: callvirt instance class [Mono.Android]Android.App.AlertDialog/Builder [Mono.Android]Android.App.AlertDialog/Builder::SetCancelable(bool)
IL_004d: pop
IL_004e: dup
IL_004f: ldstr "This software is brought to you, free of charge, b"
+ "y Hikari06 (aka Kazegaya). If you have paid any amount of money (except"
+ " donations of course) to obtain it you have been SCAMMED. Please demand"
+ " a refund immediately and report the seller. The only offical places to"
+ " download this software are the post on gbatemp.net as well as the offi"
+ "cial site wiiuusbhelper.com."
IL_0054: callvirt instance class [Mono.Android]Android.App.AlertDialog/Builder [Mono.Android]Android.App.AlertDialog/Builder::SetMessage(string)
IL_0059: pop
IL_005a: dup
IL_005b: ldstr "Got it"
IL_0060: ldarg.0
IL_0061: ldfld class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Content.DialogClickEventArgs> UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::'<>9__1'
IL_0066: dup
IL_0067: brtrue.s IL_007f
IL_0069: pop
IL_006a: ldarg.0
IL_006b: ldarg.0
IL_006c: ldftn instance void UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::'<OnCreate>b__1'(object,
class [Mono.Android]Android.Content.DialogClickEventArgs)
IL_0072: newobj instance void class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Content.DialogClickEventArgs>::.ctor(object,
native int)
IL_0077: dup
IL_0078: stloc.0
IL_0079: stfld class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Content.DialogClickEventArgs> UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::'<>9__1'
IL_007e: ldloc.0
IL_007f: callvirt instance class [Mono.Android]Android.App.AlertDialog/Builder [Mono.Android]Android.App.AlertDialog/Builder::SetPositiveButton(string,
class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Content.DialogClickEventArgs>)
IL_0084: pop
IL_0085: callvirt instance class [Mono.Android]Android.App.AlertDialog [Mono.Android]Android.App.AlertDialog/Builder::Create()
IL_008a: callvirt instance void [Mono.Android]Android.App.Dialog::Show()
IL_008f: ret
} // end of method '<>c__DisplayClass0_0'::'<OnCreate>b__0'
.method assembly hidebysig instance void
'<OnCreate>b__1'(object sender,
class [Mono.Android]Android.Content.DialogClickEventArgs arg) cil managed
{
// Code size 52 (0x34)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldfld class [Mono.Android]Android.Content.ISharedPreferences UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::contextPref
IL_0006: callvirt instance class [Mono.Android]Android.Content.ISharedPreferencesEditor [Mono.Android]Android.Content.ISharedPreferences::Edit()
IL_000b: dup
IL_000c: ldstr "titleKeySiteSpecified"
IL_0011: ldc.i4.1
IL_0012: callvirt instance class [Mono.Android]Android.Content.ISharedPreferencesEditor [Mono.Android]Android.Content.ISharedPreferencesEditor::PutBoolean(string,
bool)
IL_0017: pop
IL_0018: callvirt instance bool [Mono.Android]Android.Content.ISharedPreferencesEditor::Commit()
IL_001d: pop
IL_001e: ldarg.0
IL_001f: ldfld class UsbHelper_GO.AskTicketActivity UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::'<>4__this'
IL_0024: ldtoken UsbHelper_GO.SplashActivity
IL_0029: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
IL_002e: call instance void [Mono.Android]Android.Content.Context::StartActivity(class [mscorlib]System.Type)
IL_0033: ret
} // end of method '<>c__DisplayClass0_0'::'<OnCreate>b__1'
} // end of class '<>c__DisplayClass0_0'
.method family hidebysig virtual instance void
OnCreate(class [Mono.Android]Android.OS.Bundle savedInstanceState) cil managed
{
// Code size 98 (0x62)
.maxstack 4
.locals init (class UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0' V_0)
IL_0000: newobj instance void UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::.ctor()
IL_0005: stloc.0
IL_0006: ldloc.0
IL_0007: ldarg.0
IL_0008: stfld class UsbHelper_GO.AskTicketActivity UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::'<>4__this'
IL_000d: ldarg.0
IL_000e: ldarg.1
IL_000f: call instance void [Mono.Android]Android.App.Activity::OnCreate(class [Mono.Android]Android.OS.Bundle)
IL_0014: ldarg.0
IL_0015: ldc.i4.1
IL_0016: call instance bool [Mono.Android]Android.App.Activity::RequestWindowFeature(valuetype [Mono.Android]Android.Views.WindowFeatures)
IL_001b: pop
IL_001c: ldloc.0
IL_001d: ldarg.0
IL_001e: ldstr "UsbHelperGo"
IL_0023: ldc.i4.0
IL_0024: callvirt instance class [Mono.Android]Android.Content.ISharedPreferences [Mono.Android]Android.Content.Context::GetSharedPreferences(string,
valuetype [Mono.Android]Android.Content.FileCreationMode)
IL_0029: stfld class [Mono.Android]Android.Content.ISharedPreferences UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::contextPref
IL_002e: ldarg.0
IL_002f: ldc.i4 0x7f030000
IL_0034: callvirt instance void [Mono.Android]Android.App.Activity::SetContentView(int32)
IL_0039: ldloc.0
IL_003a: ldarg.0
IL_003b: ldc.i4 0x7f060004
IL_0040: call instance !!0 [Mono.Android]Android.App.Activity::FindViewById<class [Mono.Android]Android.Widget.EditText>(int32)
IL_0045: stfld class [Mono.Android]Android.Widget.EditText UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::txtUrl
IL_004a: ldloc.0
IL_004b: ldfld class [Mono.Android]Android.Widget.EditText UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::txtUrl
IL_0050: ldloc.0
IL_0051: ldftn instance void UsbHelper_GO.AskTicketActivity/'<>c__DisplayClass0_0'::'<OnCreate>b__0'(object,
class [Mono.Android]Android.Text.TextChangedEventArgs)
IL_0057: newobj instance void class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Text.TextChangedEventArgs>::.ctor(object,
native int)
IL_005c: callvirt instance void [Mono.Android]Android.Widget.TextView::add_TextChanged(class [mscorlib]System.EventHandler`1<class [Mono.Android]Android.Text.TextChangedEventArgs>)
IL_0061: ret
} // end of method AskTicketActivity::OnCreate
.method public hidebysig specialname rtspecialname
instance void .ctor() cil managed
{
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [Mono.Android]Android.App.Activity::.ctor()
IL_0006: ret
} // end of method AskTicketActivity::.ctor
} // end of class UsbHelper_GO.AskTicketActivity
.class public auto ansi beforefieldinit UsbHelper_GO.FileListAdapter
extends class [Mono.Android]Android.Widget.ArrayAdapter`1<class [Mono.Android]Java.IO.File>
{
.field private initonly class [Mono.Android]Android.Content.Context _context
.field private class [mscorlib]System.EventHandler`1<string> ButtonClicked
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.method public hidebysig specialname rtspecialname
instance void .ctor(class [Mono.Android]Android.Content.Context context,
class [mscorlib]System.Collections.Generic.IList`1<class [Mono.Android]Java.IO.File> fsi) cil managed
{
// Code size 26 (0x1a)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldarg.1
IL_0002: ldc.i4 0x7f030003
IL_0007: ldc.i4 0x1020014
IL_000c: ldarg.2
IL_000d: call instance void class [Mono.Android]Android.Widget.ArrayAdapter`1<class [Mono.Android]Java.IO.File>::.ctor(class [Mono.Android]Android.Content.Context,
int32,
int32,
class [mscorlib]System.Collections.Generic.IList`1<!0>)
IL_0012: ldarg.0
IL_0013: ldarg.1
IL_0014: stfld class [Mono.Android]Android.Content.Context UsbHelper_GO.FileListAdapter::_context
IL_0019: ret
} // end of method FileListAdapter::.ctor
.method public hidebysig instance void
AddDirectoryContents(class [mscorlib]System.Collections.Generic.IEnumerable`1<class [Mono.Android]Java.IO.File> directoryContents) cil managed
{
// Code size 42 (0x2a)
.maxstack 2
.locals init (class [Mono.Android]Java.Lang.Object[] V_0)
IL_0000: ldarg.0
IL_0001: callvirt instance void [Mono.Android]Android.Widget.ArrayAdapter::Clear()
IL_0006: ldarg.1
IL_0007: call bool [System.Core]System.Linq.Enumerable::Any<class [Mono.Android]Java.IO.File>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)
IL_000c: brfalse.s IL_0023
IL_000e: ldarg.0
IL_000f: ldarg.1
IL_0010: call !!0[] [System.Core]System.Linq.Enumerable::ToArray<class [Mono.Android]Java.IO.File>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)
IL_0015: stloc.0
IL_0016: ldloc.0
IL_0017: callvirt instance void [Mono.Android]Android.Widget.ArrayAdapter::AddAll(class [Mono.Android]Java.Lang.Object[])
IL_001c: ldarg.0
IL_001d: callvirt instance void [Mono.Android]Android.Widget.BaseAdapter::NotifyDataSetChanged()
IL_0022: ret
IL_0023: ldarg.0
IL_0024: callvirt instance void [Mono.Android]Android.Widget.BaseAdapter::NotifyDataSetInvalidated()
IL_0029: ret
} // end of method FileListAdapter::AddDirectoryContents
.method public hidebysig specialname instance void
add_ButtonClicked(class [mscorlib]System.EventHandler`1<string> 'value') cil managed
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
// Code size 41 (0x29)
.maxstack 3
.locals init (class [mscorlib]System.EventHandler`1<string> V_0,
class [mscorlib]System.EventHandler`1<string> V_1,
class [mscorlib]System.EventHandler`1<string> V_2)
IL_0000: ldarg.0
IL_0001: ldfld class [mscorlib]System.EventHandler`1<string> UsbHelper_GO.FileListAdapter::ButtonClicked
IL_0006: stloc.0
IL_0007: ldloc.0
IL_0008: stloc.1
IL_0009: ldloc.1
IL_000a: ldarg.1
IL_000b: call class [mscorlib]System.Delegate [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate,
class [mscorlib]System.Delegate)
IL_0010: castclass class [mscorlib]System.EventHandler`1<string>
IL_0015: stloc.2
IL_0016: ldarg.0
IL_0017: ldflda class [mscorlib]System.EventHandler`1<string> UsbHelper_GO.FileListAdapter::ButtonClicked
IL_001c: ldloc.2
IL_001d: ldloc.1
IL_001e: call !!0 [mscorlib]System.Threading.Interlocked::CompareExchange<class [mscorlib]System.EventHandler`1<string>>(!!0&,
!!0,
!!0)
IL_0023: stloc.0
IL_0024: ldloc.0
IL_0025: ldloc.1
IL_0026: bne.un.s IL_0007
IL_0028: ret
} // end of method FileListAdapter::add_ButtonClicked
.method public hidebysig specialname instance void
remove_ButtonClicked(class [mscorlib]System.EventHandler`1<string> 'value') cil managed
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
// Code size 41 (0x29)
.maxstack 3
.locals init (class [mscorlib]System.EventHandler`1<string> V_0,
class [mscorlib]System.EventHandler`1<string> V_1,
class [mscorlib]System.EventHandler`1<string> V_2)
IL_0000: ldarg.0
IL_0001: ldfld class [mscorlib]System.EventHandler`1<string> UsbHelper_GO.FileListAdapter::ButtonClicked
IL_0006: stloc.0
IL_0007: ldloc.0
IL_0008: stloc.1
IL_0009: ldloc.1
IL_000a: ldarg.1
IL_000b: call class [mscorlib]System.Delegate [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate,
class [mscorlib]System.Delegate)
IL_0010: castclass class [mscorlib]System.EventHandler`1<string>
IL_0015: stloc.2
IL_0016: ldarg.0
IL_0017: ldflda class [mscorlib]System.EventHandler`1<string> UsbHelper_GO.FileListAdapter::ButtonClicked
IL_001c: ldloc.2
IL_001d: ldloc.1
IL_001e: call !!0 [mscorlib]System.Threading.Interlocked::CompareExchange<class [mscorlib]System.EventHandler`1<string>>(!!0&,
!!0,
!!0)
IL_0023: stloc.0
IL_0024: ldloc.0
IL_0025: ldloc.1
IL_0026: bne.un.s IL_0007
IL_0028: ret
} // end of method FileListAdapter::remove_ButtonClicked
.method public hidebysig virtual instance class [Mono.Android]Android.Views.View
GetView(int32 position,
class [Mono.Android]Android.Views.View convertView,
class [Mono.Android]Android.Views.ViewGroup parent) cil managed
{
// Code size 128 (0x80)
.maxstack 5
.locals init (class [Mono.Android]Java.IO.File V_0,
class UsbHelper_GO.FileListRowViewHolder V_1,
class [Mono.Android]Android.Views.View V_2)
IL_0000: ldarg.0
IL_0001: ldarg.1
IL_0002: call instance !0 class [Mono.Android]Android.Widget.ArrayAdapter`1<class [Mono.Android]Java.IO.File>::GetItem(int32)
IL_0007: stloc.0
IL_0008: ldarg.2
IL_0009: brtrue.s IL_0053
IL_000b: ldarg.0
IL_000c: ldfld class [Mono.Android]Android.Content.Context UsbHelper_GO.FileListAdapter::_context
IL_0011: call class [Mono.Android]Android.Views.LayoutInflater UsbHelper_GO.Helpers::GetLayoutInflater(class [Mono.Android]Android.Content.Context)
IL_0016: ldc.i4 0x7f030003
IL_001b: ldarg.3
IL_001c: ldc.i4.0
IL_001d: callvirt instance class [Mono.Android]Android.Views.View [Mono.Android]Android.Views.LayoutInflater::Inflate(int32,
class [Mono.Android]Android.Views.ViewGroup,
bool)
IL_0022: stloc.2
IL_0023: ldloc.2
IL_0024: ldc.i4 0x7f06000d
IL_0029: callvirt instance !!0 [Mono.Android]Android.Views.View::FindViewById<class [Mono.Android]Android.Widget.TextView>(int32)
IL_002e: ldloc.2
IL_002f: ldc.i4 0x7f06000c
IL_0034: callvirt instance !!0 [Mono.Android]Android.Views.View::FindViewById<class [Mono.Android]Android.Widget.ImageView>(int32)
IL_0039: ldloc.2
IL_003a: ldc.i4 0x7f06000e
IL_003f: callvirt instance !!0 [Mono.Android]Android.Views.View::FindViewById<class [Mono.Android]Android.Widget.Button>(int32)
IL_0044: newobj instance void UsbHelper_GO.FileListRowViewHolder::.ctor(class [Mono.Android]Android.Widget.TextView,
class [Mono.Android]Android.Widget.ImageView,
class [Mono.Android]Android.Widget.Button)
IL_0049: stloc.1
IL_004a: ldloc.2
IL_004b: ldloc.1
IL_004c: callvirt instance void [Mono.Android]Android.Views.View::set_Tag(class [Mono.Android]Java.Lang.Object)
IL_0051: br.s IL_0061
IL_0053: ldarg.2
IL_0054: stloc.2
IL_0055: ldloc.2
IL_0056: callvirt instance class [Mono.Android]Java.Lang.Object [Mono.Android]Android.Views.View::get_Tag()
IL_005b: castclass UsbHelper_GO.FileListRowViewHolder
IL_0060: stloc.1
IL_0061: ldloc.1
IL_0062: ldloc.0
IL_0063: callvirt instance string [Mono.Android]Java.IO.File::get_Name()
IL_0068: ldc.i4 0x7f020001
IL_006d: ldloc.0
IL_006e: callvirt instance string [Mono.Android]Java.IO.File::get_AbsolutePath()
IL_0073: ldarg.0
IL_0074: ldfld class [mscorlib]System.EventHandler`1<string> UsbHelper_GO.FileListAdapter::ButtonClicked
IL_0079: callvirt instance void UsbHelper_GO.FileListRowViewHolder::Update(string,
int32,
string,
class [mscorlib]System.EventHandler`1<string>)
IL_007e: ldloc.2
IL_007f: ret
} // end of method FileListAdapter::GetView
.event class [mscorlib]System.EventHandler`1<string> ButtonClicked
{
.addon instance void UsbHelper_GO.FileListAdapter::add_ButtonClicked(class [mscorlib]System.EventHandler`1<string>)
.removeon instance void UsbHelper_GO.FileListAdapter::remove_ButtonClicked(class [mscorlib]System.EventHandler`1<string>)
} // end of event FileListAdapter::ButtonClicked
} // end of class UsbHelper_GO.FileListAdapter
.class public auto ansi beforefieldinit UsbHelper_GO.FileListFragment
extends [Mono.Android]Android.App.ListFragment
{
.class auto ansi serializable sealed nested private beforefieldinit '<>c'
extends [mscorlib]System.Object
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.field public static initonly class UsbHelper_GO.FileListFragment/'<>c' '<>9'
.field public static class [mscorlib]System.Func`2<class [Mono.Android]Java.IO.File,bool> '<>9__8_0'
.method private hidebysig specialname rtspecialname static
void .cctor() cil managed
{
// Code size 11 (0xb)
.maxstack 8
IL_0000: newobj instance void UsbHelper_GO.FileListFragment/'<>c'::.ctor()
IL_0005: stsfld class UsbHelper_GO.FileListFragment/'<>c' UsbHelper_GO.FileListFragment/'<>c'::'<>9'
IL_000a: ret
} // end of method '<>c'::.cctor
.method public hidebysig specialname rtspecialname
instance void .ctor() cil managed
{
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [mscorlib]System.Object::.ctor()
IL_0006: ret
} // end of method '<>c'::.ctor
.method assembly hidebysig instance bool
'<RefreshFilesList>b__8_0'(class [Mono.Android]Java.IO.File item) cil managed
{
// Code size 17 (0x11)
.maxstack 8
IL_0000: ldarg.1
IL_0001: callvirt instance bool [Mono.Android]Java.IO.File::get_IsHidden()
IL_0006: brtrue.s IL_000f
IL_0008: ldarg.1
IL_0009: callvirt instance bool [Mono.Android]Java.IO.File::get_IsDirectory()
IL_000e: ret
IL_000f: ldc.i4.0
IL_0010: ret
} // end of method '<>c'::'<RefreshFilesList>b__8_0'
} // end of class '<>c'
.field public static initonly string DefaultInitialDirectory
.field private class [mscorlib]System.EventHandler`1<string> FolderSelected
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.field private class UsbHelper_GO.FileListAdapter _adapter
.field private class [Mono.Android]Java.IO.File _directory
.method public hidebysig specialname instance void
add_FolderSelected(class [mscorlib]System.EventHandler`1<string> 'value') cil managed
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
// Code size 41 (0x29)
.maxstack 3
.locals init (class [mscorlib]System.EventHandler`1<string> V_0,
class [mscorlib]System.EventHandler`1<string> V_1,
class [mscorlib]System.EventHandler`1<string> V_2)
IL_0000: ldarg.0
IL_0001: ldfld class [mscorlib]System.EventHandler`1<string> UsbHelper_GO.FileListFragment::FolderSelected
IL_0006: stloc.0
IL_0007: ldloc.0
IL_0008: stloc.1
IL_0009: ldloc.1
IL_000a: ldarg.1
IL_000b: call class [mscorlib]System.Delegate [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate,
class [mscorlib]System.Delegate)
IL_0010: castclass class [mscorlib]System.EventHandler`1<string>
IL_0015: stloc.2
IL_0016: ldarg.0
IL_0017: ldflda class [mscorlib]System.EventHandler`1<string> UsbHelper_GO.FileListFragment::FolderSelected
IL_001c: ldloc.2
IL_001d: ldloc.1
IL_001e: call !!0 [mscorlib]System.Threading.Interlocked::CompareExchange<class [mscorlib]System.EventHandler`1<string>>(!!0&,
!!0,
!!0)
IL_0023: stloc.0
IL_0024: ldloc.0
IL_0025: ldloc.1
IL_0026: bne.un.s IL_0007
IL_0028: ret
} // end of method FileListFragment::add_FolderSelected
.method public hidebysig specialname instance void
remove_FolderSelected(class [mscorlib]System.EventHandler`1<string> 'value') cil managed
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
// Code size 41 (0x29)
.maxstack 3
.locals init (class [mscorlib]System.EventHandler`1<string> V_0,
class [mscorlib]System.EventHandler`1<string> V_1,
class [mscorlib]System.EventHandler`1<string> V_2)
IL_0000: ldarg.0
IL_0001: ldfld class [mscorlib]System.EventHandler`1<string> UsbHelper_GO.FileListFragment::FolderSelected
IL_0006: stloc.0
IL_0007: ldloc.0
IL_0008: stloc.1
IL_0009: ldloc.1
IL_000a: ldarg.1
IL_000b: call class [mscorlib]System.Delegate [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate,
class [mscorlib]System.Delegate)
IL_0010: castclass class [mscorlib]System.EventHandler`1<string>
IL_0015: stloc.2
IL_0016: ldarg.0
IL_0017: ldflda class [mscorlib]System.EventHandler`1<string> UsbHelper_GO.FileListFragment::FolderSelected
IL_001c: ldloc.2
IL_001d: ldloc.1
IL_001e: call !!0 [mscorlib]System.Threading.Interlocked::CompareExchange<class [mscorlib]System.EventHandler`1<string>>(!!0&,
!!0,
!!0)
IL_0023: stloc.0
IL_0024: ldloc.0
IL_0025: ldloc.1
IL_0026: bne.un.s IL_0007
IL_0028: ret
} // end of method FileListFragment::remove_FolderSelected
.method public hidebysig instance void
OnBackButtonPressed() cil managed
{
// Code size 67 (0x43)
.maxstack 2
IL_0000: ldarg.0
IL_0001: ldfld class [Mono.Android]Java.IO.File UsbHelper_GO.FileListFragment::_directory
IL_0006: brfalse.s IL_001f
IL_0008: ldarg.0
IL_0009: ldfld class [Mono.Android]Java.IO.File UsbHelper_GO.FileListFragment::_directory
IL_000e: callvirt instance string [Mono.Android]Java.IO.File::get_AbsolutePath()
IL_0013: ldstr "/"
IL_0018: call bool [mscorlib]System.String::op_Equality(string,
string)
IL_001d: brfalse.s IL_0020
IL_001f: ret
IL_0020: ldarg.0
IL_0021: ldarg.0
IL_0022: ldfld class [Mono.Android]Java.IO.File UsbHelper_GO.FileListFragment::_directory
IL_0027: callvirt instance string [Mono.Android]Java.IO.File::get_Parent()
IL_002c: newobj instance void [Mono.Android]Java.IO.File::.ctor(string)
IL_0031: stfld class [Mono.Android]Java.IO.File UsbHelper_GO.FileListFragment::_directory
IL_0036: ldarg.0
IL_0037: ldarg.0
IL_0038: ldfld class [Mono.Android]Java.IO.File UsbHelper_GO.FileListFragment::_directory
IL_003d: call instance void UsbHelper_GO.FileListFragment::RefreshFilesList(class [Mono.Android]Java.IO.File)
IL_0042: ret
} // end of method FileListFragment::OnBackButtonPressed
.method public hidebysig virtual instance void
OnCreate(class [Mono.Android]Android.OS.Bundle savedInstanceState) cil managed
{
// Code size 65 (0x41)
.maxstack 3
IL_0000: ldarg.0
IL_0001: ldarg.1
IL_0002: call instance void [Mono.Android]Android.App.Fragment::OnCreate(class [Mono.Android]Android.OS.Bundle)
IL_0007: ldarg.0
IL_0008: ldarg.0
IL_0009: call instance class [Mono.Android]Android.App.Activity [Mono.Android]Android.App.Fragment::get_Activity()
IL_000e: call class [Mono.Android]Java.IO.File[] [Mono.Android]Java.IO.File::ListRoots()
IL_0013: newobj instance void UsbHelper_GO.FileListAdapter::.ctor(class [Mono.Android]Android.Content.Context,
class [mscorlib]System.Collections.Generic.IList`1<class [Mono.Android]Java.IO.File>)
IL_0018: stfld class UsbHelper_GO.FileListAdapter UsbHelper_GO.FileListFragment::_adapter
IL_001d: ldarg.0
IL_001e: ldfld class UsbHelper_GO.FileListAdapter UsbHelper_GO.FileListFragment::_adapter
IL_0023: ldarg.0
IL_0024: ldftn instance void UsbHelper_GO.FileListFragment::OnButtonClicked(object,
string)
IL_002a: newobj instance void class [mscorlib]System.EventHandler`1<string>::.ctor(object,
native int)
IL_002f: callvirt instance void UsbHelper_GO.FileListAdapter::add_ButtonClicked(class [mscorlib]System.EventHandler`1<string>)
IL_0034: ldarg.0