RtlLookupFirstMatchingElementGenericTableAvl
VOID *__stdcall RtlLookupFirstMatchingElementGenericTableAvl(_RTL_AVL_TABLE *Table, VOID *Buffer, VOID **RestartKey){
VOID *v3;
_RTL_BALANCED_LINKS *v8;
_RTL_BALANCED_LINKS *v9;
_RTL_BALANCED_LINKS *v10;
_RTL_BALANCED_LINKS *v11;
VOID *v12;
_RTL_SPLAY_LINKS **v13;
_RTL_BALANCED_LINKS *Links;
*RestartKey = 0i64;
Links = 0i64;
if( FindNodeOrParent((_RTL_GENERIC_TABLE *)Table, Buffer, (_RTL_SPLAY_LINKS **)&Links, v3, v12, v13) != TableFoundNode )
return 0i64;
v8 = Links;
do
{
v9 = v8;
v10 = v8;
v11 = RealPredecessor(v8);
v8 = v11;
}
while( v11 && Table->CompareRoutine(Table, Buffer, &v11[1]) == GenericEqual );
*RestartKey = v10;
return &v9[1];
}Referenced by:
No references.