C:\TFPG_v1.1.1>task_patchgen CG1.smg 0x10080000
Task Functionality Patch Generator v1.1.1
© Andy51 2010
Preparing the analysis, please wait...
Original source variant detected
Done
Starting code analysis
1. vmc_tcreate: 0x10A13479, 0x12381144, 0xDAC, 0x12, 0x0, 0x0
Found the su_stacklocations_glb at 0x124D32D4!
Found the su_stacksizes_glb at 0x124D3398!
2. vmc_tcreate: 0x10A13401, 0x12381EF4, 0xA28, 0x18, 0x0, 0x0
3. vmc_tcreate: 0x10A1340B, 0x1238291C, 0x7D0, 0xD, 0x0, 0x0
4. vmc_tcreate: 0x10A134BF, 0x123830EC, 0x7D0, 0x1C, 0x0, 0x0
5. vmc_tcreate: 0x10A134C9, 0x123838BC, 0x7D0, 0x1D, 0x0, 0x0
6. vmc_tcreate: 0x10A13451, 0x1238408C, 0x834, 0xF, 0x0, 0x0
7. vmc_tcreate: 0x10A1345B, 0x123848C4, 0x834, 0xE, 0x0, 0x0
8. vmc_tcreate: 0x10A13393, 0x123850FC, 0xA8C, 0x2, 0x0, 0x0
9. vmc_tcreate: 0x10A13497, 0x12385B8C, 0x708, 0x14, 0x0, 0x0
10. vmc_tcreate: 0x10A133C5, 0x12386294, 0x1194, 0x7, 0x0, 0x0
11. vmc_tcreate: 0x10A133BB, 0x124D5474, 0x708, 0x6, 0x0, 0x0
12. vmc_tcreate: 0x10A133A7, 0x1238742C, 0x12C0, 0x4, 0x0, 0x0
13. vmc_tcreate: 0x10A133B1, 0x123886EC, 0x7D0, 0x4, 0x0, 0x0
14. vmc_tcreate: 0x10A133CF, 0x12388EBC, 0x708, 0x8, 0x0, 0x0
15. vmc_tcreate: 0x10A13465, 0x123895C4, 0x1518, 0x10, 0x0, 0x0
16. vmc_tcreate: 0x10A1346F, 0x1238AADC, 0x76C, 0x11, 0x0, 0x0
17. vmc_tcreate: 0x10A1348D, 0x1238B24C, 0x708, 0x14, 0x0, 0x0
18. vmc_tcreate: 0x10A13483, 0x1238B954, 0xBB8, 0x13, 0x0, 0x0
19. vmc_tcreate: 0x10A1339D, 0x1238C50C, 0xC1C, 0x3, 0x0, 0x0
20. vmc_tcreate: 0x10A133D9, 0x1238D12C, 0x7D0, 0x9, 0x0, 0x0
21. vmc_tcreate: 0x10A133E3, 0x1238D8FC, 0x76C, 0xA, 0x0, 0x0
22. vmc_tcreate: 0x10A133ED, 0x1238E06C, 0xD48, 0xC, 0x0, 0x0
23. vmc_tcreate: 0x10A133F7, 0x1238EDB4, 0x898, 0xB, 0x0, 0x0
24. vmc_tcreate: 0x10A13415, 0x1238F64C, 0x7D0, 0xB, 0x0, 0x0
25. vmc_tcreate: 0x10A134FB, 0x1238FE1C, 0x7D0, 0x1B, 0x0, 0x0
26. vmc_tcreate: 0x10A134D3, 0x123905EC, 0x834, 0x22, 0x0, 0x0
27. vmc_tcreate: 0x10A134DD, 0x12390E24, 0x76C, 0x21, 0x0, 0x0
28. vmc_tcreate: 0x10A134B5, 0x3FF5CFC, 0x7918, 0x17, 0x0, 0x0
29. vmc_tcreate: 0x10A13523, 0x12391594, 0x1F40, 0x16, 0x0, 0x0
30. vmc_tcreate: 0x10A13429, 0x123934D4, 0x2328, 0x16, 0x0, 0x0
31. vmc_tcreate: 0x10A1341F, 0x123957FC, 0x7D0, 0x19, 0x0, 0x0
32. vmc_tcreate: 0x10A134AB, 0x12395FCC, 0x11F8, 0x17, 0x0, 0x0
33. vmc_tcreate: 0x10A134A1, 0x123971C4, 0xCE4, 0x15, 0x0, 0x0
34. vmc_tcreate: 0x1097C0C5, 0x3FE8580, 0x1388, 0x15, 0x0, 0x0
35. vmc_tcreate: 0x1098B051, 0x3FE9908, 0xFA0, 0x16, 0x0, 0x0
36. vmc_tcreate: 0x1096CDA5, 0x3FE77D0, 0xDAC, 0x1D, 0x0, 0x0
37. vmc_tcreate: 0x10A134F1, 0x12397EAC, 0x1388, 0x1B, 0x0, 0x0
38. vmc_tcreate: 0x10A13447, 0x12399234, 0x11F8, 0x17, 0x0, 0x0
39. vmc_tcreate: 0x10AD92E3, 0x1239A42C, 0x1388, 0x1B, 0x0, 0x0
40. vmc_tcreate: 0x10A134E7, 0x1239B7B4, 0x22C, 0x1C, 0x0, 0x0
41. vmc_tcreate: 0x10A13389, 0x1239B9E4, 0x3E8, 0x1, 0x0, 0x0
42. vmc_tcreate: 0x102658F1, 0x3FCF810, 0x2EE0, 0x19, 0x0, 0x0
43. vmc_tcreate: 0x10265927, 0x3FD26F0, 0x2EE0, 0x1F, 0x0, 0x0
44. vmc_tcreate: 0x102247FD, 0x1239BDCC, 0x1F40, 0x18, 0x0, 0x0
45. vmc_tcreate: 0x10A1352D, 0x1239DD0C, 0x1000, 0x23, 0x0, 0x0
46. vmc_tcreate: 0x10650AC9, 0x1239ED0C, 0x708, 0x14, 0x0, 0x0
47. vmc_tcreate: 0x1066253F, 0x1239F414, 0xFA0, 0x20, 0x0, 0x0
Total vmc_tcreate called: 47 times
1. vmc_pcreate: 0x123A03B4, 0x2720, 0x10, 0x272
2. vmc_pcreate: 0x123A2AD4, 0x27F14, 0x1C, 0x16D3
3. vmc_pcreate: 0x123CA9E8, 0x26D0, 0x24, 0x114
4. vmc_pcreate: 0x123CD0B8, 0x2AF40, 0x40, 0xABD
5. vmc_pcreate: 0x123F7FF8, 0x20A8, 0x4C, 0x6E
6. vmc_pcreate: 0x123FA0A0, 0xFA90, 0x98, 0x1A6
7. vmc_pcreate: 0x12409B30, 0x62B8, 0xD8, 0x75
8. vmc_pcreate: 0x1240FDE8, 0x29A0, 0x120, 0x25
9. vmc_pcreate: 0x12412788, 0x9A88, 0x158, 0x73
10. vmc_pcreate: 0x1241C210, 0x43EC, 0x284, 0x1B
11. vmc_pcreate: 0x124205FC, 0x4510, 0x374, 0x14
12. vmc_pcreate: 0x12424B0C, 0x2448, 0x408, 0x9
13. vmc_pcreate: 0x12426F54, 0xEAC, 0x4E4, 0x3
14. vmc_pcreate: 0x12427E00, 0x3CF0, 0x514, 0xC
15. vmc_pcreate: 0x1242BAF0, 0x4B60, 0x648, 0xC
16. vmc_pcreate: 0x12430650, 0xD080, 0xD08, 0x10
17. vmc_pcreate: 0x1243D6D0, 0x3520, 0xD48, 0x4
18. vmc_pcreate: 0x12440BF0, 0x3714, 0x125C, 0x3
19. vmc_pcreate: 0x12444304, 0xC144, 0x1B9C, 0x7
20. vmc_pcreate: 0x12450448, 0x130B0, 0x1E78, 0xA
21. vmc_pcreate: 0x124634F8, 0x1F2DC, 0x4744, 0x7
22. vmc_pcreate: 0x124827D4, 0x5010, 0x5010, 0x1
23. vmc_pcreate: 0x124877E4, 0x4BAF0, 0x12EBC, 0x4
Total vmc_pcreate called: 23 times
1. vmc_fcreate: 0x0
Total vmc_fcreate called: 48 times
1. vmc_vtcreate
Total vmc_vtcreate called: 255 times
Analysis finished. Returned value: 0x0
* WARNING: suFreeMem is not 4 byte aligned: fixed, proceeding as normal
Done
Preparing the sources...
Done
Creating the build script...
Done
Building patches...
Done
Starting the script...
Compiling the stuff...
Compiling my_usr_sysinit.asm
Compiling suAllocMem.asm
Compiling suDeleteTask_ven.asm
Compiling suFreeMem.asm
Compiling suCreateTask.c
Done
Linking the stuff together...
Warning: L6305W: Image does not have an entry point. (Not specified or not set d
ue to multiple choices.)
Finished: 0 information, 1 warning and 0 error messages.
Done
Making binaries...
Done
Making patches...
BinToFpa by AzT59 Perm 2007
Use BinToFpa.exe StartAdr InputFile
Example BinToFpa.exe 03FC0000 Test.bin
SW_Ver=
Description=TFPG patch
Author=Andy51
BinToFpa by AzT59 Perm 2007
Use BinToFpa.exe StartAdr InputFile
Example BinToFpa.exe 03FC0000 Test.bin
SW_Ver=
Description=TFPG patch
Author=Andy51
BinToFpa by AzT59 Perm 2007
Use BinToFpa.exe StartAdr InputFile
Example BinToFpa.exe 03FC0000 Test.bin
SW_Ver=
Description=TFPG patch
Author=Andy51
BinToFpa by AzT59 Perm 2007
Use BinToFpa.exe StartAdr InputFile
Example BinToFpa.exe 03FC0000 Test.bin
SW_Ver=
Description=TFPG patch
Author=Andy51
BinToFpa by AzT59 Perm 2007
Use BinToFpa.exe StartAdr InputFile
Example BinToFpa.exe 03FC0000 Test.bin
SW_Ver=
Description=TFPG patch
Author=Andy51
Done
Unifying patches...
Patches:
PATCH.fpa, SUALLOC.fpa, SUFREE.fpa, SUCREATETASK.fpa, SUDELETETASK.fpa, ntsk_inc
rease.fpa, disable_powerdown_report.fpa, move_tasktab.fpa, is united and saved a
s ResultPatch.fpa into program directory.
Done
Cleaning up...
Done
* Patchgen successfully finished its work.
Get your patch in build\ResultPatch.fpa!
C:\TFPG_v1.1.1>pause
Presione una tecla para continuar . . .