sub_1405D1CA0

INT64 __fastcall sub_1405D1CA0(INT64 a1, _QWORD *a2){
  int v4; 
  v4 = WbAlloc(0x50ui64);
  if( v4 >= 0 )
  {
    memset(0i64, 0i64);
    MEMORY[0] = 1i64;
    MEMORY[8] = 0i64;
    MEMORY[0x10] = 0i64;
    MEMORY[0x18] = *(_DWORD *)(a1 + 8);
    MEMORY[0x20] = *(_QWORD *)a1;
    *a2 = 0i64;
  }
  sub_1405D2184(0i64);
  return(unsigned int)v4;
}

Referenced by:

WbGetWarbirdEncryptionSegment