Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.52 KB | None | 0 0
  1. int func4(int arg0, int arg1, int arg2) {
  2.     rdx = arg2;
  3.     rsi = arg1;
  4.     rdi = arg0;
  5.     rsp = rsp - 0x8;
  6.     rcx = (SAR((rdx - rsi) + (rdx - rsi >> 0x1f), 0x1)) + rsi;
  7.     if (rcx > rdi) {
  8.             rax = func4(rdi, rsi, rcx + 0xffffffffffffffff);
  9.             rax = rax + rax;
  10.     }
  11.     else {
  12.             rax = 0x0;
  13.             if (rcx < rdi) {
  14.                     rax = func4(rdi, rcx + 0x1, rdx);
  15.                     rax = rax + rax + 0x1;
  16.             }
  17.     }
  18.     rsp = rsp + 0x8;
  19.     return rax;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement