//
// sub_105D96C from 0x105d96c to 0x105da3c (208 bytes)
//
// 1 xrefs:
// > sub_105DA3C @ 0x105da98
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:16:49 +0000
//
const char **__fastcall sub_105D96C(char *a1)
{
const char **result; // x0
const char **v3; // x19
int v4; // w22
const char *v5; // x0
unsigned __int64 *v6; // x2
_BYTE v7[2504]; // [xsp+48h] [xbp+48h] BYREF
result = (const char **)CRYPTO_malloc(&word_10, (__int64)"crypto/srp/srp_vfy.c", 270);
v3 = result;
if ( result )
{
v4 = sub_105D338(v7, a1);
if ( (v4 & 0x80000000) == 0 )
{
v5 = CRYPTO_strdup(a1, (__int64)"crypto/srp/srp_vfy.c", 279);
*v3 = v5;
if ( v5 )
{
v6 = BN_bin2bn(v7, v4, 0);
v3[1] = (const char *)v6;
result = v3;
if ( v6 )
return result;
CRYPTO_free((void *)*v3, (__int64)"crypto/srp/srp_vfy.c", 285);
}
}
CRYPTO_free(v3, (__int64)"crypto/srp/srp_vfy.c", 287);
return nullptr;
}
return result;
}