PiPnpRtlObjectEventCompareObjects
RTL_GENERIC_COMPARE_RESULTS __stdcall PiPnpRtlObjectEventCompareObjects(
RTL_AVL_TABLE *Table,
PVOID FirstStruct,
PVOID SecondStruct){
__int64 v3;
__int64 v4;
__int64 v5;
unsigned int v6;
int v7;
const wchar_t *v8;
const wchar_t *v9;
const wchar_t *v10;
const wchar_t *v11;
int v12;
v3 = *(_QWORD *)SecondStruct;
if( *(_QWORD *)FirstStruct == *(_QWORD *)SecondStruct )
return 2;
v4 = *(_QWORD *)(*(_QWORD *)FirstStruct + 8i64);
v5 = *(_QWORD *)(v3 + 8);
v6 = *(_DWORD *)(v4 + 24);
if( v6 > *(_DWORD *)(v5 + 24) )
return 1;
if( v6 >= *(_DWORD *)(v5 + 24) )
{
v7 = *(_DWORD *)(v4 + 28);
if( v7 >= *(_DWORD *)(v5 + 28) )
{
if( v7 > *(_DWORD *)(v5 + 28) )
return 1;
v8 = *(const wchar_t **)(v5 + 16);
v9 = *(const wchar_t **)(v4 + 16);
v10 = v8 + 4;
v11 = v9 + 4;
if( v7 != 3 )
v10 = v8;
if( v7 != 3 )
v11 = v9;
v12 = wcsicmp(v11, v10);
if( v12 >= 0 )
{
if( v12 <= 0 )
return 2;
return 1;
}
}
}
return 0;
}Referenced by:
No references.