Programas decompiladores

34

Transcript of Programas decompiladores

Page 1: Programas decompiladores
Page 2: Programas decompiladores

MANUAL DE INSTALACIÓN DE

VB DECOMPILER LITE v10.4

Una ves descargado el programa vamos a tener una carpeta .zip, extraemos la

carpeta.

Una vez extraida la carpeta ejecutamos el .exe

Page 3: Programas decompiladores

Damos click en siguiente.

Aceptamos la licencia y damos click en siguiente hasta terminar el proceso de

instalación.

Page 4: Programas decompiladores
Page 5: Programas decompiladores
Page 6: Programas decompiladores

Una vez terminada la instalación se procede a iniciar nuestro programa.

Page 7: Programas decompiladores

Pantalla de interfaz de VB Decompilar Lite v10.4

Page 8: Programas decompiladores

MANUAL DE INSTALACIÓN DE

JAVA DECOMPILER

Una vez descargado el programa abrir la carpeta llamada jd-gui-windows-1.4.0

Ubicarse en el .exe y ejecutarlo

Page 9: Programas decompiladores

Esperar mientras se instala el programa.

Interfaz de Java Decompiler

Page 10: Programas decompiladores

CÓDIGOS FUENTES

CALCULADORA

Type=Exe

Reference=*\G{00020430-0000-0000-C000-

000000000046}#2.0#0#..\..\..\..\WINDOWS\SYSTEM32\STDOLE2.TLB#OLE Automation

Form=Form1.frm

Startup="Form1"

IconForm="Form1"

HelpFile=""

ExeName32="exe.exe"

Name="Proyecto1"

Title="Proyecto1"

VersionCompanyName="Windows XP Colossus Edition 2 Reloaded"

MajorVer=1

MinorVer=00

RevisionVer=0

Command32 = ""

HelpContextID = "0"

CompatibleMode = "0"

AutoIncrementVer = 0

ServerSupportFiles = 0

CompilationType = 0

OptimizationType = 0

FavorPentiumPro(tm) = 0

CodeViewDebugInfo = 0

NoAliasing = 0

Page 11: Programas decompiladores

BoundsCheck = 0

OverflowCheck = -1

FlPointCheck = 0

FDIVCheck = 0

UnroundedFP = 0

StartMode = 0

Unattended = 0

Retained = 0

ThreadPerObject = 0

MaxNumberOfThreads = 1

[MS Transaction Server]

AutoRefresh = 1

[VB Decompiler]

Build = 10.4.5941.41655

Date = 27/04/2016

MATRICES NxM

VERSION 5.00

Begin VB.Form Form1

Caption = "Menu ,suma,resta,multiplicacion matricial"

ScaleMode = 1

AutoRedraw = False

FontTransparent = True

Picture = "Form1.frx":0000

BorderStyle = 1 'Fixed Single

Page 12: Programas decompiladores

Icon = "Form1.frx":B179

LinkTopic = "Form1"

MaxButton = 0 'False

MinButton = 0 'False

ClientLeft = 5505

ClientTop = 2880

ClientWidth = 8805

ClientHeight = 4575

StartUpPosition = 2 'CenterScreen

Begin VB.CommandButton Command3

Caption = "X"

Left = 2640

Top = 3600

Width = 1455

Height = 615

TabIndex = 31

End

Begin VB.CommandButton Command2

Caption = "-"

Left = 3600

Top = 2640

Width = 2775

Height = 735

TabIndex = 28

End

Begin VB.CommandButton Command1

Caption = "+"

Left = 720

Top = 2640

Width = 2535

Height = 735

TabIndex = 27

End

Begin VB.TextBox c4

Left = 6600

Top = 1200

Width = 615

Height = 375

Enabled = 0 'False

TabIndex = 26

End

Begin VB.TextBox c7

Left = 6600

Top = 1680

Width = 615

Page 13: Programas decompiladores

Height = 375

Enabled = 0 'False

TabIndex = 25

End

Begin VB.TextBox c5

Left = 7320

Top = 1200

Width = 615

Height = 375

Enabled = 0 'False

TabIndex = 24

End

Begin VB.TextBox c8

Left = 7320

Top = 1680

Width = 615

Height = 375

Enabled = 0 'False

TabIndex = 23

End

Begin VB.TextBox c6

Left = 8040

Top = 1200

Width = 615

Height = 375

Enabled = 0 'False

TabIndex = 22

End

Begin VB.TextBox c9

Left = 8040

Top = 1680

Width = 615

Height = 375

Enabled = 0 'False

TabIndex = 21

End

Begin VB.TextBox b5

Left = 4560

Top = 1200

Width = 615

Height = 375

TabIndex = 20

End

Begin VB.TextBox b8

Left = 4560

Page 14: Programas decompiladores

Top = 1680

Width = 615

Height = 375

TabIndex = 19

End

Begin VB.TextBox b3

Left = 5280

Top = 720

Width = 615

Height = 375

TabIndex = 18

End

Begin VB.TextBox b6

Left = 5280

Top = 1200

Width = 615

Height = 375

TabIndex = 17

End

Begin VB.TextBox b9

Left = 5280

Top = 1680

Width = 615

Height = 375

TabIndex = 16

End

Begin VB.TextBox c1

Left = 6600

Top = 720

Width = 615

Height = 375

Enabled = 0 'False

TabIndex = 15

End

Begin VB.TextBox c2

Left = 7320

Top = 720

Width = 615

Height = 375

Enabled = 0 'False

TabIndex = 14

End

Begin VB.TextBox c3

Left = 8040

Top = 720

Page 15: Programas decompiladores

Width = 615

Height = 375

Enabled = 0 'False

TabIndex = 13

End

Begin VB.TextBox a2

Left = 1800

Top = 720

Width = 615

Height = 375

TabIndex = 12

End

Begin VB.TextBox a5

Left = 1800

Top = 1200

Width = 615

Height = 375

TabIndex = 11

End

Begin VB.TextBox a8

Left = 1800

Top = 1680

Width = 615

Height = 375

TabIndex = 10

End

Begin VB.TextBox a3

Left = 2520

Top = 720

Width = 615

Height = 375

TabIndex = 9

End

Begin VB.TextBox a6

Left = 2520

Top = 1200

Width = 615

Height = 375

TabIndex = 8

End

Begin VB.TextBox a9

Left = 2520

Top = 1680

Width = 615

Height = 375

Page 16: Programas decompiladores

TabIndex = 7

End

Begin VB.TextBox b1

Left = 3840

Top = 720

Width = 615

Height = 375

TabIndex = 6

End

Begin VB.TextBox b4

Left = 3840

Top = 1200

Width = 615

Height = 375

TabIndex = 5

End

Begin VB.TextBox b7

Left = 3840

Top = 1680

Width = 615

Height = 375

TabIndex = 4

End

Begin VB.TextBox b2

Left = 4560

Top = 720

Width = 615

Height = 375

TabIndex = 3

End

Begin VB.TextBox a7

Left = 1080

Top = 1680

Width = 615

Height = 375

TabIndex = 2

End

Begin VB.TextBox a4

Left = 1080

Top = 1200

Width = 615

Height = 375

TabIndex = 1

End

Begin VB.TextBox a1

Page 17: Programas decompiladores

Left = 1080

Top = 720

Width = 615

Height = 375

TabIndex = 0

End

Begin VB.Label Label3

Caption = "X"

Left = 3240

Top = 1320

Width = 375

Height = 375

Visible = 0 'False

TabIndex = 32

BackStyle = 0 'Transparent

BeginProperty Font

Name = "MS Sans Serif"

Size = 12

Charset = 0

Weight = 700

Underline = 0 'False

Italic = 0 'False

Strikethrough = 0 'False

EndProperty

End

Begin VB.Label Label2

Caption = "-"

Left = 3360

Top = 1080

Width = 495

Height = 375

Visible = 0 'False

TabIndex = 30

BackStyle = 0 'Transparent

BeginProperty Font

Name = "MS Sans Serif"

Size = 24

Charset = 0

Weight = 700

Underline = 0 'False

Italic = 0 'False

Strikethrough = 0 'False

EndProperty

End

Begin VB.Label Label1

Page 18: Programas decompiladores

Caption = "+"

Left = 3240

Top = 1200

Width = 375

Height = 375

Visible = 0 'False

TabIndex = 29

BackStyle = 0 'Transparent

BeginProperty Font

Name = "MS Sans Serif"

Size = 24

Charset = 0

Weight = 700

Underline = 0 'False

Italic = 0 'False

Strikethrough = 0 'False

EndProperty

End

Begin VB.Menu Inicio

Caption = "Inicio"

End

End

Attribute VB_Name = "Form1"

Page 19: Programas decompiladores

Buscaminas

import java.util.Random; public class Board { static int ROW = 9; static int COL = 9; static int MINES = 10; static int COLORS = 3; int[] board; int[] mineField; boolean[] checkedFlag; int humanI;

Page 20: Programas decompiladores

int humanJ; int humanDirection; boolean humanFault; boolean checked = false; Random rand; boolean gameOver = false; boolean notStarted = true; int score = 999; int time = 0; int minesLeft = 0; int scoreCheck = 0; int faults = 0; int level = 1; int speed = 50; private int status = 1; public Board() { this.rand = new Random(); this.board = new int[ROW * COL]; this.mineField = new int[ROW * COL]; this.checkedFlag = new boolean[ROW * COL]; reset(); } public void reset() { for (int i = 0; i < COL; i++) { for (int j = 0; j < ROW; j++) { this.board[(i + ROW * j)] = 0; this.mineField[(i + ROW * j)] = 0; } } int j = 0; do { int r = this.rand.nextInt() % (ROW * COL); if (r < 0) { r *= -1; } int y = r / ROW; int x = r % COL; if (this.mineField[(x + ROW * y)] == 0) { this.mineField[(x + ROW * y)] = 1; j++; } } while (j < MINES); this.humanI = (COL / 2); this.humanJ = (ROW / 2); this.humanDirection = 2; this.humanFault = false; this.checked = false; this.scoreCheck = 0; this.time = 0; this.minesLeft = MINES; this.score = 999; } public void newGame() { this.gameOver = false; this.score = 999; this.faults = 4;

Page 21: Programas decompiladores

this.level = 1; this.speed = 50; setStatus(2); } public void move() { this.notStarted = false; if (!this.gameOver) { this.time += 1; if (this.time > 4) { this.time = 0; this.score -= 1; } } switch (this.humanDirection) { case 1: this.humanJ -= 1; break; case 2: this.humanI += 1; break; case 3: this.humanJ += 1; break; case 4: this.humanI -= 1; break; case 10: if (!getCheck()) { resetChecked(); markPoint(this.humanI, this.humanJ); } else if (getXY(this.humanI, this.humanJ) == 11) { setXY(this.humanI, this.humanJ, 10); this.minesLeft += 1; } else if (getXY(this.humanI, this.humanJ) == 10) { setXY(this.humanI, this.humanJ, 0); } else if (getXY(this.humanI, this.humanJ) == 0) { setXY(this.humanI, this.humanJ, 11); this.minesLeft -= 1; } break; } this.humanDirection = 0; if (this.humanJ < 0) { this.humanJ = 0; } if (this.humanJ >= COL) { this.humanJ = (COL - 1); } if (this.humanI < 0) { this.humanI = 0; } if (this.humanI >= ROW) { this.humanI = (ROW - 1); } } public boolean getHumanFault() {

Page 22: Programas decompiladores

return this.humanFault; } public int getCol() { return COL; } public int getRow() { return ROW; } public void setHumanDirection(int d) { this.humanDirection = d; } public int getXY(int x, int y) { if ((x < 0) || (x >= COL) || (y < 0) || (y >= ROW)) { return -1; } return this.board[(x + y * COL)]; } public void setXY(int x, int y, int c) { if ((x < 0) || (x >= COL) || (y < 0) || (y >= ROW)) { return; } this.board[(x + y * COL)] = c; } public boolean isGameOver() { return this.gameOver; } public int getFaults() { return this.faults; } public int getScore() { return this.score; } int getLevelScore() { int levelScore = 0; for (int i = 0; i < COL; i++) { for (int j = 0; j < ROW; j++) { levelScore += (getXY(i, j) == 2 ? 1 : 0); } } return levelScore * this.level; } public int getSpeed() { return this.speed; } public boolean isNotStarted()

Page 23: Programas decompiladores

{ return this.notStarted; } public int getHumanI() { return this.humanI; } public int getHumanJ() { return this.humanJ; } public void setHumanI(int i) { if ((i >= 0) && (i < COL)) { this.humanI = i; } } public void setHumanJ(int j) { if ((j >= 0) && (j < ROW)) { this.humanJ = j; } } public void toggleCheck() { this.checked = (!this.checked); } public boolean getCheck() { return this.checked; } public void setStatus(int s) { this.status = s; } public int getStatus() { return this.status; } public void setSpeed(int s) { this.speed = s; } public void setGameOver() { this.gameOver = true; this.humanFault = true; for (int i = 0; i < COL; i++) { for (int j = 0; j < ROW; j++) { if (this.mineField[(i + j * COL)] == 1) { setXY(i, j, 12); } } } }

Page 24: Programas decompiladores

public int getMinesLeft() { return this.minesLeft; } public int getTime() { return this.time; } private void markPoint(int i, int j) { if (isMine(this.humanI, this.humanJ)) { setGameOver(); setXY(this.humanI, this.humanJ, 13); this.humanFault = true; } else { if (isMine(i, j)) { return; } if (((getXY(i, j) > 0) && (getXY(i, j) < 10)) || (getXY(i, j) == 11)) { return; } if (this.checkedFlag[(i + j * COL)] != 0) { return; } setXY(i, j, 0); this.checkedFlag[(i + j * COL)] = true; for (int k = -1; k <= 1; k++) { for (int l = -1; l <= 1; l++) { if ((i + k >= 0) && (i + k < COL) && (j + l >= 0) && (j + l < ROW)) { if (isMine(i + k, j + l)) { setXY(i, j, getXY(i, j) + 1); } } } } if (getXY(i, j) == 0) { setXY(i, j, 9); for (k = -1; k <= 1; k++) { for (int l = -1; l <= 1; l++) { if ((i + k >= 0) && (i + k < COL) && (j + l >= 0) && (j + l < ROW)) { if ((k != 0) || (l != 0)) { markPoint(i + k, j + l); } } } } } } } private boolean isMine(int x, int y) { if (this.mineField[(x + y * ROW)] == 1) { return true; } return false; } private void resetChecked() {

Page 25: Programas decompiladores

for (int i = 0; i < COL; i++) { for (int j = 0; j < ROW; j++) { this.checkedFlag[(i + j * COL)] = false; } } } public boolean playerWin() { boolean w = true; int c = 0; for (int i = 0; i < COL; i++) { for (int j = 0; j < ROW; j++) { if ((getXY(i, j) > 0) && (getXY(i, j) < 10)) { c++; } } } if (c != COL * ROW - MINES) { w = false; } else { setGameOver(); this.humanFault = false; this.minesLeft = 0; } return w; } }

JUEGO DE POKER

Page 26: Programas decompiladores

import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import javax.microedition.lcdui.Command; import javax.microedition.lcdui.CommandListener; import javax.microedition.lcdui.Display; import javax.microedition.lcdui.Displayable; import javax.microedition.lcdui.Form; import javax.microedition.lcdui.Image; import javax.microedition.lcdui.TextBox; import javax.microedition.lcdui.TextField; import javax.microedition.midlet.MIDlet; import javax.microedition.midlet.MIDletStateChangeException; import javax.microedition.rms.RecordStore; import javax.microedition.rms.RecordStoreException; public class GameMIDlet extends MIDlet

Page 27: Programas decompiladores

implements CommandListener { private a jdField_a_of_type_A = new a(); private l jdField_a_of_type_L = new l("midlet", this.jdField_a_of_type_A.a("language")); private Command jdField_a_of_type_JavaxMicroeditionLcduiCommand = new Command(this.jdField_a_of_type_L.a(1), 7, 99); private Command jdField_b_of_type_JavaxMicroeditionLcduiCommand = new Command(this.jdField_a_of_type_L.a(2), 1, 1); private Command jdField_c_of_type_JavaxMicroeditionLcduiCommand = new Command(this.jdField_a_of_type_L.a(3), 1, 1); private Command jdField_d_of_type_JavaxMicroeditionLcduiCommand = new Command(this.jdField_a_of_type_L.a(4), 7, 99); private Command e = new Command(this.jdField_a_of_type_L.a(5), 1, 1); private Command f = new Command(this.jdField_a_of_type_L.a(6), 1, 5); private Command g = new Command(this.jdField_a_of_type_L.a(7), 7, 99); private Command h = new Command(this.jdField_a_of_type_L.a(8), 7, 99); private Command i = new Command(this.jdField_a_of_type_L.a(9), 4, 2); private Command j = new Command(this.jdField_a_of_type_L.a(8), 4, 1); private Command k = new Command(this.jdField_a_of_type_L.a(10), 7, 99); private Command l = new Command(this.jdField_a_of_type_L.a(11), 3, 99); private Command m = new Command(this.jdField_a_of_type_L.a(10), 7, 99); private Command n = new Command(this.jdField_a_of_type_L.a(10), 3, 99); public Command myAboutOkCommand = new Command(this.jdField_a_of_type_L.a(10), 7, 99); public Command myAboutBrowseCommand = new Command(this.jdField_a_of_type_L.a(12), 4, 1); public Command myFBFanBrowseCommand = new Command(this.jdField_a_of_type_L.a(13), 4, 2); public Command myRegisterSubmitCommand = new Command(this.jdField_a_of_type_L.a(14), 4, 1); public Command myRegisterSaveCommand = new Command(this.jdField_a_of_type_L.a(15), 4, 2); public Command myRegisterMemberCommand = new Command(this.jdField_a_of_type_L.a(15), 4, 2); private InputStream jdField_a_of_type_JavaIoInputStream = null; private Image jdField_a_of_type_JavaxMicroeditionLcduiImage = null; private String jdField_a_of_type_JavaLangString = ""; private String jdField_b_of_type_JavaLangString = null; private String jdField_c_of_type_JavaLangString = getEmail(); private boolean jdField_a_of_type_Boolean = false; private Form jdField_a_of_type_JavaxMicroeditionLcduiForm; private Form jdField_b_of_type_JavaxMicroeditionLcduiForm; private f jdField_a_of_type_F; private TextField jdField_a_of_type_JavaxMicroeditionLcduiTextField = new TextField(this.jdField_a_of_type_L.a(16), "", 32, 0); private TextField jdField_b_of_type_JavaxMicroeditionLcduiTextField = new TextField(this.jdField_a_of_type_L.a(17), this.jdField_c_of_type_JavaLangString, 128, 0); private TextField jdField_c_of_type_JavaxMicroeditionLcduiTextField; private TextField jdField_d_of_type_JavaxMicroeditionLcduiTextField; private String jdField_d_of_type_JavaLangString; private b[] jdField_a_of_type_ArrayOfB; private int jdField_a_of_type_Int; private g jdField_a_of_type_G; private j jdField_a_of_type_J; private Display jdField_a_of_type_JavaxMicroeditionLcduiDisplay; public GameMIDlet() { new TextField(this.jdField_a_of_type_L.a(16), "", 32, 0); this.jdField_c_of_type_JavaxMicroeditionLcduiTextField = new TextField(this.jdField_a_of_type_L.a(17), this.jdField_c_of_type_JavaLangString, 128, 0);

Page 28: Programas decompiladores

this.jdField_d_of_type_JavaxMicroeditionLcduiTextField = new TextField(this.jdField_a_of_type_L.a(30), this.jdField_c_of_type_JavaLangString, 128, 0); this.jdField_a_of_type_ArrayOfB = new b[10]; this.jdField_a_of_type_Int = 0; this.jdField_a_of_type_JavaxMicroeditionLcduiDisplay = Display.getDisplay(this); this.jdField_a_of_type_G = new g(this.jdField_a_of_type_JavaxMicroeditionLcduiDisplay); this.jdField_a_of_type_G.addCommand(this.jdField_b_of_type_JavaxMicroeditionLcduiCommand); GameMIDlet localGameMIDlet = this; try { RecordStore localRecordStore; if ((localRecordStore = RecordStore.openRecordStore("registered", true)).getNumRecords() == 0) { localGameMIDlet.jdField_a_of_type_G.a(false); } else { localGameMIDlet.jdField_a_of_type_G.a(true); } } catch (RecordStoreException localRecordStoreException) { localGameMIDlet.jdField_a_of_type_G.a(true); } this.jdField_a_of_type_G.jdField_a_of_type_JavaxMicroeditionLcduiCommand = this.i; this.jdField_a_of_type_G.jdField_b_of_type_JavaxMicroeditionLcduiCommand = this.j; this.jdField_a_of_type_G.jdField_c_of_type_JavaxMicroeditionLcduiCommand = this.k; this.jdField_a_of_type_G.jdField_d_of_type_JavaxMicroeditionLcduiCommand = this.l; this.jdField_a_of_type_G.f = this.n; this.jdField_a_of_type_G.e = this.m; this.jdField_a_of_type_G.g = this.jdField_b_of_type_JavaxMicroeditionLcduiCommand; this.jdField_a_of_type_G.h = this.jdField_d_of_type_JavaxMicroeditionLcduiCommand; this.jdField_a_of_type_G.i = this.jdField_c_of_type_JavaxMicroeditionLcduiCommand; this.jdField_a_of_type_G.j = this.f; this.jdField_a_of_type_G.k = this.myRegisterMemberCommand; this.jdField_a_of_type_G.l = this.myAboutOkCommand; this.jdField_a_of_type_G.m = this.myAboutBrowseCommand; this.jdField_a_of_type_G.n = this.myFBFanBrowseCommand; if (!this.jdField_a_of_type_G.b()) { this.jdField_a_of_type_G.addCommand(this.myRegisterMemberCommand); } this.jdField_a_of_type_G.setCommandListener(this); try { this.jdField_a_of_type_JavaIoInputStream = getClass().getResourceAsStream("/wapfrog.png"); this.jdField_a_of_type_JavaxMicroeditionLcduiImage = Image.createImage(this.jdField_a_of_type_JavaIoInputStream); } catch (IOException localIOException) {} this.jdField_a_of_type_JavaxMicroeditionLcduiForm = new Form(this.jdField_a_of_type_L.a(18)); this.jdField_a_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_a_of_type_JavaxMicroeditionLcduiTextField); if (this.jdField_c_of_type_JavaLangString == "") {

Page 29: Programas decompiladores

this.jdField_a_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_b_of_type_JavaxMicroeditionLcduiTextField); this.jdField_a_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_a_of_type_L.a(19)); } this.jdField_a_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_a_of_type_L.a(20)); this.jdField_a_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_a_of_type_L.a(21)); this.jdField_a_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_a_of_type_JavaxMicroeditionLcduiImage); this.jdField_a_of_type_JavaxMicroeditionLcduiForm.addCommand(this.g); this.jdField_a_of_type_JavaxMicroeditionLcduiForm.addCommand(this.h); this.jdField_a_of_type_JavaxMicroeditionLcduiForm.setCommandListener(this); this.jdField_b_of_type_JavaxMicroeditionLcduiForm = new Form(this.jdField_a_of_type_L.a(15)); this.jdField_b_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_c_of_type_JavaxMicroeditionLcduiTextField); this.jdField_b_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_d_of_type_JavaxMicroeditionLcduiTextField); this.jdField_b_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_a_of_type_L.a(22)); this.jdField_b_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_a_of_type_L.a(23)); this.jdField_b_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_a_of_type_L.a(24)); this.jdField_b_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_a_of_type_JavaxMicroeditionLcduiImage); this.jdField_b_of_type_JavaxMicroeditionLcduiForm.addCommand(this.myRegisterSubmitCommand); this.jdField_b_of_type_JavaxMicroeditionLcduiForm.addCommand(this.myRegisterSaveCommand); this.jdField_b_of_type_JavaxMicroeditionLcduiForm.setCommandListener(this); for (int i1 = 0; i1 < 10; i1++) { try { this.jdField_a_of_type_ArrayOfB[i1] = new b(); this.jdField_a_of_type_ArrayOfB[i1].a(this.jdField_a_of_type_L.a(25), 0); } catch (Exception localException) {} } setUniqueID(); readHighscore(); this.jdField_b_of_type_JavaLangString = System.getProperty("microedition.platform"); if (this.jdField_b_of_type_JavaLangString == null) { this.jdField_b_of_type_JavaLangString = System.getProperty("com.siemens.imei"); } if (this.jdField_b_of_type_JavaLangString == null) { System.getProperty("com.samsung.imei"); } if (this.jdField_b_of_type_JavaLangString == null) { System.getProperty("IMEI");

Page 30: Programas decompiladores

} if (this.jdField_b_of_type_JavaLangString == null) { System.getProperty("com.motorola.IMEI"); } if (this.jdField_b_of_type_JavaLangString == null) { System.getProperty("com.sonyericsson.imei"); } if (this.jdField_b_of_type_JavaLangString == null) { System.getProperty("com.nokia.IMEI"); } if (this.jdField_b_of_type_JavaLangString == null) { System.getProperty("phone.imei"); } if (this.jdField_b_of_type_JavaLangString == null) { this.jdField_b_of_type_JavaLangString = "Unknown"; } if (System.getProperty("CellID") != null) { this.jdField_b_of_type_JavaLangString = (this.jdField_b_of_type_JavaLangString + ";" + System.getProperty("CellID")); } if (System.getProperty("IMSI") != null) { this.jdField_b_of_type_JavaLangString = (this.jdField_b_of_type_JavaLangString + ";" + System.getProperty("IMSI")); } this.jdField_b_of_type_JavaLangString = (this.jdField_b_of_type_JavaLangString + ";" + this.jdField_a_of_type_JavaLangString); this.jdField_a_of_type_G.b(checkRegistrationExpired()); } public void startApp() { this.jdField_a_of_type_J = new j(this.jdField_a_of_type_G, this); this.jdField_a_of_type_J.a(); this.jdField_a_of_type_G.a(); } public void destroyApp(boolean paramBoolean) { (paramBoolean = this.jdField_a_of_type_J).jdField_a_of_type_G.j(); (paramBoolean = paramBoolean).jdField_a_of_type_Boolean = true; this.jdField_a_of_type_J = null; this.jdField_a_of_type_G = null; System.gc(); } public void closeMidlet() { try { destroyApp(false); notifyDestroyed(); return; } catch (MIDletStateChangeException localMIDletStateChangeException) {} } public void pauseApp() { (this = this.jdField_a_of_type_J).jdField_a_of_type_Boolean = true; } public void commandAction(Command paramCommand, Displayable paramDisplayable) { if (paramCommand == this.jdField_b_of_type_JavaxMicroeditionLcduiCommand) { this.jdField_a_of_type_G.e();

Page 31: Programas decompiladores

this.jdField_a_of_type_G.j(); } else if (paramCommand == this.jdField_c_of_type_JavaxMicroeditionLcduiCommand) { paramDisplayable = this; this.jdField_a_of_type_G.removeCommand(paramDisplayable.jdField_c_of_type_JavaxMicroeditionLcduiCommand); paramDisplayable.jdField_a_of_type_G.addCommand(paramDisplayable.e); (paramDisplayable = this.jdField_a_of_type_J).jdField_a_of_type_Boolean = true; } else if (paramCommand == this.e) { paramDisplayable = this; this.jdField_a_of_type_G.removeCommand(paramDisplayable.e); paramDisplayable.jdField_a_of_type_G.addCommand(paramDisplayable.jdField_c_of_type_JavaxMicroeditionLcduiCommand); this.jdField_a_of_type_J.a(); } else if (paramCommand == this.jdField_a_of_type_JavaxMicroeditionLcduiCommand) { try { destroyApp(false); notifyDestroyed(); } catch (MIDletStateChangeException paramDisplayable) {} } else if (paramCommand == this.jdField_d_of_type_JavaxMicroeditionLcduiCommand) { (paramDisplayable = this.jdField_a_of_type_J).jdField_a_of_type_G.p(); } else if (paramCommand == this.j) { submitHighscore(0); } else if (paramCommand == this.i) { this.jdField_a_of_type_G.g(); this.jdField_a_of_type_G.h(); } else if (paramCommand == this.n) { resetHighscore(); readHighscore(); this.jdField_a_of_type_G.i(); this.jdField_a_of_type_G.f(); } else if (paramCommand == this.l) { this.jdField_a_of_type_G.i(); this.jdField_a_of_type_G.f(); } else if (paramCommand == this.f) { this.jdField_a_of_type_G.n(); } else if (paramCommand == this.myAboutOkCommand) { this.jdField_a_of_type_G.o(); } else if (paramCommand == this.myAboutBrowseCommand) { try {

Page 32: Programas decompiladores

platformRequest(this.jdField_a_of_type_A.a("siteUrl")); } catch (IOException paramDisplayable) { System.out.println(paramDisplayable.toString()); } } else if (paramCommand == this.myFBFanBrowseCommand) { try { platformRequest(this.jdField_a_of_type_A.a("shareUrl")); } catch (IOException paramDisplayable) { System.out.println(paramDisplayable.toString()); } } if (paramCommand == this.g) { if (this.jdField_b_of_type_JavaxMicroeditionLcduiTextField.getString() != "") { saveEmail(this.jdField_b_of_type_JavaxMicroeditionLcduiTextField.getString(), ""); } if (this.jdField_a_of_type_JavaxMicroeditionLcduiTextField.getString() != "") { insertHighscore(this.jdField_a_of_type_JavaxMicroeditionLcduiTextField.getString(), this.jdField_a_of_type_Int); this.jdField_a_of_type_JavaxMicroeditionLcduiDisplay.setCurrent(this.jdField_a_of_type_G); this.jdField_a_of_type_G.f(); return; } this.jdField_a_of_type_JavaxMicroeditionLcduiForm.setTitle(this.jdField_a_of_type_L.a(26)); return; } if (paramCommand == this.myRegisterMemberCommand) { this.jdField_a_of_type_JavaxMicroeditionLcduiDisplay.setCurrent(this.jdField_b_of_type_JavaxMicroeditionLcduiForm); return; } if (paramCommand == this.h) { if (this.jdField_b_of_type_JavaxMicroeditionLcduiTextField.getString() != "") { saveEmail(this.jdField_b_of_type_JavaxMicroeditionLcduiTextField.getString(), ""); } if (this.jdField_a_of_type_JavaxMicroeditionLcduiTextField.getString() != "") { insertHighscore(this.jdField_a_of_type_JavaxMicroeditionLcduiTextField.getString(), this.jdField_a_of_type_Int); this.jdField_a_of_type_JavaxMicroeditionLcduiDisplay.setCurrent(this.jdField_a_of_type_G); submitHighscore(0); return; }

Page 33: Programas decompiladores

this.jdField_a_of_type_JavaxMicroeditionLcduiForm.setTitle(this.jdField_a_of_type_L.a(26)); return; } if (paramCommand == this.myRegisterSaveCommand) { if (this.jdField_c_of_type_JavaxMicroeditionLcduiTextField.getString() != "") { saveEmail(this.jdField_c_of_type_JavaxMicroeditionLcduiTextField.getString(), this.jdField_d_of_type_JavaxMicroeditionLcduiTextField.getString()); this.jdField_a_of_type_JavaxMicroeditionLcduiDisplay.setCurrent(this.jdField_a_of_type_G); return; } this.jdField_a_of_type_JavaxMicroeditionLcduiForm.setTitle(this.jdField_a_of_type_L.a(27)); return; } if (paramCommand == this.myRegisterSubmitCommand) { if (this.jdField_c_of_type_JavaxMicroeditionLcduiTextField.getString() != "") { saveEmail(this.jdField_c_of_type_JavaxMicroeditionLcduiTextField.getString(), this.jdField_d_of_type_JavaxMicroeditionLcduiTextField.getString()); this.jdField_a_of_type_JavaxMicroeditionLcduiDisplay.setCurrent(this.jdField_a_of_type_G); submitHighscore(1); return; } this.jdField_a_of_type_JavaxMicroeditionLcduiForm.setTitle(this.jdField_a_of_type_L.a(27)); return; } if (paramCommand == this.m) { this.jdField_a_of_type_G.m(); return; } if (paramCommand == this.k) { this.jdField_a_of_type_G.g(); } } public Form setHighscoreForm(Form paramForm) { return paramForm; } public void setHighScore(int paramInt) { try { this = RecordStore.openRecordStore("highScore", true); paramInt = (paramInt = "" + paramInt).getBytes(); if (getNumRecords() == 0) { addRecord(paramInt, 0, paramInt.length); } else { setRecord(1, paramInt, 0, paramInt.length);

Page 34: Programas decompiladores

return; } } catch (RecordStoreException localRecordStoreException) {} } public int getHighScore() { try { this = (this = RecordStore.openRecordStore("highScore", false)).getRecord(1); return this = Integer.parseInt(this = new String(this)); } catch (RecordStoreException localRecordStoreException) {} return 0;

}