PopWakeSourceSize

__int64 __fastcall PopWakeSourceSize(__int64 a1){
  unsigned int v1; 
  __int64 result; 
  _QWORD *v3; 
  v1 = *(_DWORD *)(a1 + 16);
  result = 0i64;
  if( !v1 )
    return *(unsigned __int16 *)(a1 + 24) + 10i64;
  if( v1 == 1 )
    return 12i64;
  if( v1 > 3 )
  {
    if( v1 != 4 )
      return result;
    return 12i64;
  }
  v3 = *(_QWORD **)(a1 + 24);
  if( v3 )
    return *v3 + 8i64;
  else
    return 48i64;
}

Referenced by:

PopCopyWakeSource
PopGetWakeSource