I am looking at some code in a dll that I am trying to make sense of and I have a few questions about what I see. Hopefully someone can give me some answers.
Here are some examples:
aSourceoffercodeGetoffercodenum db 'SourceOfferCode::GetOfferCodeNum',0
; DATA XREF: sub_0_60765B04+15o
align 4
aInt__cdeclSourceoffercodeGetoffercodenumVoid db 'int__cdecl SourceOfferCode::GetOfferCodeNum(void)',0
; DATA XREF: sub_0_60765B04+10o
align 4
a05d db '%05d',0 ; DATA XREF: sub_0_60765CF3+1Fo
align 4
#1. What does the "align 4" do and what effect does it have on the program?
#2. What does the "(void)" do and why is it used?
#3. I see a comma with a 0 after it at the end of almost every line. What does it do?
#4. Refer to example below:
I see dd and db and offset used alot. Why and how is it used? I also have no idea what the next 2 lines do and why they are used. I know the numbers refer to a specific line in the code but thats all I know. The "sub" and "unk" also have me stumped.
dd offset sub_0_60766684
dd offset unk_0_607CB100
#5. Is there a place where I can get this info for myself so I don't have to keep asking questions here? It would be great if I had a reference of some kind that I could refer to that would explain all this stuff! I hate to bother people with these basic things.
I hope I didn't make this too long and ask too many questions!