TtmiLogQueueDequeueEvent

INT64 TtmiLogQueueDequeueEvent(void){
  INT64 result; 
  int *v1; 
  __int64 v2; 
  int v3; 
  __int64 v4; 
  int *v5; 
  struct _EVENT_DATA_DESCRIPTOR v6; 
  __int64 *v7; 
  __int64 v8; 
  __int64 *v9; 
  __int64 v10; 
  int *v11; 
  __int64 v12; 
  if( (unsigned int)dword_140D2C8E8 > 5 )
  {
    LOBYTE(result) = tlgKeywordOn((__int64)&dword_140D2C8E8, 1i64);
    if( (_BYTE)result )
    {
      v5 = v1;
      v7 = &v4;
      v4 = v2;
      v9 = (__int64 *)&v5;
      v3 = *v1;
      v8 = 8i64;
      v11 = &v3;
      v10 = 8i64;
      v12 = 4i64;
      LODWORD(result) = tlgWriteTransfer_EtwWriteTransfer(
                          (__int64)&dword_140D2C8E8,
                          (unsigned __int8 *)byte_14002A67B,
                          0i64,
                          0i64,
                          5u,
                          &v6);
    }
  }
  return result;
}

Referenced by:

TtmiRetrieveEventFromQueue