![]() |
| ||
| Asm help .Please For Example .I have a function that code in C++ : void MyFunc(int s) {and when I compile that function,so I found in asm that code : push ebp It's my example.So when I search in other asm file,I found that asm code : push ebp Please help me and tell me know what the real code in C++ (same my example) .And parameter to function that has address 0051F900h .Please help me |
| ||
| Re: Asm help .Please Either I don't know what you're asking for or this smells like homework. Anyway the param to the function you were asking about
The C calling convention is to push arguments on the stack from right to left. So what do you think the argument passed is? |
| ||
| Re: Asm help .Please SO,I want to know how many arguments in that function,and How to use that function for example: void MyFunc(int s) { struct itemRec { int code; int index; } bItem; bItem.code = 0x0000000B; bItem.index = s; __asm { push eax push edx mov ecx,0x00625388 push 00000000h lea edx,bItem push edx push 00000016h mov eax,0x00487273 call eax pop edx pop eax } } I really want to know how use that function ( 0x0051F900) .So because I don't know how many arguments that push to that function and code for use that function .Please help me. In your post.You say : Quote:
|
| ||
| Re: Asm help .Please Quote:
|
| ||
| Re: Asm help .Please No one can help me how to use function 0x51F900 and what is arguments pass to that function ? :( Please help me |
| All times are GMT -4. The time now is 3:56 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC