PopDiagTraceFxComponentResidency

VOID __stdcall PopDiagTraceFxComponentResidency(INT64 a1, INT64 a2, INT64 a3){
  REGHANDLE v3; 
  INT64 v4; 
  _EVENT_DATA_DESCRIPTOR UserData; 
  int *v6; 
  int v7; 
  int v8; 
  INT64 *v9; 
  int v10; 
  int v11; 
  int v12; 
  INT64 v13; 

  v13 = a3;
  v12 = a2;
  v4 = a1;
  PopFxAddLogEntry(a1, a2, 10, a3);
  if( PopDiagHandleRegistered )
  {
    v3 = PopDiagHandle;
    if( EtwEventEnabled(PopDiagHandle, &POP_ETW_EVENT_COMPONENT_RESIDENCY) )
    {
      UserData.Reserved = 0;
      v8 = 0;
      v11 = 0;
      UserData.Ptr = (unsigned __int64)&v4;
      UserData.Size = 8;
      v6 = &v12;
      v9 = &v13;
      v10 = 8;
      v7 = 4;
      EtwWriteEx(v3, &POP_ETW_EVENT_COMPONENT_RESIDENCY, 0i64, 1u, 0, 0, 3u, &UserData);
    }
  }
}

Referenced by:

PoFxSetComponentResidency