//
// sub_DDF574 from 0xddf574 to 0xddf62c (184 bytes)
//
// 1 xrefs:
// > SRP_VBASE_init @ 0xddfb20
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_DDF574(unsigned __int64 **a1, __int64 *a2, char *a3, char *a4)
{
int v7; // w1
unsigned __int64 *v8; // x0
int v9; // w1
unsigned __int64 *v10; // x0
_BYTE v12[2504]; // [xsp+38h] [xbp+38h] BYREF
*a2 = 0;
*a1 = nullptr;
v7 = sub_DDEFF8(v12, a4);
if ( (v7 & 0x80000000) == 0 )
{
v8 = BN_bin2bn(v12, v7, 0);
*a2 = (__int64)v8;
if ( v8 )
{
v9 = sub_DDEFF8(v12, a3);
if ( (v9 & 0x80000000) == 0 )
{
v10 = BN_bin2bn(v12, v9, 0);
*a1 = v10;
if ( v10 )
return 1;
}
BN_free(*a2);
*a2 = 0;
}
}
return 0;
}