WheaSelLogErrorPkt

VOID __stdcall WheaSelLogErrorPkt(INT64 a1){
  _DWORD *v1; 
  int v2; 
  char *v3; 
  int v4; 
  int v5; 
  __int64 *p_Src; 
  int v7; 
  __int128 v8; 
  int v9; 
  size_t v10; 
  __int64 v11; 
  int v12; 
  __int64 v13; 
  int v14; 
  __int64 Src; 
  int v16; 
  __int128 v17; 
  int v18; 

  v1 = *(_DWORD **)(a1 + 32);
  v11 = 0i64;
  v12 = 0;
  v13 = 0i64;
  v2 = v1[14];
  v3 = (char *)v1 + (unsigned int)v1[16];
  v14 = 0;
  v18 = 0;
  Src = 0i64;
  v16 = 0;
  v17 = 0i64;
  v4 = v2 - 1;
  if( !v4 )
  {
    p_Src = &Src;
    Src = *((_QWORD *)v3 + 5);
    v16 = *((_DWORD *)v3 + 9);
LABEL_8:
    v10 = 12;
    goto LABEL_9;
  }
  v5 = v4 - 2;
  if( v5 )
  {
    if( v5 == 1 )
    {
      p_Src = &v13;
      v7 = *((_DWORD *)v3 + 2);
      v13 = *(_QWORD *)v3;
      v14 = v7;
    }
    else
    {
      p_Src = &v11;
      LODWORD(v11) = v1[7];
      HIDWORD(v11) = v1[5];
      v12 = v1[3];
    }
    goto LABEL_8;
  }
  v8 = *(_OWORD *)(v3 + 24);
  v9 = *((_DWORD *)v3 + 2);
  p_Src = (__int64 *)&v17;
  v10 = 20;
  v18 = v9;
  v17 = v8;
LABEL_9:
  WheapLogIpmiSELEvent(p_Src, v10);
}

Referenced by:

WheaSelLogEvent