//
// sub_83772C from 0x83772c to 0x8377f0 (196 bytes)
//
// 1 xrefs:
// > sub_837808 @ 0x837860
//
// 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
//
void **__fastcall sub_83772C(char *a1)
{
void **v2; // r4
int v3; // r8
void *v4; // r0
int *v5; // r0
_DWORD v7[625]; // [sp+4h] [bp-9C4h] BYREF
v2 = (void **)CRYPTO_malloc(byte_8, (int)"crypto/srp/srp_vfy.c", 270);
if ( v2 )
{
v3 = sub_8373B0(v7, a1);
if ( v3 >= 0 )
{
v4 = CRYPTO_strdup(a1, (int)"crypto/srp/srp_vfy.c", 279);
*v2 = v4;
if ( v4 )
{
v5 = BN_bin2bn(v7, v3, nullptr);
v2[1] = v5;
if ( v5 )
return v2;
CRYPTO_free(*v2, (int)"crypto/srp/srp_vfy.c", 285);
}
}
CRYPTO_free(v2, (int)"crypto/srp/srp_vfy.c", 287);
}
return nullptr;
}