Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char __thiscall NetClient__OneMessageReady(void *this, int a2, int a3, int a4, signed int a5)
- {
- void *v5; // ebx@1
- signed int v6; // edi@1
- signed int v7; // eax@3
- char result; // al@4
- int v9; // eax@6
- int v10; // eax@7
- int v11; // esi@8
- int v12; // eax@9
- int v13; // ecx@13
- signed int v14; // [sp-4h] [bp-12Ch]@19
- char v15; // [sp+10h] [bp-118h]@8
- void *v16; // [sp+10Ch] [bp-1Ch]@1
- int v17; // [sp+110h] [bp-18h]@17
- int v18; // [sp+114h] [bp-14h]@8
- int v19; // [sp+118h] [bp-10h]@8
- int v20; // [sp+11Ch] [bp-Ch]@8
- int v21; // [sp+120h] [bp-8h]@8
- int v22; // [sp+124h] [bp-4h]@8
- int v23; // [sp+13Ch] [bp+14h]@9
- v6 = a5;
- v5 = this;
- v16 = this;
- if ( a5 < 4 || !a4 || (v7 = sub_653147(a2), v7 >= 4) )
- goto LABEL_4;
- v9 = (int)(v5 + v7 + 1650);
- if ( *(_BYTE *)v9 )
- {
- v12 = *(_DWORD *)a4;
- v23 = *(_DWORD *)a4;
- if ( *(_DWORD *)a4 == 1882 )
- {
- v14 = 0;
- }
- else
- {
- if ( *(_DWORD *)a4 == 1994 )
- return sub_654757(a2, a4 + 4, v6 - 4);
- if ( *(_DWORD *)a4 != 5962 )
- {
- if ( *(_DWORD *)a4 == 6105 )
- {
- result = sub_653246(a2, a3, a4 + 4, v6 - 4);
- }
- else
- {
- v13 = (v12 - 1) & 0xF6E;
- if ( v13 == 1864 || v13 == 1896 )
- {
- v19 = 0;
- v20 = -1;
- v22 = 0;
- v17 = (int)off_D61170;
- v18 = a4 + 4;
- v21 = v6 - 4;
- sub_CB2DD2(a2, a3, v12, &v17);
- v17 = (int)off_D61170;
- result = sub_4069CE(&v17);
- }
- else
- {
- result = sub_653D73(a2);
- if ( result )
- result = sub_624E00(v23, v5, a2, a4, v6);
- }
- }
- return result;
- }
- v14 = 1;
- }
- return sub_6531E2(a2, a4 + 4, v6 - 4, v14);
- }
- *(_BYTE *)v9 = 1;
- v10 = sub_A3D160("WORLD OF WARCRAFT CONNECTION - SERVER TO CLIENT");
- if ( sub_A3D9B2(a4, "WORLD OF WARCRAFT CONNECTION - SERVER TO CLIENT", v10) )
- {
- LABEL_4:
- sub_653B4C(a2, 3);
- return sub_9577B0(a2);
- }
- v11 = sub_A3D160("WORLD OF WARCRAFT CONNECTION - CLIENT TO SERVER") + 1;
- sub_A3D560(&v15, "WORLD OF WARCRAFT CONNECTION - CLIENT TO SERVER", v11);
- v18 = (int)&v15;
- v19 = 0;
- v20 = v11;
- v21 = 4;
- v22 = 0;
- sub_9574FE(&v18, 1);
- return sub_53A7AF(
- v19,
- (int)"d:\\buildserver\\wow\\5\\work\\wow-code\\branches\\wow-patch-6_0_3-branch-fastpatch-1\\wow\\source\\wowservices\\PacketPipe.h",
- 34,
- 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement