ViScatterGatherCallback

VOID __fastcall ViScatterGatherCallback(
        _DEVICE_OBJECT *DeviceObject,
        _IRP *Irp,
        _SCATTER_GATHER_LIST *ScatterGather,
        VOID *Context){
  __int64 v4; 
  __int64 v9; 
  v4 = *((_QWORD *)Context + 7);
  ADD_MAP_REGISTERS(v4, ScatterGather->NumberOfElements, 1);
  *((_QWORD *)Context + 8) = ScatterGather;
  ExInterlockedInsertHeadList((PLIST_ENTRY)(v4 + 56), (PLIST_ENTRY)((char *)Context + 72), (PKSPIN_LOCK)(v4 + 72));
  v9 = *((_QWORD *)Context + 12);
  if( v9 )
  {
    *(_QWORD *)(v9 + 48) = ScatterGather->Reserved;
    ScatterGather->Reserved = -559026163i64;
  }
  (*((void(__fastcall **)(_DEVICE_OBJECT *, _IRP *, _SCATTER_GATHER_LIST *, _QWORD))Context + 1))(
    DeviceObject,
    Irp,
    ScatterGather,
    *(_QWORD *)Context);
}

Referenced by:

No references.