Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int MovementInit()
- {
- char *v0; // eax@3
- signed int v1; // edx@3
- char v2; // cl@4
- DWORD v3; // esi@9
- int v4; // eax@9
- char v6; // [sp+10h] [bp-104h]@1
- if ( !sub_547A0A((int)"World of Warcraft\\Client", (unsigned int)"MoveLogFile", 0, (int)&v6, 0x104u) || !v6 )
- {
- sub_547B72((int)"World of Warcraft\\Client", "MoveLogFile", 0, "ClientMovement.txt");
- v0 = &v6;
- v1 = 259;
- while ( 1 )
- {
- v2 = v0["ClientMovement.txt" - (BYTE *)&v6];
- *v0++ = v2;
- if ( !v2 )
- break;
- --v1;
- if ( !v1 )
- goto LABEL_8;
- }
- if ( v1 )
- goto LABEL_9;
- LABEL_8:
- *v0 = 0;
- }
- LABEL_9:
- v3 = sub_D0946C();
- v4 = sub_4ED3AD(&v6);
- sub_541CD4(v4, v4 - (_DWORD)&v6 + 260, "%04d.txt", v3);
- sub_696E6A(&v6);
- return sub_41BE67(5, sub_69AF6A, 0, 0x40000000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement