Guest User

Untitled

a guest
Jan 24th, 2025
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. mov ecx, DWORD PTR _a$[esp-4] ; ecx = value of a
  2. mov eax, DWORD PTR $T3853[esp-4] ; eax = struct ptr
  3. lea edx, DWORD PTR [ecx+1] ; edx = a + 1
  4. mov DWORD PTR [eax], edx ; [struct ptr] = rt.a = a + 1
  5. lea edx, DWORD PTR [ecx+2] ; edx = a + 2
  6. add ecx, 3 ; ecx = a + 3
  7. mov DWORD PTR [eax+4], edx ; [struct ptr + 4] = rt.b = edx = a + 2
  8. mov DWORD PTR [eax+8], ecx ; [struct ptr + 8] = rt.c = ecx = a + 3
  9. ret 0
  10.  
Add Comment
Please, Sign In to add comment