SdbpGetPathCustomSdb

__int64 __fastcall SdbpGetPathCustomSdb(wchar_t *a1, size_t a2, const WCHAR *a3){
  const WCHAR *v6; 
  int v7; 
  unsigned int v8; 
  int v9; 
  wchar_t pszSrc[16]; 
  wchar_t v11[264]; 
  wcscpy(pszSrc, L"\\CustomSDB");
  if( a2 < 0xB )
    return 3221225507i64;
  v6 = &word_14001B020;
  *a1 = 0;
  v11[0] = 0;
  if( a3 )
    v6 = a3;
  v7 = AslPathCombine(pszSrc, (__int64)v6, v11, 0x104ui64);
  v8 = v7;
  if( v7 >= 0 )
  {
    return(unsigned int)SdbpGetPathAppPatch(a1, a2, v11);
  }
  else
  {
    v9 = v7;
    AslLogCallPrintf(1ui64, "SdbpGetPathCustomSdb", 0x44Aui64, "AslPathCombine failed [%x]", v9);
  }
  return v8;
}

Referenced by:

No references.