Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Decompiling
#2
OpenDune claims there are 1229 functions in the original game.
IDA tells me there are 18355 functions in YR 1.001. This includes piles of template specializations, thunks, CRT functions and other crap, but still, it's 15x the size.
The largest function in the game is BuildingTypeClass::LoadFromINI, at 19475 bytes.

How do you imagine this recompiled stuff should be connected to the game? Replace the first instruction of the original function with a JMP to the new one? Syringe can do that.

Assembly output should be fairly simple with IDA - last weekend I started writing (for other purposes) an IDA plugin to spit out the asm instructions from a function without any decorations IDA normally places around them, wrapping that in __asm {} would be all that's needed for a start. But I really doubt that that approach would get you comprehensible code faster than Hex Rays does.

Worth playing: 1 | 2 | 3
Reply


Messages In This Thread
Decompiling - by XTF - 15.11.2011, 00:29:51
RE: Decompiling - by DCoder - 15.11.2011, 08:02:36
RE: Decompiling - by XTF - 15.11.2011, 14:31:28
RE: Decompiling - by DCoder - 15.11.2011, 19:18:21
RE: Decompiling - by XTF - 15.11.2011, 21:26:10
RE: Decompiling - by DCoder - 16.11.2011, 16:00:17
RE: Decompiling - by XTF - 16.11.2011, 16:56:27
RE: Decompiling - by Graion Dilach - 16.11.2011, 17:21:48
RE: Decompiling - by XTF - 16.11.2011, 19:24:40
RE: Decompiling - by DCoder - 16.11.2011, 17:31:00
RE: Decompiling - by AlexB - 17.11.2011, 00:40:07
RE: Decompiling - by XTF - 17.11.2011, 01:33:14
RE: Decompiling - by AlexB - 17.11.2011, 11:31:11
RE: Decompiling - by Graion Dilach - 17.11.2011, 10:49:20
RE: Decompiling - by XTF - 17.11.2011, 17:57:55
RE: Decompiling - by Renegade - 17.11.2011, 20:29:50
RE: Decompiling - by XTF - 17.11.2011, 22:07:10
RE: Decompiling - by Guest - 05.12.2011, 17:44:15
RE: Decompiling - by XTF - 06.12.2011, 15:42:50
RE: Decompiling - by DCoder - 06.12.2011, 16:41:05
RE: Decompiling - by XTF - 06.12.2011, 19:17:02
RE: Decompiling - by Graion Dilach - 06.12.2011, 19:19:41
RE: Decompiling - by XTF - 07.12.2011, 03:06:03
RE: Decompiling - by DCoder - 07.12.2011, 13:26:52
RE: Decompiling - by XTF - 08.12.2011, 01:05:41



Users browsing this thread: 1 Guest(s)