Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unsigned __int8 *__cdecl sub_68EC0640(_DWORD *a1, int a2)
- {
- int v2; // esi@1
- unsigned __int8 *result; // eax@4
- unsigned __int8 v4; // al@3
- char v5; // al@20
- char v6; // al@23
- char v7; // al@28
- int v8; // [esp+0h] [ebp-38h]@8
- int v9; // [esp+4h] [ebp-34h]@31
- const char *v10; // [esp+8h] [ebp-30h]@31
- const char *v11; // [esp+Ch] [ebp-2Ch]@31
- int v12; // [esp+10h] [ebp-28h]@31
- v2 = *(unsigned __int16 *)(a2 + 8);
- if ( v2 == 1102 )
- {
- sub_690714C0(a1, *(_DWORD *)(a2 + 12));
- }
- else if ( v2 == 1134 )
- {
- v4 = sub_68EB97F0(a1);
- sub_69070D40(a1, 0, v4);
- }
- result = (unsigned __int8 *)a1[3];
- if ( result )
- {
- if ( !result[27] && !result[25] )
- {
- _InterlockedOr((volatile signed __int32 *)&v8, 0);
- result = (unsigned __int8 *)result[12];
- if ( !(_BYTE)result )
- {
- switch ( v2 )
- {
- case 1101:
- return (unsigned __int8 *)sub_68EC01E0(a1);
- case 1102:
- if ( a1[5] != *(_DWORD *)(a2 + 12) )
- return result;
- sub_68EB9AB0(a1);
- goto LABEL_18;
- case 1103:
- return (unsigned __int8 *)sub_68EB9AB0(a1);
- case 1104:
- sub_68EBB360(a1);
- goto LABEL_13;
- case 1105:
- result = (unsigned __int8 *)sub_68EB9860(a1);
- break;
- case 1108:
- case 1109:
- result = (unsigned __int8 *)sub_68EBB100(a1);
- break;
- case 1110:
- result = (unsigned __int8 *)sub_68EBAFE0(a1);
- break;
- case 1111:
- v8 = a1[3];
- v7 = input_GetItem(v8);
- result = (unsigned __int8 *)sub_69071580(a1, v7);
- break;
- case 1112:
- result = (unsigned __int8 *)a1[3];
- if ( result && !result[27] && !result[25] )
- {
- _InterlockedOr((volatile signed __int32 *)&v8, 0);
- result = (unsigned __int8 *)result[12];
- }
- break;
- case 1113:
- v6 = input_GetItem(a1[3]);
- sub_69071500(a1, v6);
- sub_68EBEFA0(a1);
- LABEL_18:
- result = (unsigned __int8 *)sub_68EBF2B0(a1);
- break;
- case 1114:
- LABEL_13:
- result = (unsigned __int8 *)sub_68EBEFA0(a1);
- break;
- case 1115:
- v8 = a1[3];
- v5 = input_GetItem(v8);
- result = (unsigned __int8 *)sub_69071540(a1, v5);
- break;
- case 1116:
- result = (unsigned __int8 *)sub_69071200(a1);
- break;
- case 1117:
- result = (unsigned __int8 *)sub_68EBAF30(a1);
- break;
- case 1118:
- result = (unsigned __int8 *)sub_690711D0(a1);
- break;
- case 1119:
- result = (unsigned __int8 *)sub_68EBAEB0(a1);
- break;
- case 1120:
- result = (unsigned __int8 *)sub_68EBAE30(a1);
- break;
- case 1125:
- result = (unsigned __int8 *)sub_68EBB0C0(a1);
- break;
- case 1126:
- result = (unsigned __int8 *)sub_68EB9590(a1);
- break;
- case 1127:
- v11 = "got P2PHlsStreamsCmd_Type event";
- v9 = 3;
- v10 = "qt4";
- ((void (__cdecl *)(_DWORD, signed int, const char *, const char *))msg_Generic)(
- a1[2],
- 3,
- "qt4",
- "got P2PHlsStreamsCmd_Type event");
- result = (unsigned __int8 *)sub_68EBE530(a1);
- break;
- case 1129:
- result = (unsigned __int8 *)sub_68EBAD80(a1);
- break;
- default:
- v12 = v2;
- v11 = "This shouldn't happen: %i";
- v10 = "qt4";
- v9 = 2;
- msg_Generic(a1[2], 2, "qt4", "This shouldn't happen: %i");
- assert("0", "../../../../vlc-1.1.12/modules/gui/qt4/input_manager.cpp", 332);
- return result;
- }
- }
- }
- }
- return result;
- }
Add Comment
Please, Sign In to add comment