Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. int MovementInit()
  2. {
  3. char *v0; // eax@3
  4. signed int v1; // edx@3
  5. char v2; // cl@4
  6. DWORD v3; // esi@9
  7. int v4; // eax@9
  8. char v6; // [sp+10h] [bp-104h]@1
  9.  
  10. if ( !sub_547A0A((int)"World of Warcraft\\Client", (unsigned int)"MoveLogFile", 0, (int)&v6, 0x104u) || !v6 )
  11. {
  12. sub_547B72((int)"World of Warcraft\\Client", "MoveLogFile", 0, "ClientMovement.txt");
  13. v0 = &v6;
  14. v1 = 259;
  15. while ( 1 )
  16. {
  17. v2 = v0["ClientMovement.txt" - (BYTE *)&v6];
  18. *v0++ = v2;
  19. if ( !v2 )
  20. break;
  21. --v1;
  22. if ( !v1 )
  23. goto LABEL_8;
  24. }
  25. if ( v1 )
  26. goto LABEL_9;
  27. LABEL_8:
  28. *v0 = 0;
  29. }
  30. LABEL_9:
  31. v3 = sub_D0946C();
  32. v4 = sub_4ED3AD(&v6);
  33. sub_541CD4(v4, v4 - (_DWORD)&v6 + 260, "%04d.txt", v3);
  34. sub_696E6A(&v6);
  35. return sub_41BE67(5, sub_69AF6A, 0, 0x40000000);
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement