HaliInitializePlatformDebugTriggers

VOID __fastcall HaliInitializePlatformDebugTriggers(INT64 a1, INT64 a2, WCHAR a3){
  __int64 v3; 
  unsigned int v4; 
  unsigned int v5; 
  __int64 v6; 
  __int64 v7; 
  unsigned int v8; 
  struct _UNICODE_STRING DestinationString; 
  DestinationString = 0i64;
  RtlInitUnicodeString(&DestinationString, L"\\DosDevices\\ACPI_ROOT_OBJECT", a3);
  v3 = PdttTable;
  v4 = 0;
  if( PdttTable )
  {
    v5 = 0;
    v6 = PdttTable + *(unsigned int *)(PdttTable + 40);
    if( *(_BYTE *)(PdttTable + 36) )
    {
      do
      {
        v7 = v5++;
        *(_QWORD *)(136 * v7 + qword_140C507E8) = v6;
        v6 += 2i64;
        v8 = *(unsigned __int8 *)(v3 + 36);
      }
      while( v5 < v8 );
      if( (_BYTE)v8 )
      {
        do
        {
          HalpAcquirePccInterface(
            **(_BYTE **)(136i64 * v4 + qword_140C507E8),
            &DestinationString,
            (void *)(136i64 * v4 + qword_140C507E8 + 8));
          ++v4;
        }
        while( v4 < *(unsigned __int8 *)(v3 + 36) );
      }
    }
  }
}

Referenced by:

No references.