//
// SRP_check_known_gN_param from 0x105cff8 to 0x105d084 (140 bytes)
//
// 2 xrefs:
// > srp_verify_server_param @ 0xfdaebc
// > ??> @ 0xa4c80
//
// 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:48 +0000
//
char *__fastcall SRP_check_known_gN_param(__int64 *a1, __int64 *a2)
{
__int64 v4; // x20
char **i; // x19
if ( !a1 || !a2 )
return nullptr;
v4 = 0;
for ( i = &off_15523A8; (unsigned int)BN_cmp((__int64 *)i[1], a1) || (unsigned int)BN_cmp((__int64 *)i[2], a2); i += 3 )
{
if ( ++v4 == 7 )
return nullptr;
}
return (&off_15523A8)[3 * v4];
}