i have this code set up on vsd 2005, thefore i cannot find it into IDA the function sum, second people answer my ask in previous community, this was optimize by compiler. can there is any config for it, to don't optimize samples things?
#include<iostream>extern"C"{int sum(unsignedchar s1 =10,int s3 =25){
s3 = s1 *(s3);}}int main(){int y =50;int x =50;return0;}
ENCONTREI ESTE Start
_int64 start(){
unk_407610 =0;
sub_401660();return sub_401180();}
ENCONTREI ESTE MAIN
.text:0000000000402C10;int __cdecl main(int argc,constchar**argv,constchar**envp).text:0000000000402C10 main proc near ; CODE XREF: sub_401180+242↑p
.text:0000000000402C10; DATA XREF:.pdata:0000000000405258↓o ....text:0000000000402C10 sub rsp,28h.text:0000000000402C14 call sub_401620
.text:0000000000402C19 xor eax, eax
.text:0000000000402C1B add rsp,28h.text:0000000000402C1F retn
.text:0000000000402C1F main endp
.text:0000000000402C1F.text:0000000000401620 sub_401620 proc near ; CODE XREF: sub_401180+215↑p
.text:0000000000401620; main+4↓p
.text:0000000000401620 mov eax, cs:dword_407040
.text:0000000000401626 test eax, eax
.text:0000000000401628 jz short loc_401630
.text:000000000040162A retn
only now i am see that sum not have a return, i even not know as it have been compiled
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
When I have free time, I will update it for version 409.
I might also make some changes, such as allowing you to choose whether you want the berserker at level 1 or 2.
The sale of the pack is valid until 12/31/2024.
The share is prohibited at any time, in any form.
This pack will never be shared by me personally because too many people work on it.
If you bought or will buy the pack not from me, do not expect any claims regarding functionality, answers to questions, help, etc., do not even write))
Question
Naelson
i have this code set up on vsd 2005, thefore i cannot find it into IDA the function sum, second people answer my ask in previous community, this was optimize by compiler. can there is any config for it, to don't optimize samples things?
only now i am see that sum not have a return, i even not know as it have been compiled
Edited by Naelson2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.