//
// SRP_VBASE_get_by_user from 0x105e040 to 0x105e0c0 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0xf1a38
//
// 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 SRP_VBASE_get_by_user(_QWORD *a1, const char *a2)
{
int v4; // w19
const char **v5; // x21
bool v6; // cc
__int64 v7; // x1
v4 = 0;
if ( a1 )
{
while ( 1 )
{
v6 = v4 < (int)OPENSSL_sk_num(*a1);
v7 = (unsigned int)v4++;
if ( !v6 )
break;
v5 = (const char **)OPENSSL_sk_value(*a1, v7);
if ( !strcmp(*v5, a2) )
return v5;
}
}
return nullptr;
}