PopGetPowerRequestDiagnosticBuffer

NTSTATUS __stdcall PopGetPowerRequestDiagnosticBuffer(INT64 a1, UINT64 *a2, UINT64 *a3){
  int v3; 
  __int64 *i; 

  v3 = a1;
  for( i = (__int64 *)*(&stru_140C23628 + 757); ; i = (__int64 *)*i )
  {
    if( i == (__int64 *)((char *)&stru_140C23628 + 6056) )
      return -1073741275;
    if( *((_DWORD *)i + 7) == v3 )
      break;
  }
  return PoStoreDiagnosticContext(
           (_DIAGNOSTIC_CONTEXT *)i[10],
           (_DIAGNOSTIC_BUFFER *)a2,
           a3,
           (UINT8)&stru_140C23628 + 6056);
}

Referenced by:

PopUmpoSendPowerRequestCreate