Advertisement
mojito-ice

Untitled

Oct 29th, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. char __thiscall NetClient__OneMessageReady(void *this, int a2, int a3, int a4, signed int a5)
  2. {
  3. void *v5; // ebx@1
  4. signed int v6; // edi@1
  5. signed int v7; // eax@3
  6. char result; // al@4
  7. int v9; // eax@6
  8. int v10; // eax@7
  9. int v11; // esi@8
  10. int v12; // eax@9
  11. int v13; // ecx@13
  12. signed int v14; // [sp-4h] [bp-12Ch]@19
  13. char v15; // [sp+10h] [bp-118h]@8
  14. void *v16; // [sp+10Ch] [bp-1Ch]@1
  15. int v17; // [sp+110h] [bp-18h]@17
  16. int v18; // [sp+114h] [bp-14h]@8
  17. int v19; // [sp+118h] [bp-10h]@8
  18. int v20; // [sp+11Ch] [bp-Ch]@8
  19. int v21; // [sp+120h] [bp-8h]@8
  20. int v22; // [sp+124h] [bp-4h]@8
  21. int v23; // [sp+13Ch] [bp+14h]@9
  22.  
  23. v6 = a5;
  24. v5 = this;
  25. v16 = this;
  26. if ( a5 < 4 || !a4 || (v7 = sub_653147(a2), v7 >= 4) )
  27. goto LABEL_4;
  28. v9 = (int)(v5 + v7 + 1650);
  29. if ( *(_BYTE *)v9 )
  30. {
  31. v12 = *(_DWORD *)a4;
  32. v23 = *(_DWORD *)a4;
  33. if ( *(_DWORD *)a4 == 1882 )
  34. {
  35. v14 = 0;
  36. }
  37. else
  38. {
  39. if ( *(_DWORD *)a4 == 1994 )
  40. return sub_654757(a2, a4 + 4, v6 - 4);
  41. if ( *(_DWORD *)a4 != 5962 )
  42. {
  43. if ( *(_DWORD *)a4 == 6105 )
  44. {
  45. result = sub_653246(a2, a3, a4 + 4, v6 - 4);
  46. }
  47. else
  48. {
  49. v13 = (v12 - 1) & 0xF6E;
  50. if ( v13 == 1864 || v13 == 1896 )
  51. {
  52. v19 = 0;
  53. v20 = -1;
  54. v22 = 0;
  55. v17 = (int)off_D61170;
  56. v18 = a4 + 4;
  57. v21 = v6 - 4;
  58. sub_CB2DD2(a2, a3, v12, &v17);
  59. v17 = (int)off_D61170;
  60. result = sub_4069CE(&v17);
  61. }
  62. else
  63. {
  64. result = sub_653D73(a2);
  65. if ( result )
  66. result = sub_624E00(v23, v5, a2, a4, v6);
  67. }
  68. }
  69. return result;
  70. }
  71. v14 = 1;
  72. }
  73. return sub_6531E2(a2, a4 + 4, v6 - 4, v14);
  74. }
  75. *(_BYTE *)v9 = 1;
  76. v10 = sub_A3D160("WORLD OF WARCRAFT CONNECTION - SERVER TO CLIENT");
  77. if ( sub_A3D9B2(a4, "WORLD OF WARCRAFT CONNECTION - SERVER TO CLIENT", v10) )
  78. {
  79. LABEL_4:
  80. sub_653B4C(a2, 3);
  81. return sub_9577B0(a2);
  82. }
  83. v11 = sub_A3D160("WORLD OF WARCRAFT CONNECTION - CLIENT TO SERVER") + 1;
  84. sub_A3D560(&v15, "WORLD OF WARCRAFT CONNECTION - CLIENT TO SERVER", v11);
  85. v18 = (int)&v15;
  86. v19 = 0;
  87. v20 = v11;
  88. v21 = 4;
  89. v22 = 0;
  90. sub_9574FE(&v18, 1);
  91. return sub_53A7AF(
  92. v19,
  93. (int)"d:\\buildserver\\wow\\5\\work\\wow-code\\branches\\wow-patch-6_0_3-branch-fastpatch-1\\wow\\source\\wowservices\\PacketPipe.h",
  94. 34,
  95. 0);
  96. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement