Advertisement
MiaMyLove

SunShineSilver.mdA

Apr 10th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. _BYTE *__fastcall sub_140155D60(_BYTE *a1, _BYTE *a2, __int64 a3)
  2. {
  3.     _BYTE *result; // rax@1
  4.     signed __int64 v4; // r8@1
  5.     _BYTE *v5; // r9@2
  6.  
  7.     result = a1;
  8.     v4 = a3 - 1;
  9.     if (v4)
  10.     {
  11.         v5 = a2;
  12.         do
  13.         {
  14.             if (!a2)
  15.                 break;
  16.             if (!*v5)
  17.                 break;
  18.             *a1++ = *v5++;
  19.             --v4;
  20.         } while (v4);
  21.     }
  22.     *a1 = 0;
  23.     return result;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement