![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 | |
Black Magic
![]() |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#2 | |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]() Quote:
I went back to Cheat engine this morning and fired up SH3 (As its quicker to load and easier to trace - but basically the same). I was able to trace the pointer's all back to the same Base Address - and each of the dials is then written to by means of an offset. Thanks TDW for confirming this ![]() ![]() Just a Noob jumping to the wrong conclussions ![]() |
|
![]() |
![]() |
![]() |
#3 | |
The Old Man
![]() Join Date: May 2007
Location: München / Germany
Posts: 1,486
Downloads: 426
Uploads: 0
|
Originally Posted by TheDarkWraith
What this sounds like is the programmer assigned each 'variable' to a temp variable so as to preserve the original variable. When the C++ code was compiled (and compiler optimized it) the compiler usually places temp variables on the stack (instead of the heap). Being that it was optimized the compiler probably decided to use the same address (stack address) for each temp variable (to save memory). This is why you are 'seeing' each variable using the same address. This is very common to see and is one reason why RE is very complicated to 'follow and decipher'. If you want to validate my theory then you'll probably notice that the address used for each 'variable' uses offset addressing to 'find' it's contents (ESI+x where x is the offset amount - and ESI could be any of the general CPU registers [EBX,ECX,ESI,EDI,etc.]). In this example ESI would be an address located on the stack (you can find where the stack is located via Olly Debug - EVERY application has at least one stack but usually they have more than this) --------------- Quote:
------------------------------------------------------- Assembly for NEWBIS ...and more....---Google / Vivek Ramachandran ---- ![]() For Start !! ![]() http://www.securitytube.net/video/208 This video is part of the following groups: 1. Assembly Language Megaprimer for Linux ( 11 videos)
http://raykoid666.wordpress.com/2009...primer-review/ The links to the different parts: Part 1 (Smashing the stack) Part 2 (Writing exit shellcode) Part 3 (Executing shellcode) Part 4 (Disassembling execve) Part 5 (shellcode for execve) Part 6 (exploiting a program) Part 7 (exploiting a program: demonstration) Part 8 (return to libc theory) Part 9 (return to libc theory: demonstration) Videos 1-4 have to do with basic system calls, mov commands, you make a hello world program and then video 3 is all about using gdb (Viveks tutorial is the best i***8217;ve seen) Videos 5-11 are all about more indepth mov commans, creating variables and examining memory layout and values with gdb. This is all very useful but just watching the videos is not enough! You need to go through and do it along with him, you have to write the programs(even though he says you can download them) and you need to get assembly in your fingers. Think of great athletes, they didn***8217;t get great by watching sports on TV ***8211; they went out and did the real thing ***8211; Exact same concept with computers ***8211; Practice practice practice. . Last edited by Tomi_099; 06-29-11 at 12:45 PM. |
|
![]() |
![]() |
![]() |
#4 |
Sea Lord
![]() Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
|
![]()
hey tomi...nice to see you round here!
__________________
|
![]() |
![]() |
![]() |
#5 |
Commodore
![]() Join Date: Mar 2005
Location: France
Posts: 614
Downloads: 60
Uploads: 0
|
![]()
I've had a look at those vids and indeed, they seems very good. It's especially intersting since i'm absolute beginner to that. However, it seems to me that having a good to strong knowledge of programming in C is a pre-requisite.
Still having an in-depth look though, as this so-called "modding friendly SH5 -oups, I forgot about this GR2 über restrictive sh*t-" is not going to see lots of breakthrough rapidly if we are to rely now entirely on a very very few bunch of coding experts like TDW or Reaper7 who are pretty much alone doing all the new stuffs on the modding scene (apart from few eye-candies here and there and campaign related stuffs). They have a life of their owns and can't work 24h/7... Hope I'll be able to help somehow soon. It's been quite some time since I've modded anything since everyone here pretty much covered what can be achieved so far in their own area of expertise with current tools and restrictions. I do for sure miss a S3D for SH5 like that thing allowed you to do for SH4! Wish the devs never relied on that granny GR2 thingy! Such a plague, such a step backward for all the modders community... Talk about reinventing the wheel on and on! And that goblin editor is nothing much of a viewer, really... ![]() |
![]() |
![]() |
![]() |
#6 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Heh I'm a very competent computer scientist and and well versed in MIPS assembly and RE still evades me. It's very tough. Although I absolutely could RE MIPs.
If this was anything but a graphical program I would love to help. But I can barely write a 3d renderer let alone RE one. I think you would be better off (and save more time) RE all the files and writing your own exe from scratch. You could control more that way. But you have to imagine a huge team of developers worked on this, so only one or a handful at best working on it will take FOREVER. |
![]() |
![]() |
#7 | |
中国水兵
![]() Join Date: May 2010
Location: BY
Posts: 271
Downloads: 80
Uploads: 1
|
![]() Quote:
![]() And I the humble computer user went and has drawn this "MQK". And nothing is not broke. ![]() We must think not standard. And there is always a way out! ![]() |
|
![]() |
![]() |
![]() |
|
|