HalMatchAcpiOemId
__int64 __fastcall HalMatchAcpiOemId(__int64 a1, __int64 a2, __int64 a3, int a4){
unsigned int v5;
INT64 Table;
INT8 v7;
INT8 v8;
struct _STRING DestinationString;
STRING String1;
char SourceString[4];
__int16 v13;
char v14;
v5 = 1;
DestinationString = 0i64;
String1 = 0i64;
if( a4 == 2 )
{
if( *(_QWORD *)a3 )
{
if( *(_QWORD *)(a3 + 8) )
{
Table = HalpAcpiGetTable(0i64);
if( Table )
{
v14 = 0;
*(_DWORD *)SourceString = *(_DWORD *)(Table + 10);
v13 = *(_WORD *)(Table + 14);
RtlInitAnsiString(&DestinationString, SourceString, v7);
RtlInitAnsiString(&String1, *(PCSZ *)(a3 + 8), v8);
return RtlEqualString(&String1, &DestinationString, 1u) != 0 ? 2 : 0;
}
}
}
}
return v5;
}Referenced by:
No references.