SdbpGetPathCustomSdbPreRS3
INT64 __fastcall SdbpGetPathCustomSdbPreRS3(WCHAR *a1, UINT64 a2, const WCHAR *a3, INT16 *a4){
wchar_t *v8;
int ProcessHostGuestArchitectures;
unsigned int v10;
const CHAR *v11;
UINT64 v12;
const WCHAR *v13;
int v14;
__int16 v15[2];
__int16 v16;
wchar_t pszSrc[8];
__int128 v18[2];
wchar_t v19[264];
wcscpy(pszSrc, L"Custom");
v18[0] = *(_OWORD *)L"Custom\\Custom64";
v18[1] = *(_OWORD *)L"ustom64";
if( a2 < 7 )
return 3221225507i64;
v16 = -1;
*a1 = 0;
v8 = pszSrc;
v19[0] = 0;
v15[0] = -1;
ProcessHostGuestArchitectures = SdbpGetProcessHostGuestArchitectures(&v16, v15, a4);
v10 = ProcessHostGuestArchitectures;
if( ProcessHostGuestArchitectures >= 0 )
{
if( v15[0] == 9 || v15[0] == 12 )
v8 = (wchar_t *)v18;
v13 = &word_14001B020;
if( a3 )
v13 = a3;
ProcessHostGuestArchitectures = AslPathCombine(v8, (__int64)v13, v19, 0x104ui64);
v10 = ProcessHostGuestArchitectures;
if( ProcessHostGuestArchitectures >= 0 )
return(unsigned int)SdbpGetPathAppPatch(a1, a2, v19);
v11 = "AslPathCombine failed [%x]";
v12 = 1161i64;
}
else
{
v11 = "SdbpGetProcessHostGuestArchitectures failed [%x]";
v12 = 1147i64;
}
v14 = ProcessHostGuestArchitectures;
AslLogCallPrintf(1ui64, "SdbpGetPathCustomSdbPreRS3", v12, v11, v14);
return v10;
}Referenced by:
No references.