RtlpMuiRegResizeLanguageConfigList
_QWORD *__fastcall RtlpMuiRegResizeLanguageConfigList(UINT16 *a1, INT64 a2){
signed int v2;
UINT8 *v3;
UINT8 *v4;
int v6;
int v7;
__int64 v8;
LODWORD(v8) = 0;
v2 = 4;
if( (int)a2 >= 1 )
v2 = a2;
v3 = 0i64;
if( a1 )
{
if( v2 >= a1[2] )
{
v4 = SafeReallocBlob((ULONG_PTR)a1, 0x10u, v2, 0xCu, v6, v7, (__int64)&v8);
v3 = v4;
if( v4 )
{
*(_DWORD *)v4 = v8;
*((_QWORD *)v4 + 1) = v4 + 16;
*((_WORD *)v4 + 3) = v2;
}
}
}
return v3;
}Referenced by:
RtlpMuiRegConfigListAddLanguage