forked from Laurelai/decompile-dump
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Laurelai
authored and
Laurelai
committed
Feb 11, 2011
0 parents
commit 0aada9a
Showing
18 changed files
with
59,047 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
68 changes: 68 additions & 0 deletions
68
output/016169EBEBF1CEC2AAD6C7F0D0EE9026/016169EBEBF1CEC2AAD6C7F0D0EE9026.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
char global0[0] = ""; | ||
char lstrcmpiA[0] = "|3"; | ||
|
||
// address: 0x10001161 | ||
int main(int argc, char **argv, char **envp) { | ||
int local0; // r28{130} | ||
int local1; // r27{129} | ||
short local10; // r30 | ||
short local11; // r31 | ||
int local2; // r30{16} | ||
short local5; // r24 | ||
short local8; // r27 | ||
short local9; // r28 | ||
|
||
if (*(char[0]*)global0 == 0x5a4d) { | ||
*(int*)(local9 - 4) = local10; | ||
local2 = *(int*)(global0 + 60); | ||
if (*(int*)(local2 + global0) == 0x4550) { | ||
local5 = *(unsigned short*)(local2 + global0 + 20); | ||
*(int*)(local9 - 8) = local8; | ||
*(int*)(local9 - 12) = local11; | ||
local9 = local9 - 12; | ||
local11 = local5 + local2 + global0 + 24; | ||
local8 = 0; | ||
if (0 >= (unsigned)*(int*)(local2 + global0 + 6)) { | ||
L2: | ||
local5 = 0; | ||
} else { | ||
do { | ||
local1 = local8; | ||
local0 = local9; | ||
*(int*)(local0 - 4) = 0x100032b8; | ||
*(int*)(local0 - 8) = local11; | ||
lstrcmpiA(); | ||
if (local5 == 0) { | ||
if ((unsigned)*(int*)(local11 + 8) < 556) { | ||
goto L2; | ||
} else { | ||
if (*(int*)(*(int*)(local11 + 12) + global0) != 0xae39120d) { | ||
goto L2; | ||
} else { | ||
local5 = *(int*)(local11 + 12) + global0 + 4; | ||
*(int*)*(int*)(local0 + 8) = local5; | ||
*(int*)*(int*)(local0 + 12) = *(int*)(local11 + 8) - 4; | ||
local5 = 1; | ||
} | ||
} | ||
goto L1; | ||
} | ||
local5 = *(unsigned short*)(local2 + global0 + 6); | ||
local8 = local1 + 1; | ||
local11 += 40; | ||
} while (local1 + 1 < local5); | ||
goto L2; | ||
} | ||
L1: | ||
local11 = *(short*)local9; | ||
local8 = argc; | ||
local10 = argv; | ||
} else { | ||
local5 = 0; | ||
} | ||
} else { | ||
local5 = 0; | ||
} | ||
return local5; | ||
} | ||
|
47 changes: 47 additions & 0 deletions
47
output/055A3421813CAF77E1387FF77B2E2E28/055A3421813CAF77E1387FF77B2E2E28.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
char lstrlenW[0] = "\xffffffe8W"; | ||
|
||
// address: 0x10001f80 | ||
int main(int argc, char **argv, char **envp) { | ||
int local10; // r30 | ||
int local11; // r31 | ||
int local3; // r24{54} | ||
int local4; // r24{59} | ||
int local5; // r1 | ||
int local6; // r24 | ||
int local7; // r25 | ||
|
||
local11 = 0x100054c4; | ||
local6 = lstrlenW(local10); | ||
local6 = local10 + (local6 - 1) * 2; | ||
local4 = local6; | ||
if ((unsigned)local6 >= (unsigned)local10) { | ||
do { | ||
local3 = local6; | ||
local4 = local3; | ||
if (*(int*)local3 == 92) { | ||
goto L5; | ||
} | ||
local6 = local3 - 2; | ||
local4 = local6; | ||
} while ((unsigned)(local3 - 2) >= (unsigned)local10); | ||
} | ||
L5: | ||
local6 = local4; | ||
local6 += 2; | ||
local7 = 83; | ||
local5 = 83; | ||
do { | ||
if (local5 != *(int*)local6) { | ||
local6 = 0; | ||
goto L0; | ||
} | ||
local7 = *(unsigned short*)(local11 + 2); | ||
local5 = (unsigned short) local7; | ||
local11 += 2; | ||
local6 += 2; | ||
} while ((unsigned short) local7 != 0); | ||
local6 = 1; | ||
L0: | ||
return local6; | ||
} | ||
|
Oops, something went wrong.