IMKYZABITCHES

Call of Duty Ghosts Live_GetPlayerXUID Reversed

Jan 27th, 2014
446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.65 KB | None | 0 0
  1. void Live_SetPlayerXUID(int session, int clientIndex, long xuid) // lel
  2. {
  3.     int calc = (clientIndex + 0x02); // so if clientIndex was 0, calc will hold 2
  4.     if(*(byte*)((calc * 0x38) + session) == 0){
  5.         xuid = 0x00;
  6.         *(long*)((clientIndex * 0x38) + session + 0x78) = xuid;}
  7.     else{
  8.     *(long*)((clientIndex * 0x38) + session + 0x78) = xuid;}
  9. }
  10.  
  11.  
  12. unsigned long Live_GetPlayerXUID(int r3, int r4)
  13. {
  14.     __int32 r11, r10, r9;
  15.     *(int*)r11 = (r4 + 2);
  16.     *(int*)r10 = (r11 * 0x38);
  17.     *(unsigned char*)r9 = (r10 + r3);
  18.     if(r9 == 0){
  19.         r3 = 0;
  20.         return r3;}
  21.     else{
  22.         *(int*)r11 = (r4 * 0x38);
  23.         *(int*)r11 += r3;
  24.         *(int*)r3 = (r11 + 0x78);
  25.         return r3;}
  26. }
Add Comment
Please, Sign In to add comment