TtmiLogDisplayPowerRequestSet
CHAR __stdcall TtmiLogDisplayPowerRequestSet(INT64 a1, INT64 a2, INT64 a3, INT64 a4){
void **v4;
int v5;
int v6;
int v7;
int v8;
NTSTATUS ProcessSessionId;
NTSTATUS v11;
int v12;
int v13;
int v14;
int v15;
_EVENT_DATA_DESCRIPTOR v16;
int *v17;
int v18;
int v19;
int *v20;
int v21;
int v22;
int *v23;
int v24;
int v25;
int *v26;
int v27;
int v28;
int *v29;
int v30;
int v31;
void *retaddr;
v4 = &retaddr;
v5 = a4;
v6 = a3;
v7 = a2;
v8 = a1;
if( (unsigned int)dword_140D2C8E8 > 5 )
{
LOBYTE(v4) = tlgKeywordOn((__int64)&dword_140D2C8E8, 1i64);
if( (_BYTE)v4 )
{
ProcessSessionId = PsGetProcessSessionIdEx((INT64)KeGetCurrentThread()->ApcState.Process);
v19 = 0;
v22 = 0;
v25 = 0;
v28 = 0;
v31 = 0;
v11 = ProcessSessionId;
v17 = &v11;
v20 = &v12;
v23 = &v13;
v26 = &v14;
v29 = &v15;
v18 = 4;
v21 = 4;
v24 = 4;
v27 = 4;
v30 = 4;
v12 = v8;
v13 = v7;
v14 = v6;
v15 = v5;
LOBYTE(v4) = tlgWriteTransfer_EtwWriteTransfer(
(__int64)&dword_140D2C8E8,
(unsigned __int8 *)byte_14002B127,
0i64,
0i64,
7u,
&v16);
}
}
return(char)v4;
}Referenced by:
TtmiSetDisplayPowerRequest