Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. // #STR: "Commencing connection retry to", "%s(%s)", "connect %s\n", "Can't retry, no previous connection\n", "Protobuf: %s(%d): %s\n"
  2. __int64 CL_Retry(void)
  3. {
  4. CAddressList *v0; // r13
  5. int i; // ebx
  6. CUtlString *v2; // r14
  7. __int64 v3; // r15
  8. __int64 v4; // rax
  9. __int64 v5; // rax
  10. __int64 v6; // rax
  11. unsigned int v7; // ebx
  12. __int64 v8; // rax
  13. __int64 v9; // rax
  14. __int64 result; // rax
  15. __int64 v11; // [rsp+0h] [rbp-40h]
  16. int v12; // [rsp+8h] [rbp-38h]
  17. int v13; // [rsp+Ch] [rbp-34h]
  18. int v14; // [rsp+10h] [rbp-30h]
  19.  
  20. v0 = (CAddressList *)(GetBaseLocalClient() + 312);
  21. if ( (signed int)CAddressList::Count(v0) <= 0 )
  22. return ConMsg("Can't retry, no previous connection\n");
  23. ConMsg("Commencing connection retry to ");
  24. CUtlString::CUtlString((CUtlString *)&v11);
  25. for ( i = 0; i < (signed int)CAddressList::Count(v0); ++i )
  26. {
  27. v2 = (CUtlString *)CAddressList::Get(v0, i);
  28. v3 = CUtlString::Get(v2);
  29. v2 = (CUtlString *)((char *)v2 + 24);
  30. v4 = CUtlString::Get(v2);
  31. ConMsg("%s(%s)", v3, v4);
  32. v5 = CUtlString::Get(v2);
  33. v6 = va("%s ", v5);
  34. CUtlString::operator+=(&v11, v6);
  35. }
  36. ConMsg("\n");
  37. v7 = Cbuf_GetCurrentPlayer();
  38. v8 = CUtlString::Get((CUtlString *)&v11);
  39. v9 = va("connect %s\n", v8);
  40. result = Cbuf_AddText(v7, v9, 0LL, 0LL);
  41. v14 = 0;
  42. if ( v13 >= 0 )
  43. {
  44. if ( v11 )
  45. {
  46. result = (*(__int64 (__fastcall **)(_QWORD))(*g_pMemAlloc + 16LL))(g_pMemAlloc);
  47. v11 = 0LL;
  48. }
  49. v12 = 0;
  50. }
  51. return result;
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement