//
// SRP_VBASE_get_by_user from 0x837e4c to 0x837eb8 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x6678c
//
// 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
//
const char **__fastcall SRP_VBASE_get_by_user(_DWORD *a1, const char *a2)
{
int v4; // r4
const char **v5; // r6
int v6; // r0
int v7; // r1
if ( !a1 )
return nullptr;
v4 = 0;
do
{
v6 = OPENSSL_sk_num(*a1);
v7 = v4;
if ( v4 >= v6 )
return nullptr;
++v4;
v5 = (const char **)OPENSSL_sk_value(*a1, v7);
}
while ( strcmp(*v5, a2) );
return v5;
}