// HiiFormActions - decompiled from Platform.efi
__int64 __fastcall HiiFormActions(char *ZeroPool, _QWORD *a2)
{
__int64 v2; // rbx
UINTN Length; // r8
_BYTE SourceBuffer[1512]; // [rsp+30h] [rbp-5E8h] BYREF
__int64 n1495; // [rsp+620h] [rbp+8h] BYREF
if ( ZeroPool && a2 )
{
*a2 = ZeroPool; /*0x1e19*/
n1495 = 1495; /*0x1e32*/
v2 = (*(__int64 (__fastcall **)(__int64, char *, _BYTE *, __int64 *, _QWORD *))(qword_FE68 + 32))( /*0x1e59*/
qword_FE68,
ZeroPool,
SourceBuffer,
&n1495,
a2);
DebugPrint(0x40u, "%s: mHiiConfigRouting->ConfigToBlock() returns: %r.\n", "PchRcRouteConfig", v2);
if ( v2 >= 0 ) /*0x1e64*/
{
CopyMem(&SourceBuffer_, SourceBuffer, 0x5D7u); /*0x1e7a*/
return RegisterHiiPackage(&SourceBuffer__3, (unsigned __int64)SourceBuffer, Length); /*0x1e8b*/
}
else
{
return v2; /*0x1e66*/
}
}
else
{
DebugPrint(0x80000000, "Error!! PchRcRouteConfig () - Invalid Parameters\n"); /*0x1ea0*/
DebugPrint(0x80000000, "\nASSERT_EFI_ERROR (Status = %r)\n", 0x8000000000000002uLL); /*0x1ebb*/
Assert( /*0x1ed3*/
(__int64)"e:\\hs\\PurleyRpPkg\\Platform\\Dxe\\Setup\\SetupPlatform.c",
1725,
(__int64)"!EFI_ERROR (((RETURN_STATUS)(0x8000000000000000ULL | (2))))");
return 0x8000000000000002uLL; /*0x1ed8*/
}
}