//
// SRP_get_default_gN from 0x8370f8 to 0x8371f4 (252 bytes)
//
// 6 xrefs:
// > SSL_set_srp_server_param_pw @ 0x7b58dc
// > SRP_VBASE_init @ 0x837ac0
// > SRP_VBASE_init @ 0x837d24
// > SRP_VBASE_init @ 0x837dd4
// > SRP_create_verifier @ 0x83851c
// > ??> @ 0x5dafc
//
// 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
//
char **__fastcall SRP_get_default_gN(char *a1)
{
int v2; // r3
if ( !a1 )
return &off_AC0E5C;
if ( !strcmp(off_AC0E5C, a1) )
{
v2 = 0;
}
else if ( !strcmp(off_AC0E68, a1) )
{
v2 = 1;
}
else if ( !strcmp(off_AC0E74, a1) )
{
v2 = 2;
}
else if ( !strcmp(off_AC0E80, a1) )
{
v2 = 3;
}
else if ( !strcmp(off_AC0E8C, a1) )
{
v2 = 4;
}
else if ( !strcmp(off_AC0E98, a1) )
{
v2 = 5;
}
else
{
if ( strcmp(off_AC0EA4, a1) )
return nullptr;
v2 = 6;
}
return &(&off_AC0E5C)[3 * v2];
}