PopLogPowerRequestAction

INT64 __fastcall PopLogPowerRequestAction(INT8 *psz, INT64 a2){
  INT64 result; 
  const WCHAR *v3; 
  int v4; 
  int v5; 
  int v6; 
  int v7; 
  struct _EVENT_DATA_DESCRIPTOR v8; 
  char v9[16]; 
  char v10[16]; 
  int *v11; 
  int v12; 
  int v13; 
  int *v14; 
  int v15; 
  int v16; 
  if( a2 )
    result = *(_QWORD *)(a2 + 144);
  if( (unsigned int)dword_140C021E8 > 5 )
  {
    tlgCreate1Sz_char((__int64)v9, psz);
    tlgCreate1Sz_wchar_t((__int64)v10, v3);
    v13 = 0;
    v16 = 0;
    v11 = &v6;
    v12 = 4;
    v14 = &v7;
    v15 = 4;
    v6 = v4;
    v7 = v5;
    LODWORD(result) = tlgWriteTransfer_EtwWriteTransfer(
                        (__int64)&dword_140C021E8,
                        (unsigned __int8 *)byte_140028D58,
                        0i64,
                        0i64,
                        6u,
                        &v8);
  }
  return result;
}

Referenced by:

PdcPoPowerRequestBlockingCallback
PopStatsCreatePowerRequest
PopStatsDeletePowerRequest
PopStatsMarkPowerRequestActive
PopStatsMarkPowerRequestInactive
PopStatsNotifyPowerRequestCsState